chipace
Posts: 67
Joined: Sat Jun 29, 2019 2:56 am
Location: brown paper bag in a septic tank

rpi-bootloader updates for Aug 19?

Mon Aug 19, 2019 7:16 pm

I saw that a new kernel and new rpi-bootloader was recently made available. Is there a blog page that lists new features which have recently been enabled? I am wondering if usb boot has been enabled for RPi4b.

User avatar
rpdom
Posts: 14985
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: rpi-bootloader updates for Aug 19?

Mon Aug 19, 2019 7:18 pm

chipace wrote:
Mon Aug 19, 2019 7:16 pm
I saw that a new kernel and new rpi-bootloader was recently made available. Is there a blog page that lists new features which have recently been enabled? I am wondering if usb boot has been enabled for RPi4b.
There is a github repo that has details of the changes.

As has been said many times, USB boot will not be for some time yet. Network boot will be first.

chipace
Posts: 67
Joined: Sat Jun 29, 2019 2:56 am
Location: brown paper bag in a septic tank

Re: rpi-bootloader updates for Aug 19?

Mon Aug 19, 2019 8:20 pm

https://github.com/raspberrypi/firmware/commits/master

Most of the changes are to binary files, so the comments are the only way to know of a specific change.

User avatar
B.Goode
Posts: 8241
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: rpi-bootloader updates for Aug 19?

Mon Aug 19, 2019 10:06 pm

chipace wrote:
Mon Aug 19, 2019 7:16 pm
I am wondering if usb boot has been enabled for RPi4b.

This statement from a Moderator as recently as two days ago, in response to the question "When can we expect USB boot for the Pi 4? " seems relevant...
When its done it will be broadly announced in the blog.
Ref: https://www.raspberrypi.org/forums/view ... 8#p1520896

andrum99
Posts: 772
Joined: Fri Jul 20, 2012 2:41 pm

Re: rpi-bootloader updates for Aug 19?

Mon Aug 19, 2019 11:39 pm

B.Goode wrote:
Mon Aug 19, 2019 10:06 pm
chipace wrote:
Mon Aug 19, 2019 7:16 pm
I am wondering if usb boot has been enabled for RPi4b.

This statement from a Moderator as recently as two days ago, in response to the question "When can we expect USB boot for the Pi 4? " seems relevant...
When its done it will be broadly announced in the blog.
Ref: https://www.raspberrypi.org/forums/view ... 8#p1520896
It also won't be enabled via sudo apt upgrade, since it requires an upgraded EEPROM firmware. They've said already that for EEPROM updates these will need to be applied using a different procedure. No EEPROM updates have been released yet, and they have not announced what tool will be used to perform those updates.

trejan
Posts: 516
Joined: Tue Jul 02, 2019 2:28 pm

Re: rpi-bootloader updates for Aug 19?

Tue Aug 20, 2019 1:02 am

andrum99 wrote:
Mon Aug 19, 2019 11:39 pm
No EEPROM updates have been released yet
There is an Pi 4 bootcode EEPROM update but it is still a release candidate.
andrum99 wrote:
Mon Aug 19, 2019 11:39 pm
they have not announced what tool will be used to perform those updates.
The current method is via the bootcode EEPROM recovery system that runs recovery.bin from the card at startup. The problem with this is that you need to physically remove the card afterwards to delete recovery.bin as it halts after the update so you can't do it from Linux.

The future update method will be a script that reflashes it from within Linux using flashrom as you can remap the GPIOs to allow direct access to the SPI EEPROM.

hippy
Posts: 5770
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: rpi-bootloader updates for Aug 19?

Tue Aug 20, 2019 10:41 am

chipace wrote:
Mon Aug 19, 2019 7:16 pm
I saw that a new kernel and new rpi-bootloader was recently made available.
I am not sure exactly what components "rpi-bootloader" consists of but that is not the code which runs in the Pi 4B Boot Eeprom.
andrum99 wrote:
Mon Aug 19, 2019 11:39 pm
It also won't be enabled via sudo apt upgrade, since it requires an upgraded EEPROM firmware.
I don't see why it couldn't be. I can see no reason there could not be a completely automated Boot Eeprom upgrade process

The Boot Eeprom image can be included in a package which automatically gets upgraded using the usual "apt" or "apt-get" process and post-upgrade processing can automatically be invoked to take that image, apply the user's 'OTP settings' to it, and update the physical Eeprom.

Whether done automatically or not can be specified by an 'OTP setting' and the post-upgrade processing can ask if a user wants to proceed or not.

trejan
Posts: 516
Joined: Tue Jul 02, 2019 2:28 pm

Re: rpi-bootloader updates for Aug 19?

Tue Aug 20, 2019 1:03 pm

hippy wrote:
Tue Aug 20, 2019 10:41 am
I don't see why it couldn't be. I can see no reason there could not be a completely automated Boot Eeprom upgrade process
I agree but the restriction isn't for technical reasons. They don't want to force an update for people who don't need one. Plans may have changed now though.

Kendek
Posts: 25
Joined: Thu Jul 25, 2019 4:39 pm

Re: rpi-bootloader updates for Aug 19?

Tue Aug 20, 2019 1:04 pm

hippy wrote:
Tue Aug 20, 2019 10:41 am
I don't see why it couldn't be. I can see no reason there could not be a completely automated Boot Eeprom upgrade process
The configuration options are included in the binary. If you are not satisfied with the default settings (old and/or new ones), currently the upgrade process is requiring some manual sed commands. So there is a pre-customization on the EEPROM. But sure, some of the settings can be read from the current bootloader, and the users can be asked about the new ones. However, there is no silent, completely automated upgrade option.

hippy
Posts: 5770
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: rpi-bootloader updates for Aug 19?

Tue Aug 20, 2019 6:22 pm

Kendek wrote:
Tue Aug 20, 2019 1:04 pm
However, there is no silent, completely automated upgrade option.
Not at present, no. But there could be, and hopefully will be, in the future. I can also understand why they currently aren't forcing firmware upgrades on people when there's not a complete framework for Boot Eeprom upgrades in place yet.

JumpZero
Posts: 991
Joined: Thu Mar 28, 2013 7:35 pm
Location: 127.0.0.1

Re: rpi-bootloader updates for Aug 19?

Tue Aug 20, 2019 7:06 pm

andrum99 wrote:
Mon Aug 19, 2019 11:39 pm
They've said already that for EEPROM updates these will need to be applied using a different procedure. No EEPROM updates have been released yet, and they have not announced what tool will be used to perform those updates.
This is also that I read from the blog: a new procedure to update the eeprom firmware. However here and there on the forum I can see people telling to use rpi-update on the Pi4. Since rpi-update is a firmware update tool is this a nonsense or what?

trejan
Posts: 516
Joined: Tue Jul 02, 2019 2:28 pm

Re: rpi-bootloader updates for Aug 19?

Tue Aug 20, 2019 7:21 pm

JumpZero wrote:
Tue Aug 20, 2019 7:06 pm
This is also that I read from the blog: a new procedure to update the eeprom firmware. However here and there on the forum I can see people telling to use rpi-update on the Pi4. Since rpi-update is a firmware update tool is this a nonsense or what?
Different firmware. rpi-update updates the firmware and kernel in /boot. For all older Pi boards, that was the only firmware. The Pi 4 added an EEPROM to store bootcode.bin on the Pi itself and an EEPROM to store the USB controller firmware. rpi-update doesn't touch either of those.
Last edited by trejan on Tue Aug 20, 2019 7:26 pm, edited 1 time in total.

hippy
Posts: 5770
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: rpi-bootloader updates for Aug 19?

Tue Aug 20, 2019 7:24 pm

JumpZero wrote:
Tue Aug 20, 2019 7:06 pm
However here and there on the forum I can see people telling to use rpi-update on the Pi4. Since rpi-update is a firmware update tool is this a nonsense or what?
Probably nonsense. There is a lot of confusion over what "firmware" is on the Pi.

There are also people who have a problem, run rpi-update, solve their problem, then believe this is a universal panacea for resolving all problems and suggest it as such, even though it isn't.

Fraoch
Posts: 135
Joined: Thu Mar 07, 2013 11:53 pm
Location: Cambridge, Ontario, Canada

Re: rpi-bootloader updates for Aug 19?

Tue Aug 20, 2019 7:32 pm

(deleted)
Last edited by Fraoch on Tue Aug 20, 2019 7:39 pm, edited 1 time in total.
Pencoed-made Model 1B, Samsung memory
2B 1.1
3B+
4B 2GB

User avatar
DougieLawson
Posts: 35796
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: rpi-bootloader updates for Aug 19?

Tue Aug 20, 2019 7:38 pm

rpi-update is not one way only. With the right commit id you can roll back to any kernel/bootcode version.

If you run rpi-update today you'll get the 4.19.66 stable kernel (same as raspberrypi-kernel and raspberrypi-bootcode packages).
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

JumpZero
Posts: 991
Joined: Thu Mar 28, 2013 7:35 pm
Location: 127.0.0.1

Re: rpi-bootloader updates for Aug 19?

Wed Aug 21, 2019 11:56 am

Thanks everybody,
Oh yes I forgot rpi-update isn't firmware update only, it's also kernel update.
So running it on Pi4 will upgrade to the latest kernel but do nothing to firmware in EEPROM.

Return to “General discussion”