maintainer-feedback requested: [Bug 287647] sysutils/u-boot-rpi2

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Jun 2025 01:05:22 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-uboot (Nobody)
<uboot@FreeBSD.org> for maintainer-feedback:
Bug 287647: sysutils/u-boot-rpi2
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287647



--- Description ---
The latest u-boot-rpi2 does not enable saving u-boot environment variables
 between sessions. In particular, adjusting the value of usb_pgood_delay is
very
helpful to reliable discovery of USB hard disks for hands-off booting.

At this point, u-boot accepts the change using editenv, applies it successfully
to detecting the USB disk and then refuses to execute saveenv:


U-Boot> editenv usb_pgood_delay
edit: 7500
U-Boot> usb reset
resetting USB...
Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB Device(s)
found
       scanning usb for storage devices... 1 Storage Device(s) found
U-Boot> saveenv
Saving Environment to FAT... Failed (1)
U-Boot> help saveenv
saveenv - save environment variables to persistent storage

Usage:
saveenv


I've looked for and not found instructions for reinstating this feature, which
was available in previous (years ago) u-boot ports for Raspberry Pi by default.

This report is stimulated by 14.3-RC1 for Raspberry Pi armv7, but likely
applies
to any platform that uses FreeBSD's u-boot port.

Thanks for reading,

bob prohaska