Sujet : Re: Pi2 bootcode.bin puzzle
De : usenet.16 (at) *nospam* scottsonline.org.uk.invalid (Mike Scott)
Groupes : comp.sys.raspberry-piDate : 31. Mar 2025, 08:54:43
Autres entêtes
Organisation : Scott family
Message-ID : <vsdho3$3n5s3$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Mozilla Thunderbird
On 29/03/2025 14:30, 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!
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 ScottHarlow, England