Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2021 13:28:33 -0700
From:      Mark Millard via freebsd-arm <freebsd-arm@freebsd.org>
To:        William Carson <freebsd@dsllsn.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Boot from USB on RPi4 8GB?
Message-ID:  <74691529-DD54-4E3E-B2FA-B504620E6F18@yahoo.com>
In-Reply-To: <2F58272B-BD9C-464B-9A98-BF638971BA86@dsllsn.net>
References:  <4F3EE8D2-649B-4522-AD5A-7C308291802F@dsllsn.net> <43FAEEAC-EE36-4810-88AA-FF82AFBCC128@yahoo.com> <2F58272B-BD9C-464B-9A98-BF638971BA86@dsllsn.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2021-May-30, at 10:59, William Carson via freebsd-arm <freebsd-arm at =
freebsd.org> wrote:

Thank you for the quick and thorough reply!

>> . . .
>=20
>> What does:
>>=20
>> # rpi-eeprom-config=20
>> [all]
>> BOOT_UART=3D0
>> WAKE_ON_GPIO=3D1
>> POWER_OFF_ON_HALT=3D0
>> DHCP_TIMEOUT=3D45000
>> DHCP_REQ_TIMEOUT=3D4000
>> TFTP_FILE_TIMEOUT=3D30000
>> ENABLE_SELF_UPDATE=3D1
>> DISABLE_HDMI=3D0
>> BOOT_ORDER=3D0xf41
>>=20
>> report in your context? (An equivalent command is
>> "vcgencmd bootloader_config". I show example output
>> above.)
>=20
> root@raspberrypi:~# rpi-eeprom-config
> [all]
> BOOT_UART=3D0
> WAKE_ON_GPIO=3D1
> POWER_OFF_ON_HALT=3D0
>=20

That looks like an old default is still in place.

What my output showed is the modern default they ship
with as I understand. You may want to update.

If you want more debug output from the RPi4B firmware,
you could use:

BOOT_UART=3D1

I normally do. I've just not gotten around to updating
that specific device yet. That goes along with using:

enable_uart=3D1
uart_2ndstage=3D1
dtdebug=3D1

in config.txt . I use dtoverlay=3Ddisable-bt in config.txt
which causes the better UART to be used for the serial
console. There is also the alternative:
dtoverlay=3Dminiuart-bt

The (or an) explicit BOOT_ORDER in rpi-eeprom-config
might be appropriate as well. I saw no reason to change
or eliminate the others and left them in place on the
other RPi4B's.

=
https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md=


lists the following for config.txt use:

bootcode_delay (default 0, so 0 sec)
boot_delay (default 1, so 1 sec)
boot_delay_ms (default 0, so 0 msec)

It also has notes about uart_2ndstage use and the like.
I've never had to use these but if your device takes a
while to become ready, thse might be able to help.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74691529-DD54-4E3E-B2FA-B504620E6F18>