Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.raspberry-pi > #38500
| From | Marco Moock <mm@dorfdsl.de> |
|---|---|
| Newsgroups | comp.sys.raspberry-pi |
| Subject | Re: Pi 3B enable USB boot |
| Date | 2026-10-25 16:58 +0100 |
| Organization | keine vorhanden, alles chaotisch |
| Message-ID | <11bl8vn$b6aa$1@solani.org> (permalink) |
| References | (2 earlier) <11bio4h$2srdo$1@dont-email.me> <11birbm$b3b2$1@solani.org> <11bjv3e$39mmj$1@dont-email.me> <11bkfjt$c5u9$1@solani.org> <11bl77a$3n6vj$1@dont-email.me> |
Am 25.10.26 um 16:28 schrieb bp@www.zefox.net: > Marco Moock <mm@dorfdsl.de> wrote: >> Am 25.10.26 um 05:03 schrieb bp@www.zefox.net: >>> Marco Moock <mm@dorfdsl.de> wrote: >>>> Am 24.10.26 um 18:58 schrieb bp@www.zefox.net: >>>>> Marco Moock <mm@dorfdsl.de> wrote: >>>>>> Am 21.10.26 um 20:36 schrieb Marco Moock: >>>>>>> >>>>>>> Although, it still does not boot from the USB thumb device. >>>>>> >>>>>> I now installed RPi OS on the SD card and checked the bit. >>>>>> It is set >>>>>> https://raspberry.tips/en/raspberrypi-tutorials/boot-raspberry-pi-from-usb-ssd-flash-drive-pi-4-5 >>>>>> vcgencmd otp_dump | grep 17: >>>>>> gives 3020000a >>>>>> >>>>>> That means the Pi can boot from USB and it also does. The issue here is >>>>>> related to FreeBSD. >>>>>> >>>>>> I see U-Boot, which seems to be the bootloader used by FreeBSD here. >>>>>> >>>>>> I will ask at the FreeBSD mailing lists about the further issue. >>>>>> >>>>>> Thanks for all the suggestions. >>>>> >>>>> It's worth messing around at the u-boot prompt. If you hit spacebar within the >>>>> two-second uboot timeout you'll get a u-boot prompt, where commands can be >>>>> typed to learn what's going on. >>>>> >>>>> One very useful command sequence is printenv, which lets you see u-boot's >>>>> parameters, and editenv, which lets you change them. >>>>> >>>>> One that I've often tinkered with is usb_pgood_delay, which sets the time >>>>> in milliseconds that u-boot waits before turning on a disk before probing. >>>> >>>> The problem is that it says it does not detect the storage media. >>>> Although the media itself was used to boot. >>> >>> The Pi's bootcode blob starts u-boot but u-boot then fails to notice >>> the hard disk. That's where tweaking things like usb_pgood_delay can >>> help. Hitting spacebar should stop autoboot and give you a >>> u-boot> >>> prompt. >> >> Is my guess right that the Pi can access the USB thumb stick? > > Yes, if I understand what you've done, it boots RasPiOS from a > thumb drive so it should boot FreeBSD from the same media. I didn't boot RaspiOS from the USB thumb stick, but I should give it a try. >>>> This seems to be an issue of the FreeBSD image. >>> Yes, but it's likely a configuration problem related >>> to the specifics of your USB hardware. >>> >>>> I asked here: >>>> https://lists.freebsd.org/archives/freebsd-arm/2026-October/006172.html >>> >>> Yes, I just found your post. You may get replies on the list >>> and I suspect the first response will be .... .what kind of storage >>> device and bridge? >> >> I will add some context. >> >>> Mechanical disks can be surprisingly fussy, solid-state storage usually >>> works better for detection. If you have a USB thumb drive that's worth >>> a try. You can also put a bootable microSD card in a usb adapter and >>> try that. If either of those work, it helps to know. If neither works >>> that's bad news. >>> good luck, >> >> I only tried USB thumb devices, no USB- hard disks etc. > > A thumb drive is a good "acid test" of whether a Pi can boot > from USB, but the process is somewhat different between RasPiOS > and FreeBSD: > > On RasPiOS bootcode.bin finds and loads a Linux kernel and starts it. > > On FreeBSD bootcode.bin finds and loads u-boot.bin in place of a kernel, > which then probes for bootable devices and starts that system's loader chain. > That loader chain inherits details from u-boot. > > U-boot's search for devices isn't involved for RasPiOS at all. Thus my > emphasis on reaching a u-boot prompt and looking for tunable parameters. > > I will say that not all FreeBSD images work equally well, sometimes they > don't and it's worth trying a few different examples from microSD first, > then thumb drive and finally an external HDD to feel your way along. Good to know, this confirms that the USB boot is working. -- Gruß Marco Spam bitte an abfalleimer2001@stinkedores.dorfdsl.de
Back to comp.sys.raspberry-pi | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Pi 3B enable USB boot Marco Moock <mm@dorfdsl.de> - 2026-10-21 20:36 +0200
Re: Pi 3B enable USB boot Marckus <news@marckus-kraft.de> - 2026-10-23 12:53 +0200
Re: Pi 3B enable USB boot Marco Moock <mm@dorfdsl.de> - 2026-10-23 16:12 +0200
Re: Pi 3B enable USB boot bp@www.zefox.net - 2026-10-23 17:12 +0000
Re: Pi 3B enable USB boot Marco Moock <mm@dorfdsl.de> - 2026-10-24 08:34 +0200
Re: Pi 3B enable USB boot Theo <theom+news@chiark.greenend.org.uk> - 2026-10-24 12:40 +0100
Re: Pi 3B enable USB boot Marco Moock <mm@dorfdsl.de> - 2026-10-24 15:21 +0200
Re: Pi 3B enable USB boot Theo <theom+news@chiark.greenend.org.uk> - 2026-10-24 16:52 +0100
Re: Pi 3B enable USB boot druck <news@druck.org.uk> - 2026-10-25 17:27 +0000
Re: Pi 3B enable USB boot Marco Moock <mm@dorfdsl.de> - 2026-10-24 16:29 +0200
Re: Pi 3B enable USB boot bp@www.zefox.net - 2026-10-24 16:58 +0000
Re: Pi 3B enable USB boot Marco Moock <mm@dorfdsl.de> - 2026-10-24 19:53 +0200
Re: Pi 3B enable USB boot bp@www.zefox.net - 2026-10-25 04:03 +0000
Re: Pi 3B enable USB boot Marco Moock <mm@dorfdsl.de> - 2026-10-25 09:45 +0100
Re: Pi 3B enable USB boot bp@www.zefox.net - 2026-10-25 15:28 +0000
Re: Pi 3B enable USB boot Marco Moock <mm@dorfdsl.de> - 2026-10-25 16:58 +0100
Re: Pi 3B enable USB boot bp@www.zefox.net - 2026-10-25 16:24 +0000
Re: Pi 3B enable USB boot Marco Moock <mm@dorfdsl.de> - 2026-11-01 15:18 +0100
Re: Pi 3B enable USB boot bp@www.zefox.net - 2026-11-02 17:06 +0000
csiph-web