How I update RPIs bootloader
- Get an extra sd-card for flashing updates
- Flash Raspberry OS (used the minimal version) into the sd-card using
balena-etcher
- Using
sudo
runtouch /mnt/.../boot/ssh
to enable ssh login to the rpi - Move the sd-card to the RPi
- Debug hint: from now on use the following to get the different versions
/opt/vc/bin/vcgencmd version
orvcgencmd bootloader_version
or eventvgencmd bootloader_config
. - Run
sudo apt update
thensudo apt full-upgrade
thensudo reboot
based on the Updating bootloader section here - Note: At this point one should have the
rpi-eeprom
package installed. - Extra info: to know more about the different options for the bootloader check the following bootloader config guide.
- Run the following to update the EEPROM
# Use the branch of interest [beta, stable or critical] & version of interest
cp /lib/firmware/raspberrypi/bootloader/stable/pieeprom-2020-06-15.bin ./pieeprom.bin
rpi-eeprom-config pieeprom.bin > bootconf.txt
# If needed one could modify the configurations here
# vi bootconf.txt
rpi-eeprom-config --out pieeprom-new.bin --config bootconf.txt pieeprom.bin
sudo rpi-eeprom-update -d -f ./pieeprom-new.bin