Booting from USB on RPi3
Mason Loring Bliss
mason at blisses.org
Fri Oct 25 21:41:49 UTC 2019
I posted this to freebsd-arm a couple days ago, but didn't get any bites.
Apologies for the crosspost, but I'm hoping someone here's familiar with the
code:
I'm struggling with how to boot FreeBSD 12 directly from a hard drive on an
RPi3b+, with no MMC card. It happens automatically with a Raspbian image, and
I got Devuan to boot this way by changing the right pointers in config.txt,
but I'm struggling to figure out how to do it on FreeBSD. I'm not sure what
dictates the boot behaviour.
No matter what I try, I seem to fail through to the system trying to netboot.
I read this thread:
https://forums.freebsd.org/threads/booting-raspberry-pi-3-from-usb.71798/
...and that had me try changing fstab to point to the hard drive directly, but
that didn't work - the kernel hasn't loaded at that point - and there was the
notion of adding these to loader.conf:
vfs.mountroot.timeout="15"
vfs.mountfrom="ufs:/dev/da0s2a"
...but those seem not to be helping.
The bit that's frustrating is that clearly I'm starting the FreeBSD
bootloader, as seen here:
https://wiki.freebsd.org/MasonLoringBliss?action=AttachFile&do=get&target=rpi-boot.jpg
How do I tell it to look at da0, either as a one-shot or persistently?
(Preferably both!) In exchange for help, I'll document the process, complete
with (better) screenshots, for the wiki.
Thanks!
--
Mason Loring Bliss mason at blisses.org
They also surf, who only stand on waves.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20191025/1169d75b/attachment.sig>
More information about the freebsd-hackers
mailing list