timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 516
Joined: Thu Jun 21, 2018 4:30 pm

Update to default Pi4 bootloader

Thu Apr 23, 2020 4:18 pm

Just to let you know that the current stable (latest beta) release of the Pi4 bootloader is going to made the default image via a critical update next week unless any showstopper (*) bugs are found.

Although this won't make much difference to the normal SD-CARD boot configuration the HDMI diagnostics screen should make support easier because users can attach a picture. It will also allow people who support network boot environments to have a known stable release which works with PiServer or other out of the box configurations.

The APT update should be available later today, so if you want to try this:-

Code: Select all

sudo apt update
sudo apt upgrade
# Check that the latest stable release 2020-04-16 has been installed

ls /lib/firmware/raspberrypi/bootloader/stable

# Edit /etc/default/rpi-eeprom-update and set FIRMWARE_RELEASE_STATUS to "stable"
The rescue image which is used by the Raspberry Pi Imager will also be update to this release https://github.com/raspberrypi/rpi-eep ... .16-137ad . We've uploaded to Github releases for the EEPROM rescue image and the raspberry.org/downloads page will soon point to that instead of providing a direct download.

(*) A showstopper would be failure to boot from SD-CARD or recovery.bin not working or significant regression for TFTP / PiServer.

The beta branch will then be used for USD-MSD test (well, once the last few integrations headaches are resolved anyway!)

lingon
Posts: 157
Joined: Fri Aug 26, 2011 7:31 am

Re: Update to default Pi4 bootloader

Thu Apr 23, 2020 6:20 pm

timg236 wrote:
Thu Apr 23, 2020 4:18 pm
...
The beta branch will then be used for USD-MSD test (well, once the last few integrations headaches are resolved anyway!)
Do you mean with "USD-MSD" USB mass storage devices? I guess there will be a lot of eager beta-testers one you release it.

W. H. Heydt
Posts: 12388
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Update to default Pi4 bootloader

Thu Apr 23, 2020 8:08 pm

timg236 wrote:
Thu Apr 23, 2020 4:18 pm
The beta branch will then be used for USD-MSD test (well, once the last few integrations headaches are resolved anyway!)
I'll take that as good news.

Technocolour
Posts: 120
Joined: Thu Jul 04, 2019 6:23 pm

Re: Update to default Pi4 bootloader

Fri Apr 24, 2020 8:05 pm

Thank you for the information. :)

HiassofT
Posts: 282
Joined: Fri Jun 30, 2017 10:07 pm
Location: Salzburg, Austria
Contact: Website

Re: Update to default Pi4 bootloader

Fri Apr 24, 2020 8:10 pm

I've updated 2 of my main RPi4s to stable pieeprom firmware today and no showstoppers to report so far - both SD card boot and TFTP netboot are still working fine.

so long,

Hias

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 516
Joined: Thu Jun 21, 2018 4:30 pm

Re: Update to default Pi4 bootloader

Fri Apr 24, 2020 8:13 pm

W. H. Heydt wrote:
Thu Apr 23, 2020 8:08 pm
timg236 wrote:
Thu Apr 23, 2020 4:18 pm
The beta branch will then be used for USD-MSD test (well, once the last few integrations headaches are resolved anyway!)
I'll take that as good news.
Hopefully! The basic XHCI / USB 3 stack has been working for a while but as usual, the integration into the rest of the stack and all the quirks always takes a while. Anyway, I've exhausted my supply of legacy USB devices (even the ones in the loft!) so there should be a beta in a couple of weeks. Showstopper (manufacturing) issues are always a risk to release dates, we are a small engineering team, but as soon as it's good enough to be a useful beta we'll share it.

btw: (Nag!) If you are an "advanced user" and are able to test this release candidate then that would be great :)

Technocolour
Posts: 120
Joined: Thu Jul 04, 2019 6:23 pm

Re: Update to default Pi4 bootloader

Fri Apr 24, 2020 8:24 pm

Random story time.

I once needed to find out why one of our devices didn't want to update via the (well hidded) USB port.

Turned out it worked just fine, kind of. It was just that the stick that was used by the testers needed such a long time to boot that our device decided that there was nobody home on the other end.

Sometimes there's lots of bumps in the road for things that seem simple and straight forward enough.

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 516
Joined: Thu Jun 21, 2018 4:30 pm

Re: Update to default Pi4 bootloader

Fri Apr 24, 2020 8:31 pm

HiassofT wrote:
Fri Apr 24, 2020 8:10 pm
I've updated 2 of my main RPi4s to stable pieeprom firmware today and no showstoppers to report so far - both SD card boot and TFTP netboot are still working fine.

so long,

Hias
Thanks!

Great, thanks for the test :)

btw: Test pass reports are just are useful as a test-fail. We don't collect crash (or lack of) reports so it's very difficult to know how many people have installed a given release let alone the config.txt parameters for that release.

W. H. Heydt
Posts: 12388
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Update to default Pi4 bootloader

Fri Apr 24, 2020 8:36 pm

timg236 wrote:
Fri Apr 24, 2020 8:13 pm
btw: (Nag!) If you are an "advanced user" and are able to test this release candidate then that would be great :)
I don't know if I am or not, but I have a "test server" Pi4B4 that I can load the current (now stable) EEPROM data onto this weekend, and the beta MSD boot when that comes along. If I have to rebuild that system, I can. Or just revert to using the SD card for the initial stages.

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 516
Joined: Thu Jun 21, 2018 4:30 pm

Re: Update to default Pi4 bootloader

Fri Apr 24, 2020 8:46 pm

"Or just revert to using the SD card for the initial stages."

Then you are definitely an advanced user and your feedback would be much appreciated. The slightly scary health warnings are just there to reduce the risk of support overload. The 'recovery' path has been carefully designed and is baked into the ROM so it should be impossible to actually a brick a Pi4 (please don't view that as a challenge!)

User avatar
dickon
Posts: 1426
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: Update to default Pi4 bootloader

Fri Apr 24, 2020 11:08 pm

My only complaint with the new bootloader is that I can't seem to get the auto-update working over the network. I never see the requests for possible firmware updates in the logs, despite the eeprom and config.txt apparently being correct.

Otherwise, everything seems fine.

[Edit to say: USB boot is an utter irrelevance to me, and the arguments over it bemuse me. I'm afraid I won't be testing that, but I'm perfectly happy to check you've not managed to break netbooting in my environment as you implement it -- not that I'm expecting you to]

User avatar
davidcoton
Posts: 4895
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK
Contact: Website

Re: Update to default Pi4 bootloader

Fri Apr 24, 2020 11:16 pm

Auto-updated to latest Stable with no problems, no other issues so far but the Pi is not heavily used at present.
Signature retired

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 516
Joined: Thu Jun 21, 2018 4:30 pm

Re: Update to default Pi4 bootloader

Tue Apr 28, 2020 9:37 am

Thanks for the test reports, will try to release to update later on today

User avatar
HawaiianPi
Posts: 5699
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Update to default Pi4 bootloader

Tue Apr 28, 2020 11:15 am

My uSD+SSD booted 4B2 seems to be working fine. Not doing anything particularly fancy with it, but no trouble that I've found.

  • 4B2 is a revision 1.1
  • Raspbian Buster OS with 64-bit kernel (arm_64bit=1)
  • Official USB-C PSU
  • Headless with VNC and serial console enabled (both still working fine).
  • /boot on SD card and / (rootfs) on SATA-III SSD with Eluteng "blue" USB 3.0 adapter cable (ASM1153E chipset).
Installed the latest updates and verified that I had pieeprom-2020-04-16.bin. Changed FIRMWARE_RELEASE_STATUS to "stable" as well.

However, if I want to test the beta USB boot firmware (when it's available) will I need to reset that to critical, or beta?

Thank you and the rest of the small engineering team for all the hard work. While I don't feel cardless USB boot is a critical feature (like some here who go on-and-on about it), it is something I will use when it becomes available. I have several USB-SATA adapters and enclosures available for testing (ASMedia, JMicron, VIA, and another chipset I can't recall at the moment), as well as a few different SSD brands and models.

Let me know if I can test anything specific for you (otherwise I'll just try everything, as time allows).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 516
Joined: Thu Jun 21, 2018 4:30 pm

Re: Update to default Pi4 bootloader

Tue Apr 28, 2020 1:32 pm

USB mass storage boot will be beta first, I'll post instructions something once it's ready.

It will require an rpi-update as well because start.elf has to be updated as well since it has it's own file-system and needs the updated drivers. No kernel upgrade or OS changes required though.

tofflock
Posts: 12
Joined: Mon Mar 05, 2012 11:53 am

Re: Update to default Pi4 bootloader

Tue Apr 28, 2020 8:35 pm

I have 5No Pi4b with attached SSDs, and I've just spent a quiet (rainy) afternoon updating them all to the new stable eeprom code.
When I started, they were in varying states:

Code: Select all

No  Model        Bootloader    VL805
1   4B2G v1.1    10-Sep        0137ad
2   4B2G v1.1    10-Sep        0137ad
3   4B4G v1.1    10-May        013701
4   4B4G v1.1    10-Sep        0137ad
5   4B4G v1.2    10-Sep        0137ad
They all upgraded without a hitch, and then all rebooted (from SD card) ok. The status of all of them now is:

Code: Select all

BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Thu 16 Apr 17:11:26 UTC 2020 (1587057086)
 LATEST: Thu 16 Apr 17:11:26 UTC 2020 (1587057086)
 FW DIR: /lib/firmware/raspberrypi/bootloader/stable
VL805: up-to-date
CURRENT: 000137ad
 LATEST: 000137ad
I look forward to trying the USB Mass Storage boot code when it's available. I do understand that it's not really necessary - I still have three model Pi2B v1.1 running in my coolish dark cellar where between them they've clocked up just over 4200 days of up time with only the Wheezy system having two reboots. Both Jessie systems have been absolutely rock solid. All three Pi2B systems boot from SD card and hand over to root on an SSD. I like stability!

Thanks Tim for the hard work

PeterF

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 516
Joined: Thu Jun 21, 2018 4:30 pm

Re: Update to default Pi4 bootloader

Wed Apr 29, 2020 3:02 pm

Thanks for test reports!

This is now the default release on Raspberry Pi Imager and the default (a critical update) in rpi-eeprom which will take effect the next time anyone does an APT upgrade / reboot.

@jamesh has kindly written some documentation for the HDMI diagnostics
https://www.raspberrypi.org/documentati ... nostics.md

This has also been improved in the MSD release to be a live diagnostics console in order to network and USB boot easier e.g. you get feedback whilst the bootloader is waiting for an MSD device to respond or DHCP response.

I expect there will be a bit of fine-tuning of messages and debug information now that this is visible. Although, providing enough information to debug an issue, manage screen estate and deal with limited space for string data will involve a few compromises!

lingon
Posts: 157
Joined: Fri Aug 26, 2011 7:31 am

Re: Update to default Pi4 bootloader

Wed Apr 29, 2020 3:30 pm

The diagnostic boot screen works fine with the bootloader version dated the 16th of April. Looking forward to test the USB enabled bootloader version.

User avatar
no3rpi
Posts: 25
Joined: Fri Mar 31, 2017 11:44 am

Re: Update to default Pi4 bootloader

Wed Apr 29, 2020 8:49 pm

Updated eeprom on my LibreElec, tested boot without SD card and I have a nice debug info; all looks good.
RPI3^2 + RPI4 = :idea:

DarkElvenAngel
Posts: 740
Joined: Tue Mar 20, 2018 9:53 pm

Re: Update to default Pi4 bootloader

Wed Apr 29, 2020 11:57 pm

Is this live now? I did an apt upgrade and I'm getting some random failures with my initramfs not able to mount the boot partition it doesn't happen every time but now I'm thinking this could be the cause. I started a thread asking for help solving this.

W. H. Heydt
Posts: 12388
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Update to default Pi4 bootloader

Thu Apr 30, 2020 12:02 am

Since positive feedback is also desired....

Code: Select all

pi@ddc4test:~ $ sudo rpi-eeprom-update
BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086)
 LATEST: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086)
 FW DIR: /lib/firmware/raspberrypi/bootloader/critical
VL805: up-to-date
CURRENT: 000137ad
 LATEST: 000137ad

Code: Select all

pi@ddc4test:~ $ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 111.8G  0 disk
├─sda1        8:1    0   512M  0 part /media/ddcadmin/SSD_BOOT
└─sda2        8:2    0 111.3G  0 part /
mmcblk0     179:0    0  14.9G  0 disk
├─mmcblk0p1 179:1    0   256M  0 part /boot
└─mmcblk0p2 179:2    0  14.6G  0 part /media/ddcadmin/rootfs

Code: Select all

pi@ddc4test:~ $ lsusb
Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0557:2213 ATEN International Co., Ltd CS682 2-Port USB 2.0 DVI KVM Switch
Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/dev/sda is an HP S600 2.5" 120GB SSD.
Would anything else be useful to undertanding the setup?

W. H. Heydt
Posts: 12388
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Update to default Pi4 bootloader

Thu Apr 30, 2020 12:03 am

DarkElvenAngel wrote:
Wed Apr 29, 2020 11:57 pm
Is this live now? I did an apt upgrade and I'm getting some random failures with my initramfs not able to mount the boot partition it doesn't happen every time but now I'm thinking this could be the cause. I started a thread asking for help solving this.
What is the output from rpi-eeprom-update?

DarkElvenAngel
Posts: 740
Joined: Tue Mar 20, 2018 9:53 pm

Re: Update to default Pi4 bootloader

Thu Apr 30, 2020 12:12 am

W. H. Heydt wrote:What is the output from rpi-eeprom-update?
Here's what I get

Code: Select all

BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Fri 17 Jan 17:37:11 UTC 2020 (1579282631)
 LATEST: Tue 10 Sep 10:41:50 UTC 2019 (1568112110)
 FW DIR: /lib/firmware/raspberrypi/bootloader/critical
VL805: up-to-date
CURRENT: 000137ad
 LATEST: 000137ad
That's not updated is it?

User avatar
HawaiianPi
Posts: 5699
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Update to default Pi4 bootloader

Thu Apr 30, 2020 1:18 am

DarkElvenAngel wrote:
Thu Apr 30, 2020 12:12 am
That's not updated is it?
Doesn't look like it. My 4B says this:

Code: Select all

# rpi-eeprom-update
BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086)
 LATEST: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086)
 FW DIR: /lib/firmware/raspberrypi/bootloader/stable
VL805: up-to-date
CURRENT: 000137ad
 LATEST: 000137ad
It's odd that yours thinks the latest is older than the current?
  1. Is your OS upgraded from a previous version (Stretch/Jessie)?
  2. Have you run rpi-update at any time?
  3. Did you change your FIRMWARE_RELEASE_STATUS to "stable" (as instructed in the OP)?
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

W. H. Heydt
Posts: 12388
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Update to default Pi4 bootloader

Thu Apr 30, 2020 1:24 am

DarkElvenAngel wrote:
Thu Apr 30, 2020 12:12 am
W. H. Heydt wrote:What is the output from rpi-eeprom-update?
Here's what I get

Code: Select all

BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Fri 17 Jan 17:37:11 UTC 2020 (1579282631)
 LATEST: Tue 10 Sep 10:41:50 UTC 2019 (1568112110)
 FW DIR: /lib/firmware/raspberrypi/bootloader/critical
VL805: up-to-date
CURRENT: 000137ad
 LATEST: 000137ad
That's not updated is it?
That's weird. The "latest" version that shows is earlier than the "current" version. One would expect, if anything, for that to be the other way around, and once the upgrade has taken place and the Pi rebooted, that both would show the same date. See my post giving the data from my system.

Return to “General discussion”