Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Apr 2022 05:57:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 263170] RPi3B+ U-Boot Saveenv fails
Message-ID:  <bug-263170-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263170

            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: freebsd-arm@FreeBSD.org
          Reporter: jollyrogue@dangertoaster.com

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 boot=
ing.

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 f=
ound
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=20=20=20=20
root@arm64-builder.daemonology.net:/usr/obj/usr/src/arm64.aarch64/sys/GENER=
IC=20
arm64
```

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263170-7>