Deutsch   English   Français   Italiano  
<102q7kl$1th2s$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: bp@www.zefox.net
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: U-boot for FreeBSD on Raspberry Pi
Date: Mon, 16 Jun 2025 22:59:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <102q7kl$1th2s$2@dont-email.me>
Injection-Date: Tue, 17 Jun 2025 00:59:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="eca03ef8385ef8b0a72902d1a6f5826a";
	logging-data="2016348"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/HpMnM5nC0C81yxAPqX069jrgsX18eDKg="
User-Agent: tin/2.6.4-20241224 ("Helmsdale") (FreeBSD/14.2-STABLE (arm64))
Cancel-Lock: sha1:5kCY6uyE0xdq0NZsPAFdJo51PMQ=

For the last few years I've been using FreeBSD on Raspberry Pi
2, 3 and 4 computers. As it happens, U-boot is employed to 
bootstrap the systems and until recently it worked acceptably.

Lately, it's been necessary to tune u-boot via an environment
variable called usb_pgood_delay to ensure successful USB hard
disk detection. Older versions of u-boot could save environment 
variables to the FAT partition, so it was a one time change. 

Lately, the version of U-boot furnished as part of the installer image
and also (naturally) the ports system omits the environment save command.
On issuing the "saveenv" command the system reports 
...."saving to FAT failed". 

Does anybody on this group use u-boot and have insights into what might
be done to fix the problem? There's a huge amount of literature online
regarding u-boot but very little that pertains to making "saving to FAT"
work correctly.

Thanks for reading,

bob prohaska