TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: BOB PROHASKA
from: THEO
date: 2020-07-08 16:45:00
subject: Re: Talking to u-boot on

bob prohaska  wrote:
> When booting Buster on a Pi3B+ it seems that u-boot finishes
> before there's any chance of text input on the console.
>
> How does one make u-boot pause and accept input so the
> boot can be redirected from microSD to USB when starting
> Buster?

The default Pi boot process uses firmware running on the GPU and loaded from
SD card (except Pi 4 where there's flash ROM), so the ARM isn't operational
until the kernel is loaded.  This isn't u-boot.  It is possible to load a
'kernel' which happens to be the u-boot binary, and then u-boot selects
where to load the next stage from.

AIUI the default Raspbian doesn't use u-boot.  It is possible to put it on
the SD card, in which case it provides a serial console.  For example:
https://andrei.gherzan.ro/linux/uboot-on-rpi/

Once you have u-boot, it's possible to get the kernel from USB or network,
for example via TFTP:
https://www.denx.de/wiki/DULG/Manual
- you would tell u-boot to run a script stored on the SD card.
And then that kernel would boot and have its root fs come from USB or NFS or
whatever.

Theo

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.