Re: Pi2 bootcode.bin puzzle

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Pi2 bootcode.bin puzzle
De : theom+news (at) *nospam* chiark.greenend.org.uk (Theo)
Groupes : comp.sys.raspberry-pi
Date : 26. Mar 2025, 00:55:22
Autres entêtes
Organisation : University of Cambridge, England
Message-ID : <cuh*Acn+z@news.chiark.greenend.org.uk>
References : 1 2 3
User-Agent : tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-28-amd64 (x86_64))
bp@www.zefox.net wrote:
Theo <theom+news@chiark.greenend.org.uk> wrote:
bp@www.zefox.net wrote:
Can bootcode.bin pick up any parameters (other than noting the
presence of a timeout file) from any files placed on the microSD?
 
No idea, but one problem I've had in the past is that USB devices can take a
while to initialise, and it varies quite a bit between devices.  This could
be a reason why boots will sometimes fail - especially with eg spinning HDD.
 
Often it was necessary to add an explicit delay so that system didn't try to
read them before they were ready.  I think on Linux the kernel cmdline
options were 'rootwait' and 'rootdelay' but I don't know if bootcode.bin has
any kind of setting like that.
 
I've tried with and without the presence of a timeout file on the
fat32  partition of the microSD, far as I can tell it makes no
difference once things start going wrong. I do use it out of habit.
 
Does bootcode.bin pay any attention to config.txt? I thought it did,
but am not sure it has any effect on USB mass storage boot. The docs
say don't use any extra files on the fat32 partition.

I believe that config.txt is consumed by the GPU-side firmware, which is
start*.elf.  bootcode.bin is just enough to be able to load start.elf
and config.txt from storage.  I'd guess that if that storage is USB, it's
too early to have read config.txt.

Theo

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