Deutsch   English   Français   Italiano  
<vsdho3$3n5s3$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Mike Scott <usenet.16@scottsonline.org.uk.invalid>
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: <vsdho3$3n5s3$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>
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: <vs906i$1gi6b$1@dont-email.me>

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 Scott
Harlow, England