PINE64

Full Version: Is it possible to choose between SD/eMMC boot programmatically?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello! I would like to dual-boot two distros on Pinebook, e.g. one on eMMC + one on microSD, but apparently, microSD takes the priority and as long as it's inserted - will boot first. Removing/reinserting SD just to force eMMC boot is inconvenient for me (very short nails, need to find something to push SD) and would be unwanted stress on SD slot. Is there a way to choose eMMC boot from u-boot?
(01-27-2019, 03:13 AM)UltraBloxX Wrote: [ -> ]Is there a way to choose eMMC boot from u-boot?

Yes ! With Armbian u-boot, stop u-boot early to get into command prompt, then use the following commands :


Code:
mmc list
setenv devnum X   (where X is the eMMC number shown in previous list)
run mmc_boot
(01-27-2019, 09:01 AM)martinayotte Wrote: [ -> ]
(01-27-2019, 03:13 AM)UltraBloxX Wrote: [ -> ]Is there a way to choose eMMC boot from u-boot?

Yes ! With Armbian u-boot, stop u-boot early to get into command prompt, then use the following commands :


Code:
mmc list
setenv devnum X   (where X is the eMMC number shown in previous list)
run mmc_boot

martinayotte, huge thanks!  Smile