Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Mike Scott Newsgroups: comp.sys.raspberry-pi Subject: Re: Pi2 bootcode.bin puzzle Date: Mon, 31 Mar 2025 08:54:43 +0100 Organization: Scott family Lines: 65 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 31 Mar 2025 09:54:46 +0200 (CEST) Injection-Info: dont-email.me; posting-host="fa04f41a0a5ee5bb64bb153fda852330"; logging-data="3905411"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dNph3w49vtwL5YE7iNSUQZKjvLE0cR+A=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:iGXPD0xgtrfSU6Kq573bHZgoOgA= Content-Language: en-US In-Reply-To: On 29/03/2025 14:30, bp@www.zefox.net wrote: > Mike Scott 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! > I've just looked at what's on mine: root@kirk:/ # df /boot/msdos/ Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/msdosfs/MSDOSBOOT 51096 25084 26012 49% /boot/msdos root@kirk:/ # ls /boot/msdos/ EFI bcm2710-rpi-3-b-plus.dtb fixup.dat fixup_db.dat start4db.elf LICENCE.broadcom bcm2710-rpi-3-b.dtb fixup4.dat fixup_x.dat start4x.elf README bcm2711-rpi-4-b.dtb fixup4cd.dat overlays start_cd.elf armstub8-gic.bin bootcode.bin fixup4db.dat start.elf start_db.elf armstub8.bin config.txt fixup4x.dat start4.elf start_x.elf bcm2710-rpi-2-b.dtb dtb fixup_cd.dat start4cd.elf u-boot.bin So I seem to be running with no cmdline.txt. Boots happily off the attached usb drive, no sdcard. But I stand corrected. > Thanks for writing, > > bob prohaska > > -- Mike Scott Harlow, England