Sujet : Re: Pi2 bootcode.bin puzzle
De : bp (at) *nospam* www.zefox.net
Groupes : comp.sys.raspberry-piDate : 28. Mar 2025, 16:19:00
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vs6el4$3054c$1@dont-email.me>
References : 1 2 3 4
User-Agent : tin/2.6.4-20241224 ("Helmsdale") (FreeBSD/14.2-STABLE (arm64))
Theo <theom+
news@chiark.greenend.org.uk> wrote:
I believe that config.txt is consumed by the GPU-side firmware, which is
start*.elf. bootcode.bin is just enough to be able to load start.elf
and config.txt from storage. I'd guess that if that storage is USB, it's
too early to have read config.txt.
It looks like the path of least resistance is to let FreeBSD boot from
microSD, mount that as root and then mount the USB disk as /usr, with
/var/, /tmp/ and swap mounted from the USB device, either as links
to /usr or maybe as hard partitions.
That worked fine in the very early days of FreeBSD on the Pi2.
There isn't much write activity to the root filesystem in a
"production" environment, only during OS upgrades. If the microSD
is sufficiently oversized it'll last long enough.
I'd hoped bootcode.bin could be upgraded/tuned to boot from a
USB3 disk on a Pi2, but apparently not.
Thanks to everyone for writing!
bob prohaska