Re: Pi2 bootcode.bin puzzle

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Pi2 bootcode.bin puzzle
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.sys.raspberry-pi
Date : 29. Mar 2025, 16:09:14
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vs92eq$1j45e$2@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. :-)
 
It is

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!
 
Yes. and the important bit is that cmdline.txt determines what file system is used to boot it *initially*
e.g.
console=serial0,115200 console=tty1 root=PARTUUID=778a9e44-02 \
rootfstype=ext4 fsck.repair=yes rootwait noswap=1
Note the root=command.
On the USB drive you must  also have the same ID in the /etc/fstab file...
PARTUUID=778a9e44-02  /               ext4    defaults,noatime  0       1
So an SD card boot on PIOS can use a USB drive to finish the boot and mount the root filesystem.
As for BSD, there must be an equivalent file somewhere

Thanks for writing,
 bob prohaska
   
--
For every complex problem there is an answer that is clear, simple, and wrong.
H.L.Mencken

Date Sujet#  Auteur
25 Mar 25 * Pi2 bootcode.bin puzzle24bp
25 Mar 25 +* Re: Pi2 bootcode.bin puzzle6Chris Townley
26 Mar 25 i`* Re: Pi2 bootcode.bin puzzle5bp
27 Mar 25 i `* Re: Pi2 bootcode.bin puzzle4druck
27 Mar 25 i  `* Re: Pi2 bootcode.bin puzzle3Theo
27 Mar 25 i   `* Re: Pi2 bootcode.bin puzzle2druck
28 Mar 25 i    `- Re: Pi2 bootcode.bin puzzle1Theo
25 Mar 25 `* Re: Pi2 bootcode.bin puzzle17Theo
26 Mar 25  `* Re: Pi2 bootcode.bin puzzle16bp
26 Mar 25   `* Re: Pi2 bootcode.bin puzzle15Theo
28 Mar 25    `* Re: Pi2 bootcode.bin puzzle14bp
28 Mar 25     `* Re: Pi2 bootcode.bin puzzle13Chris Elvidge
29 Mar 25      `* Re: Pi2 bootcode.bin puzzle12bp
29 Mar 25       +* Re: Pi2 bootcode.bin puzzle10Mike Scott
29 Mar 25       i`* Re: Pi2 bootcode.bin puzzle9bp
29 Mar 25       i +- Re: Pi2 bootcode.bin puzzle1The Natural Philosopher
29 Mar 25       i +* Re: Pi2 bootcode.bin puzzle5Theo
30 Mar 25       i i`* Re: Pi2 bootcode.bin puzzle4bp
31 Mar 25       i i `* Re: Pi2 bootcode.bin puzzle3bp
31 Mar 25       i i  `* Re: Pi2 bootcode.bin puzzle2The Natural Philosopher
31 Mar 25       i i   `- Re: Pi2 bootcode.bin puzzle1bp
31 Mar 25       i `* Re: Pi2 bootcode.bin puzzle2Mike Scott
31 Mar 25       i  `- Re: Pi2 bootcode.bin puzzle1bp
1 Apr 25       `- Re: Pi2 bootcode.bin puzzle1bp

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal