Is it possible to choose between SD/eMMC boot programmatically?
#1
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?
#2
(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
#3
(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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Booting with TOC0 u-boot -- should it work? dreadbit 0 715 11-24-2022, 10:19 AM
Last Post: dreadbit
  Pinebook with a broken screen and 2 eMMC's for sale. UK ONLY. frank-zappa 0 1,595 03-08-2022, 10:14 AM
Last Post: frank-zappa
  How to transfer customised OS from SDcard to emmc quixote 1 3,039 01-07-2022, 06:38 AM
Last Post: alanwake82
  eMMC backup milkaca 19 26,931 04-08-2020, 07:35 PM
Last Post: adamz
Lightbulb Boot from SD card / boot options lodger 13 23,814 11-26-2019, 07:14 AM
Last Post: tophneal
  eMMC boot linux distros for Pinebook. frank-zappa 14 20,382 09-06-2019, 08:39 AM
Last Post: frank-zappa
  These fell out of my Pinebook when I tried to replace the eMMC. frank-zappa 6 7,837 03-02-2019, 06:51 AM
Last Post: frank-zappa
  [SOLVED] Can't boot when SD card inserted jschall 5 7,639 11-17-2018, 11:53 AM
Last Post: jschall
  Boot from MicroSD ramboton 3 5,314 11-16-2018, 06:04 PM
Last Post: Luke
  Move Installation from SD Card to eMMC? soupbowl 4 8,675 11-10-2018, 10:47 AM
Last Post: acruhl

Forum Jump:


Users browsing this thread: 1 Guest(s)