weird errors on boot
#5
(03-19-2018, 04:49 PM)wirr Wrote: I've had the same issues trying to run any image from emmc (specifically tested with stretch-minimal 0.5.10, 0.5.15 and 0.6.25) on four different 4GB boards. I've flashed the images to SSD using an odroid adapter and also pine64 USB-emmc. With dd (bs=1M) as well as etcher. Bootloader and initrd are loading fine but no rootfs.
The simple solution was to boot from SD-card, write u-boot to SPI flash using ayufans' rock64_write_spi_flash.sh script and then boot again using emmc.
It seems booting from emmc works well if - and only if - u-boot is run from SPI flash.

Except, and it's a big except, isn't the rock64 boot order eMMC -> SPI NOR Flash -> SD card -> USB? As stated on p14 of the chip TRM

So I can appreciate that something might be happening when flashing the SPI, but it sounds like there may still be something wrong with your eMMC/image if it is actually running u-boot from the SPI when you have a properly imaged eMMC installed and the eMMC bypass jumper not fitted.

(03-18-2018, 09:02 PM)Mentaluproar Wrote: I used etcher on my mac with the eMMC to usb adaptor, but I had to insert it multiple times before my mac saw it. Still, it passed etcher's verification read and I tried that method twice.  I am powering it via barrel jack.  I tried mages from both here and github.

Just double check that your version of etcher is up to date... I remember seeing reports that from somewhere around the v1.0.0  to 1.2.1 release where it was fixed that there was an issue with verification not actually verifying properly... but not sure if it affected Mac users or not. 

So it sounds like it shouldn't be the image, as the xz images (i.e. Github) have checksumming so a bad download *should* break the image and prevent it from being written, and etcher *should* be verifying the write, implying it isn't the writing of the image or a failure on the part of the eMMC, else it wouldn't be verifying... 

I'd try what wirr said as it seems to have worked in that instance, but I still think it's covering up some other problem. 

Also, try the armhf image, as last I heard it is still preferred to the arm64 one due to stability and compatibility concerns.

Latest (pre-release, experimental): https://github.com/ayufan-rock64/linux-b...mhf.img.xz

Stable: https://github.com/ayufan-rock64/linux-b...mhf.img.xz
  Reply


Messages In This Thread
weird errors on boot - by Mentaluproar - 03-18-2018, 08:39 PM
RE: weird errors on boot - by pfeerick - 03-18-2018, 08:57 PM
RE: weird errors on boot - by Mentaluproar - 03-18-2018, 09:02 PM
RE: weird errors on boot - by wirr - 03-19-2018, 04:49 PM
RE: weird errors on boot - by pfeerick - 03-19-2018, 07:36 PM
RE: weird errors on boot - by wirr - 03-22-2018, 06:55 AM
RE: weird errors on boot - by Mentaluproar - 03-22-2018, 07:53 PM
RE: weird errors on boot - by pfeerick - 03-23-2018, 04:09 AM
RE: weird errors on boot - by Mentaluproar - 03-23-2018, 05:11 PM
RE: weird errors on boot - by pfeerick - 03-24-2018, 05:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to boot an older, working kernel bits 0 93 11-01-2024, 04:43 PM
Last Post: bits
  problem with debian emmc boot G4zCDzWb 10 1,635 11-01-2024, 04:32 PM
Last Post: bits
  arch rock64 does not boot nemnob 1 960 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  Rock64 won't boot dstallmo 0 636 12-27-2023, 10:34 AM
Last Post: dstallmo
  Disabling last mount time check on boot acwest 0 869 03-03-2023, 09:24 PM
Last Post: acwest
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 6 8,816 06-30-2022, 06:28 PM
Last Post: rookie_267
  my rock64 can't boot rookie_267 0 1,292 06-27-2022, 06:52 PM
Last Post: rookie_267
  Setting a MAC on Rock64 U-Boot kiriakos 2 4,089 03-23-2021, 04:51 AM
Last Post: kiriakos
  Boot from USB 3.0 with hub Turbo 0 2,342 12-20-2020, 02:24 PM
Last Post: Turbo
  i2c0 transfers cause bus errors michaelanburaj 0 1,894 07-14-2020, 02:25 PM
Last Post: michaelanburaj

Forum Jump:


Users browsing this thread: 2 Guest(s)