07-08-2017, 04:51 PM
(This post was last modified: 07-08-2017, 04:53 PM by MarkHaysHarris777.)
(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
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! )
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! )