Re: Boot image for a Pi4 ?

From: Mark Millard <marklmi_at_yahoo.com>
Date: Fri, 05 Jul 2024 04:36:22 UTC
On Jul 4, 2024, at 18:22, bob prohaska <fbsd@www.zefox.net> wrote:

> Can anybody suggest a -release  image to run on a Pi4, 8GB?

RPi4B Rev. 1.4? Rev. 1.5?

Using a Rev 1.5 (so: "C0T", not "B0T") . . .

. . .
FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC arm64
FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)
VT(efifb): resolution 592x448
module scmi already present!
real memory  = 8443125760 (8051 MB)
avail memory = 8208748544 (7828 MB)
. . .

Media: microsd card in the slot. Simple dd to the media.

Serial console context in use, not video.

For video: did you disable the config.txt line:

hdmi_safe=1

? It tends to mess things up for video as I
remember.

> I just tried 14-release and then a 15-current snapshot,
> neither would boot. It looked like something was getting
> stuck on a search for USB devices, none being present. 
> For some reason it wouldn't boot from the microSD card.

Serial console logs of the boot attempts?

> I tried updating the boot firmware using RaspPiOS

I made  no changes of any kind to media --but it is
a serial console context, with Ethernet connected.

But the EEPROM content is recent (and the same is in
all the RPi4B's that I have access to, oldest to
newest):

RPi: BOOTLOADER release VERSION:e608a69d DATE: 2024/04/15 TIME: 14:12:14
BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1713186734 serial c740af3c boardrev d03115 stc 633334

That d03115 indicates, in part, Rev 1.5 .

> and now
> get a more elaborate startup screen, but it seems to offer
> only net- and usb-booting as options. Since microSD has
> long been the default, that seems reasonable. Bookworm
> boots fine from microSD, hands off. 
> 
> In the meantime an older Pi4 has been tracking -current since 
> 2021 without issue, so the recent failure is a real surprise.
> Perhaps significantly, it has aways been booted from USB.

The same 14.1-RELEASE microsd card media also has recently
booted (via being in the relevant slot):

RPi4B Rev. 1.4 "B0T" 8 GiByte (1st boot was here)
RPi4B Rev. 1.1 "B0T" 4 GiByte (about as old as they get)

Any chance you have microsd card media that is for
speed modes that FreeBSD does not actually support?
A from-power-up serial console recording would likely
indicate if such was the case. FreeBSD does not
actually have training/tuning code for modes that
require such to end up in an likely-operational
condition. But the code pretends success without
doing the work (a no-op default that lies about
the result).

===
Mark Millard
marklmi at yahoo.com