Booting - User device selection in U-Boot?
#1
One of the issues that comes up is that we can't easily select what device to boot during startup.
U-Boot does not have that option for us, yet. During testing, I've had to remove and insert the
MicroSD card far too many times. It would be nice if I could leave it installed and force booting
something else.


So, how about something like this?

U-Boot selectable device target:
        - Pause & blink LED, (which one?), for a short time, (5 seconds?)
        - During this time, accept keyboard input
        - Select boot device of:
                - eMMC, (number 1?)
                - MicroSD card, (number 2?)
        - Timeout default using current scheme, MicroSD if installed, eMMC otherwise.

The exact keys for which devices are not really important. And if NVMe or USB booting works fine
then those could be added as well. Plus, allow changing the default boot order at install time, (so
people with NVMes could be a priority over eMMC).

Plus, perhaps having the ESC and Enter keys immediately jump to the default action. So a way to
skip the pause.

As time goes one, perhaps we can add a primitive text menu on the screen.


At present, this idea does not care where U-Boot is installed, (SPI, eMMC, MicroSD card). For
testing, it probably easiest to have it on a eMMC or MicroSD card. This idea is to address which
device we use for "/boot".

So, what does anyone else think?

Perhaps someone has a better idea?

Does using Grub as a target allow boot chaining?
(Meaning a grub menu entry can say go to another device.)
--
Arwen Evenstar
Princess of Rivendale


Messages In This Thread
Booting - User device selection in U-Boot? - by Arwen - 05-16-2020, 01:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad What to can't boot from TF card, EMMC system broken - any advice?do guys? qingss0 1 387 12-18-2025, 01:05 AM
Last Post: qingss0
  Bonk to boot biketool 2 869 10-21-2025, 09:08 AM
Last Post: biketool
  3 days in, slow/stuck or no boot. lgmpbp2 34 21,780 06-11-2025, 08:53 AM
Last Post: lgmpbp2
  upgrading u-boot--what version? where to get it? bsammon 14 13,910 04-03-2025, 07:47 AM
Last Post: Tazdevl
Tongue Yet another Pinebook Pro won't boot thread pinemouth 5 10,401 12-27-2024, 11:38 AM
Last Post: akash3995
  broken tow-boot hashkeeper 1 3,410 12-25-2024, 10:12 PM
Last Post: jessipinkman
  Cant boot into an OS trashtendenz 3 4,514 10-23-2024, 03:49 AM
Last Post: chaylengordon
  Unable to boot? YossiS 4 3,009 09-04-2024, 10:35 AM
Last Post: wdt
  Converting the Pinebook Pro into a CrowView Note like device 8jef 0 1,207 08-18-2024, 05:42 PM
Last Post: 8jef
  uboot wont boot to SD card after upgrade jbradley419 7 6,886 01-19-2024, 02:29 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)