[Bug 263170] RPi3B+ U-Boot Saveenv fails

[email protected]
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263170

            Bug ID: 263170
           Summary: RPi3B+ U-Boot Saveenv fails
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: [email protected]
          Reporter: [email protected]

Short story...

My RPi3+ fails to save my edited u-boot environment.

```
U-Boot> editenv usb_pgood_delay
edit: 10000
U-Boot> saveenv
Saving Environment to FAT... Failed (1)
U-Boot>
```

Any suggestions about what I should look at?

Long story...

I'm trying to get my RPi 3B+ to mount home on an external USB HD, but the
external HD spins down just as the filesystems are being checked. The home dir
on the HD isn't found, and FreeBSD drops down to single user mode. The HD is
found about 3 seconds later, and I can exit single user mode to finish booting.

Weirdly, the swap partition on the HD is found and works without problem.

I switched to an external SSD, and that works fine. home and the swap are found
and mounted without any problems.

I started working throught Bob Prohaska's notes as linked in the FreeBSD Arm
wiki, and that's when I got to the u-boot saveenv problem.

```
% uname -a
FreeBSD gopher 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11 #0: Tue Apr  5
18:58:59 UTC 2022    
[email protected]:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC 
arm64
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.