[Bug 268631] FreeBSD-13.1 fails to boot on raspberry pi and the U-boot saveenv command does not work

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 29 Dec 2022 02:38:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268631

            Bug ID: 268631
           Summary: FreeBSD-13.1 fails to boot on raspberry pi and the
                    U-boot saveenv command does not work
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: jjrushford@gmail.com

I have an issue trying to boot FreeBSD 13.1-RELEASE on a Raspberry Pi Model 3B+
and the same issue on a Raspberry pi 4.  I'm using the
FreeBSD-13.1-RELEASE-arm64-aarch64-RPI.img written to an SD card.  On boot up,
it stops at the U-boot prompt and does not proceed until I enter the command
"boot".  I wish to auto boot FreeBSD without having to intervene with the
"boot" command at the U-boot prompt.  I'm told that if I set "bootdelay=0" at
the U-boot prompt and then save it, that this will solve the issue and so that
FreeBSD boots up when power is supplied.  I've tried to set bootdelay=0 at the
U-boot prompt using:

setenv bootdelay 0
saveenv

the "saveenv" fails to write the change to flash though with an error.  Other
people I've discussed this with on the freebsd forums have said that the
"saveenv" command fails for them as well and they are unable to save changes.

So there are basically two issues that I have:

1) FreeBSD-13.1-RELEASE does not boot up when power is supplied, the boot
sequence stops at the U-boot prompt.
2) The U-boot "saveenv" command fails to write changes to flash

-- 
You are receiving this mail because:
You are the assignee for the bug.