Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Measure twice, cut once.


computers / comp.sys.raspberry-pi / Re: RPi 4 USB boot without SD card

SubjectAuthor
* RPi 4 USB boot without SD cardMarco Moock
+* Re: RPi 4 USB boot without SD cardThe Natural Philosopher
|`* Re: RPi 4 USB boot without SD cardtumppiw
| `- Re: RPi 4 USB boot without SD cardMarco Moock
+- Re: RPi 4 USB boot without SD cardJim Jackson
+* Re: RPi 4 USB boot without SD cardJoe
|`- Re: RPi 4 USB boot without SD cardMarco Moock
`* Re: RPi 4 USB boot without SD cardAnssi Saari
 +* Re: RPi 4 USB boot without SD cardThe Natural Philosopher
 |`* Re: RPi 4 USB boot without SD cardTheo
 | `* Re: RPi 4 USB boot without SD cardThe Natural Philosopher
 |  `- Re: RPi 4 USB boot without SD cardTheo
 `- Re: RPi 4 USB boot without SD cardMarco Moock

1
RPi 4 USB boot without SD card

<trohf9$2htap$6@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6241&group=comp.sys.raspberry-pi#6241

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo01@posteo.de (Marco Moock)
Newsgroups: comp.sys.raspberry-pi
Subject: RPi 4 USB boot without SD card
Date: Sun, 5 Feb 2023 16:20:09 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <trohf9$2htap$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Sun, 5 Feb 2023 15:20:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b16f914cd80bb7b0ceff23bd246cd8f8";
logging-data="2684249"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ryX3MQFsVmxkjOUu2/oc+"
Cancel-Lock: sha1:xJVjWd3671bGthk+fqBG4FDsTAI=
 by: Marco Moock - Sun, 5 Feb 2023 15:20 UTC

Hallo,
I bought the following board:

bootloader: a5e1b95f
board: b03111 2cde1136

I created an USB flash with Debian for RPi 4, but it doesn't boot. It
tries to find the SD card (I don't have on). Is it possible to switch
on USB booting without having an SD card?
It offers TFTP booting, I could set up a TFTP server and DHCP.
Is it possible to boot via TFTP without the SD card?

--
Gruß
Marco

Re: RPi 4 USB boot without SD card

<troid8$2iikl$4@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6242&group=comp.sys.raspberry-pi#6242

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: Sun, 5 Feb 2023 15:36:08 +0000
Organization: A little, after lunch
Lines: 23
Message-ID: <troid8$2iikl$4@dont-email.me>
References: <trohf9$2htap$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 5 Feb 2023 15:36:08 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="22c205506544314410e6a733569d8fe2";
logging-data="2706069"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zIFbrvGGWXbb1BJ9j0CYZdNHEQODlFfE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:LREcddksY1fX27TbYmMPSCJ9//U=
In-Reply-To: <trohf9$2htap$6@dont-email.me>
Content-Language: en-GB
 by: The Natural Philosop - Sun, 5 Feb 2023 15:36 UTC

On 05/02/2023 15:20, Marco Moock wrote:
> Hallo,
> I bought the following board:
>
> bootloader: a5e1b95f
> board: b03111 2cde1136
>
> I created an USB flash with Debian for RPi 4, but it doesn't boot. It
> tries to find the SD card (I don't have on). Is it possible to switch
> on USB booting without having an SD card?
I believe it should work on a USB 2 port without need for an SD card.

> It offers TFTP booting, I could set up a TFTP server and DHCP.
> Is it possible to boot via TFTP without the SD card?
>
I have no idea.

--
If I had all the money I've spent on drink...
...I'd spend it on drink.

Sir Henry (at Rawlinson's End)

Re: RPi 4 USB boot without SD card

<slrnttvpj2.4ki.jj@iridium.wf32df>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6243&group=comp.sys.raspberry-pi#6243

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jj@franjam.org.uk (Jim Jackson)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: Sun, 5 Feb 2023 17:24:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <slrnttvpj2.4ki.jj@iridium.wf32df>
References: <trohf9$2htap$6@dont-email.me>
Injection-Date: Sun, 5 Feb 2023 17:24:50 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="f15c7c2cdc242f163f1e4e8bd99ee274";
logging-data="2753514"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dcQEudZGTXkSJKsW9cprKf7atMk7RBnk="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:/6P44IpXqkgz6JdXYBpnfcz1w8E=
 by: Jim Jackson - Sun, 5 Feb 2023 17:24 UTC

On 2023-02-05, Marco Moock <mo01@posteo.de> wrote:
> Hallo,
> I bought the following board:
>
> bootloader: a5e1b95f
> board: b03111 2cde1136
>
> I created an USB flash with Debian for RPi 4, but it doesn't boot. It
> tries to find the SD card (I don't have on). Is it possible to switch
> on USB booting without having an SD card?
> It offers TFTP booting, I could set up a TFTP server and DHCP.
> Is it possible to boot via TFTP without the SD card?

My advice is always to try booting in the most supported way first -
that is with PiOS on an SD card. That proves the Pi works. I've had a
duff Pi4 board. I got it replaced.

Move on after that.

Re: RPi 4 USB boot without SD card

<trqdf0$30d1a$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6244&group=comp.sys.raspberry-pi#6244

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tumppiw@gmail.com (tumppiw)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: Mon, 6 Feb 2023 10:23:58 +0200
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <trqdf0$30d1a$1@dont-email.me>
References: <trohf9$2htap$6@dont-email.me> <troid8$2iikl$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 6 Feb 2023 08:24:00 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="0813c92307e5bf88f2bd61929c00273e";
logging-data="3159082"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OCeZuhKIPGBj5wlkfGXca"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:4r07uvnezTejR/mhfiUOUJ8Du/w=
In-Reply-To: <troid8$2iikl$4@dont-email.me>
Content-Language: en-US
 by: tumppiw - Mon, 6 Feb 2023 08:23 UTC

The Natural Philosopher kirjoitti 5.2.2023 klo 17.36:
> On 05/02/2023 15:20, Marco Moock wrote:
>> Hallo,
>> I bought the following board:
>>
>> bootloader: a5e1b95f
>> board: b03111 2cde1136
>>
>> I created an USB flash with Debian for RPi 4, but it doesn't boot. It
>> tries to find the SD card (I don't have on). Is it possible to switch
>> on USB booting without having an SD card?
> I believe it should work on a USB 2 port without need for an SD card.

Boots fine from USB3 also
>
>> It offers TFTP booting, I could set up a TFTP server and DHCP.
>> Is it possible to boot via TFTP without the SD card?
>>
> I have no idea.
>

How to Boot Raspberry Pi 4 / 400 From a USB SSD or Flash Drive
https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb

--
-----------------------------------------------------
Thomas Wendell
Helsinki, Finland
Translation to/from FI/SWE not always accurate
-----------------------------------------------------

Re: RPi 4 USB boot without SD card

<trqidt$2v9rv$9@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6245&group=comp.sys.raspberry-pi#6245

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo01@posteo.de (Marco Moock)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: Mon, 6 Feb 2023 10:48:45 +0100
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <trqidt$2v9rv$9@dont-email.me>
References: <trohf9$2htap$6@dont-email.me>
<troid8$2iikl$4@dont-email.me>
<trqdf0$30d1a$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 6 Feb 2023 09:48:45 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="8ff5f659a847acb62d5122c28f8a9582";
logging-data="3123071"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ynR7VICUOnQuIK8sZLAYl"
Cancel-Lock: sha1:Cyq+2wrfQZubD8VJ4htdW/ReI/w=
 by: Marco Moock - Mon, 6 Feb 2023 09:48 UTC

Am 06.02.2023 um 10:23:58 Uhr schrieb tumppiw:

> How to Boot Raspberry Pi 4 / 400 From a USB SSD or Flash Drive
> https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb

Although that article only show a method that needs an SD card - I
currently don't have one.

Re: RPi 4 USB boot without SD card

<rtp1uhtfo2lr5vl6sgoevsgh0rhg9gnk3j@4ax.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6246&group=comp.sys.raspberry-pi#6246

  copy link   Newsgroups: comp.sys.raspberry-pi
From: none@nowhere.whereo (Joe)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: Mon, 06 Feb 2023 11:45:12 +0000
Reply-To: none@nowhere.whereo
Message-ID: <rtp1uhtfo2lr5vl6sgoevsgh0rhg9gnk3j@4ax.com>
References: <trohf9$2htap$6@dont-email.me>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe004.abavia.com!abp001.abavia.com!news.kpn.nl!not-for-mail
Lines: 17
Injection-Date: Mon, 06 Feb 2023 12:45:13 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1452
 by: Joe - Mon, 6 Feb 2023 11:45 UTC

On Sun, 5 Feb 2023 16:20:09 +0100, Marco Moock <mo01@posteo.de> wrote:

>Hallo,
>I bought the following board:
>
>bootloader: a5e1b95f
>board: b03111 2cde1136
>
>I created an USB flash with Debian for RPi 4, but it doesn't boot. It
>tries to find the SD card (I don't have on). Is it possible to switch
>on USB booting without having an SD card?
>It offers TFTP booting, I could set up a TFTP server and DHCP.
>Is it possible to boot via TFTP without the SD card?

Mine "cat /sys/firmware/devicetree/base/model" says Pi4 Model B, rev 1.5 booted straight from SSD on USB-3 port. Created bootable
SSD (Samsung T7) with Raspberry pi imager. Al my other pi (4's and some 3's) work the same.

Re: RPi 4 USB boot without SD card

<trr1b2$32pj5$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6247&group=comp.sys.raspberry-pi#6247

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo01@posteo.de (Marco Moock)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: Mon, 6 Feb 2023 15:03:14 +0100
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <trr1b2$32pj5$1@dont-email.me>
References: <trohf9$2htap$6@dont-email.me>
<rtp1uhtfo2lr5vl6sgoevsgh0rhg9gnk3j@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 6 Feb 2023 14:03:14 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="8ff5f659a847acb62d5122c28f8a9582";
logging-data="3237477"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yJ7tIqwAZeUh0wyDO2CO7"
Cancel-Lock: sha1:4m1OWy/anjkbWtTOH59huQZc5XY=
 by: Marco Moock - Mon, 6 Feb 2023 14:03 UTC

Am 06.02.2023 um 11:45:12 Uhr schrieb Joe:

> Created bootable SSD (Samsung T7) with Raspberry pi imager

I also did that, it still tries to boot from SD card.

My other Pi 3 B did directly boot from USB without modification.

Re: RPi 4 USB boot without SD card

<sm0pmalrcn0.fsf@lakka.kapsi.fi>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6248&group=comp.sys.raspberry-pi#6248

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: as@sci.fi (Anssi Saari)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: Tue, 07 Feb 2023 12:30:27 +0200
Organization: An impatient and LOUD arachnid
Lines: 18
Message-ID: <sm0pmalrcn0.fsf@lakka.kapsi.fi>
References: <trohf9$2htap$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="0d2475e6b1c49ce05b6acafd4b72cdaa";
logging-data="3711964"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sHgbZA90/XyBB/VIS9zyV"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:HwslTHWnUZBIPz1BRd0rncdFLgs=
sha1:rI9cFY6TDxR3lVKooKRygdWlnnA=
 by: Anssi Saari - Tue, 7 Feb 2023 10:30 UTC

Marco Moock <mo01@posteo.de> writes:

> I created an USB flash with Debian for RPi 4, but it doesn't boot. It
> tries to find the SD card (I don't have on). Is it possible to switch
> on USB booting without having an SD card?

Might be difficult. AFAIK, The inability to boot from USB might be due
to bootloader being too old or boot order set to something not including
USB boot. Kinda need to boot Linux from SD to fix either. Assuming it
actually boots from SD, since as far as you've said, it's never booted
from anything?

> It offers TFTP booting, I could set up a TFTP server and DHCP.
> Is it possible to boot via TFTP without the SD card?

I guess it depends on what you mean by "it offers"? Again AFAIK, network
boot is one option in the boot order. If enabled then it should work if
you have the servers running.

Re: RPi 4 USB boot without SD card

<trta6r$3mpnt$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6249&group=comp.sys.raspberry-pi#6249

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: Tue, 7 Feb 2023 10:46:51 +0000
Organization: A little, after lunch
Lines: 34
Message-ID: <trta6r$3mpnt$1@dont-email.me>
References: <trohf9$2htap$6@dont-email.me> <sm0pmalrcn0.fsf@lakka.kapsi.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 7 Feb 2023 10:46:51 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="299df70ea0507e089311529d5f74c15e";
logging-data="3892989"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18d4aEoctPcWtLgp6TiPtjFp5ABCYaOEUM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:QARQn5sS3ci1MTEShUNv+Gxb4D4=
In-Reply-To: <sm0pmalrcn0.fsf@lakka.kapsi.fi>
Content-Language: en-GB
 by: The Natural Philosop - Tue, 7 Feb 2023 10:46 UTC

On 07/02/2023 10:30, Anssi Saari wrote:
> Marco Moock <mo01@posteo.de> writes:
>
>> I created an USB flash with Debian for RPi 4, but it doesn't boot. It
>> tries to find the SD card (I don't have on). Is it possible to switch
>> on USB booting without having an SD card?
>
> Might be difficult. AFAIK, The inability to boot from USB might be due
> to bootloader being too old or boot order set to something not including
> USB boot. Kinda need to boot Linux from SD to fix either. Assuming it
> actually boots from SD, since as far as you've said, it's never booted
> from anything?
>
>> It offers TFTP booting, I could set up a TFTP server and DHCP.
>> Is it possible to boot via TFTP without the SD card?
>
> I guess it depends on what you mean by "it offers"? Again AFAIK, network
> boot is one option in the boot order. If enabled then it should work if
> you have the servers running.

Does a PI have some sort of flash RAM in it then that can emulate BIOS
NVRAM?

I cant recall ever being able to do any of this except via the boot
partition files on the SD card.

I assumed that USB disk boot was 'burned in' to the firmware.

--
Any fool can believe in principles - and most of them do!

Re: RPi 4 USB boot without SD card

<trtdbf$3fc5u$17@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6250&group=comp.sys.raspberry-pi#6250

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo01@posteo.de (Marco Moock)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: Tue, 7 Feb 2023 12:40:31 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <trtdbf$3fc5u$17@dont-email.me>
References: <trohf9$2htap$6@dont-email.me>
<sm0pmalrcn0.fsf@lakka.kapsi.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 7 Feb 2023 11:40:31 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="8205f475896a0beb0605d136e16e31f6";
logging-data="3649726"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rk2cw3rhwzv7iElQUyl/x"
Cancel-Lock: sha1:ZxkQOEJODEn/vrvwMWjsokZt8UM=
 by: Marco Moock - Tue, 7 Feb 2023 11:40 UTC

Am 07.02.2023 um 12:30:27 Uhr schrieb Anssi Saari:

> Marco Moock <mo01@posteo.de> writes:
>
> > I created an USB flash with Debian for RPi 4, but it doesn't boot.
> > It tries to find the SD card (I don't have on). Is it possible to
> > switch on USB booting without having an SD card?
>
> Might be difficult. AFAIK, The inability to boot from USB might be due
> to bootloader being too old or boot order set to something not
> including USB boot. Kinda need to boot Linux from SD to fix either.
> Assuming it actually boots from SD, since as far as you've said, it's
> never booted from anything?

I bought it used on eBay. I never managed it to boot into an operating
system.

> > It offers TFTP booting, I could set up a TFTP server and DHCP.
> > Is it possible to boot via TFTP without the SD card?
>
> I guess it depends on what you mean by "it offers"? Again AFAIK,
> network boot is one option in the boot order. If enabled then it
> should work if you have the servers running.

I see options for DHCPv4 (including TFTP server address etc.) when I
switch it on, but it doesn't seem to use DHCPv4 (I have it, but no DNS
and no TFP options set).

Re: RPi 4 USB boot without SD card

<JJl*a5j+y@news.chiark.greenend.org.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6251&group=comp.sys.raspberry-pi#6251

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!callisto.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: 07 Feb 2023 16:14:59 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <JJl*a5j+y@news.chiark.greenend.org.uk>
References: <trohf9$2htap$6@dont-email.me> <sm0pmalrcn0.fsf@lakka.kapsi.fi> <trta6r$3mpnt$1@dont-email.me>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="15376"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-20-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Tue, 7 Feb 2023 16:14 UTC

The Natural Philosopher <tnp@invalid.invalid> wrote:
> Does a PI have some sort of flash RAM in it then that can emulate BIOS
> NVRAM?

Pi 4 has EEPROM which contains the boot firmware. If you can boot it (with
an SD card perhaps) you can update the EEPROM to the latest version.

I'd guess some of the NVRAM settings can be written to the EEPROM, but not
sure what does.

> I assumed that USB disk boot was 'burned in' to the firmware.

Pi 3 doesn't have an EEPROM. Some (but not all) versions of them have USB
boot available in their revision of the boot ROM, and you can blow an e-fuse
to (irreversibly) enable it.

Theo

Re: RPi 4 USB boot without SD card

<trtu69$3qeag$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6252&group=comp.sys.raspberry-pi#6252

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: Tue, 7 Feb 2023 16:27:53 +0000
Organization: A little, after lunch
Lines: 26
Message-ID: <trtu69$3qeag$2@dont-email.me>
References: <trohf9$2htap$6@dont-email.me> <sm0pmalrcn0.fsf@lakka.kapsi.fi>
<trta6r$3mpnt$1@dont-email.me> <JJl*a5j+y@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 7 Feb 2023 16:27:53 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="299df70ea0507e089311529d5f74c15e";
logging-data="4012368"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ADowvjVQNCrp0iZick81POpcS3pwPUQg="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:b/uBf/W+OyoCWOd4zJC1HwCoU6I=
In-Reply-To: <JJl*a5j+y@news.chiark.greenend.org.uk>
Content-Language: en-GB
 by: The Natural Philosop - Tue, 7 Feb 2023 16:27 UTC

On 07/02/2023 16:14, Theo wrote:
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>> Does a PI have some sort of flash RAM in it then that can emulate BIOS
>> NVRAM?
>
> Pi 4 has EEPROM which contains the boot firmware. If you can boot it (with
> an SD card perhaps) you can update the EEPROM to the latest version.
>
> I'd guess some of the NVRAM settings can be written to the EEPROM, but not
> sure what does.
>
Hang on..NVRAM *is* EEPROM...

>> I assumed that USB disk boot was 'burned in' to the firmware.
>
> Pi 3 doesn't have an EEPROM. Some (but not all) versions of them have USB
> boot available in their revision of the boot ROM, and you can blow an e-fuse
> to (irreversibly) enable it.
>
Wow. Bit burn-your-bridges, that.

> Theo

--
WOKE is an acronym... Without Originality, Knowledge or Education.

Re: RPi 4 USB boot without SD card

<GJl*2fo+y@news.chiark.greenend.org.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6256&group=comp.sys.raspberry-pi#6256

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RPi 4 USB boot without SD card
Date: 08 Feb 2023 11:22:00 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <GJl*2fo+y@news.chiark.greenend.org.uk>
References: <trohf9$2htap$6@dont-email.me> <sm0pmalrcn0.fsf@lakka.kapsi.fi> <trta6r$3mpnt$1@dont-email.me> <JJl*a5j+y@news.chiark.greenend.org.uk> <trtu69$3qeag$2@dont-email.me>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="4552"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-20-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Wed, 8 Feb 2023 11:22 UTC

The Natural Philosopher <tnp@invalid.invalid> wrote:
> On 07/02/2023 16:14, Theo wrote:
> > The Natural Philosopher <tnp@invalid.invalid> wrote:
> >> Does a PI have some sort of flash RAM in it then that can emulate BIOS
> >> NVRAM?
> >
> > Pi 4 has EEPROM which contains the boot firmware. If you can boot it (with
> > an SD card perhaps) you can update the EEPROM to the latest version.
> >
> > I'd guess some of the NVRAM settings can be written to the EEPROM, but not
> > sure what does.
> >
> Hang on..NVRAM *is* EEPROM...

NVRAM is a high level concept. The implementation can be EEPROM, flash,
FERAM, MRAM, battery-backed SRAM, memristors...

The RPi folks call it EEPROM. I haven't checked the part to confirm if it's
actually EEPROM or some other tech.

(these days flash is generally cheaper than EEPROM, especially if you don't
need single-byte write capability)

> >> I assumed that USB disk boot was 'burned in' to the firmware.
> >
> > Pi 3 doesn't have an EEPROM. Some (but not all) versions of them have USB
> > boot available in their revision of the boot ROM, and you can blow an e-fuse
> > to (irreversibly) enable it.
> >
> Wow. Bit burn-your-bridges, that.

It's not so bad because it's a priority order. Normally boot just goes
straight to the SD. If you enable USB boot, it tries that first before
trying the SD. It's basically like your BIOS boot-order setting that you
can only change once. Unless you're in the habit of having bootable drives
in both SD and USB slots at the same time it shouldn't matter.

Theo

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor