How to install and boot ROCK64 from eMMC?
#2
(07-08-2017, 12:25 PM)kershaw Wrote:
I've looked at both the image installation guide and the wiki but I can't find any instructions that detail booting from the eMMC module.
How do I install the OS images on the eMMC module? is it even possible?

Do you have a Rock64 board?   ... they should start shipping by July end.

... yes, it is possible to boot from the eMMC;  I 'm booting my Rock64 pre release board from the eMMC now.  It is tricky.

We had a gap of images which would not boot from the eMMC due to build errors;  those have been corrected.  Images between 0.2.1 and 0.3.7 will not boot from eMMC.

Also, everything changed between 2 and 3;  

I am testing image 0.3.7 minimal xenial arm64 ArmV8;  running from the eMMC.  Somehow you have to flash the image to the eMMC ;  1) loader,  2) SD copy to eMMC,  3) curl  copy from the network once the SD is booted;  and this is tricky because a jumper is involved which has to be removed at the right point in the boot process.

It helps now that the device names are standard (SD is mmcblk1;  eMMC is mmcblk0).  The resize_rootfs.sh  script has been fixed to be able to expand the SD or the eMMC correctly.  

boot priority:
eMMC--> SPI flash-->  SD card

The board jumper (just north of the recovery button) forces the board to boot from SD card.

By removing the jumper at the right point, you can use the booted SD card image to (curl) load the eMMC image from the network onto the eMMC module;  the trick is that both the mmcblk0 and mmcblk1 devices have to be visible!  If the jumper is not removed at the right point then the eMMC module will not be visible to the kernel and you have to start over.

That's enough for now.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )


Messages In This Thread
RE: How to install and boot ROCK64 from eMMC? - by MarkHaysHarris777 - 07-08-2017, 04:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 2 1,105 04-08-2024, 06:47 AM
Last Post: dmitrymyadzelets
  OpenWRT on the Rock64 CanadianBacon 14 10,764 04-03-2024, 08:48 AM
Last Post: helpmerock
  Rock64 bricked shawwwn 7 7,014 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 6,012 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 741 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  Boot from SPI first mjnck 1 1,930 02-29-2024, 02:12 PM
Last Post: reukiodo
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 2,706 04-29-2023, 04:24 AM
Last Post: newestssd
  Rock64 board not working, no HDMI no Ethernet. EDited 3 4,284 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 2,963 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 1,053 11-28-2022, 02:18 PM
Last Post: Macgyver

Forum Jump:


Users browsing this thread: 12 Guest(s)