Deutsch English Français Italiano |
<vsc32g$23veg$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: bp@www.zefox.net Newsgroups: comp.sys.raspberry-pi Subject: Re: Pi2 bootcode.bin puzzle Date: Sun, 30 Mar 2025 18:38:08 -0000 (UTC) Organization: A noiseless patient Spider Lines: 47 Message-ID: <vsc32g$23veg$1@dont-email.me> References: <vrufnd$3hlnn$1@dont-email.me> <buh*PEl+z@news.chiark.greenend.org.uk> <vrvei8$cssq$1@dont-email.me> <cuh*Acn+z@news.chiark.greenend.org.uk> <vs6el4$3054c$1@dont-email.me> <vs6l35$36j8q$1@dont-email.me> <vs7u18$g2gp$1@dont-email.me> <vs8jj3$15764$1@dont-email.me> <vs906i$1gi6b$1@dont-email.me> <duh*1NG+z@news.chiark.greenend.org.uk> Injection-Date: Sun, 30 Mar 2025 20:38:09 +0200 (CEST) Injection-Info: dont-email.me; posting-host="5b9988713491264d7fa0f0850cca9218"; logging-data="2227664"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1980BfZYxSfiww0T+zhYDnWh8avICassuA=" User-Agent: tin/2.6.4-20241224 ("Helmsdale") (FreeBSD/14.2-STABLE (arm64)) Cancel-Lock: sha1:K8dzpGcUcsE77m6cHXsMpEt6d50= Bytes: 2683 Theo <theom+news@chiark.greenend.org.uk> wrote: > bp@www.zefox.net wrote: >> Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote: >> > On 29/03/2025 04:47, bp@www.zefox.net wrote: >> >> I've yet to figure out what the FreeBSD equivalent to cmdline.txt >> >> is. That might be the key to making your approach work. >> > >> > Fbsd 13.x on a pi4, booting off a usb disk: >> > >> > # cat /boot/msdos//config.txt >> > [all] >> > arm_64bit=1 >> > dtparam=audio=on,i2c_arm=on,spi=on >> > dtoverlay=mmc >> > dtoverlay=disable-bt >> > device_tree_address=0x4000 >> > kernel=u-boot.bin >> > >> > [pi4] >> > hdmi_safe=1 >> > armstub=armstub8-gic.bin >> > >> > >> > At least, I assume that's the equivalent file. :-) >> >> AIUI, config.txt sets up the Pi, cmdline.txt furnishes >> runtime arguments to the kernel when that kernel is >> linux. If this isn't true somebody please correct me! > > Does it show the FreeBSD beastie text-mode screen? > https://docs.freebsd.org/images/books/handbook/virtualization/qemu-freebsd02.png > > In which case you can probably set things up in loader.conf: > https://docs.freebsd.org/en/books/handbook/boot/index.html#boot-loader > > the same way you do on x86. Might it be possible to let the machine boot from microSD to the loader prompt, next re-load the kernel from the USB drive, then start the new kernel and finally mountroot from USB? That seems too easy. I must be missing something. Thanks for writing! bob prohaska