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 1 113 03-18-2024, 06:56 AM
Last Post: diederik
  Rock64 bricked shawwwn 7 5,448 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 3,863 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 254 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  Boot from SPI first mjnck 1 1,452 02-29-2024, 02:12 PM
Last Post: reukiodo
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 1,770 04-29-2023, 04:24 AM
Last Post: newestssd
  OpenWRT on the Rock64 CanadianBacon 12 7,790 04-24-2023, 12:40 PM
Last Post: arunkhan
  Rock64 board not working, no HDMI no Ethernet. EDited 3 3,396 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 1,973 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 703 11-28-2022, 02:18 PM
Last Post: Macgyver

Forum Jump:


Users browsing this thread: 2 Guest(s)