How to update eeprom firmware

From Geekworm Wiki
Jump to navigation Jump to search

Here is a tutorial on how to update eeprom, OR you can also refer to official documention: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#automatic-updates

1. Firstly check the bootloader version using the following command:

vcgencmd bootloader_version

Maybe the result is following:

pi@raspberrypi:~ $ vcgencmd bootloader_version
2024/02/16 15:28:41
version 4c845bd37c8a7c7ff79173cdc50dd3facf63996f (release)
timestamp 1708097321
update-time 1709085188
capabilities 0x0000007f

'2024/02/16' is the firmware version; https://github.com/raspberrypi/rpi-eeprom/blob/master/firmware-2712/release-notes.md


2. Update to the latest version (recommended)

You can refer to the official document: update firmware or run the following command:

sudo apt update
sudo apt upgrade
sudo rpi-eeprom-update -a

If a firmware update is available you will be prompted to install it and your Raspberry Pi will reboot. More information about updating the firmware on your Raspberry Pi is available in the official documentation.

Then restart and the firmware will be updated (requires Internet access).


3. Update to specified version

At some point, you may need to update to a specified version (you almost never need to use it now). You can refer to the following command. Visit this link to view firmware version history.

wget https://github.com/timg236/rpi-eeprom/raw/pieeprom-2023-10-30-2712/firmware-2712/default/pieeprom-2023-10-30.bin 
sudo rpi-eeprom-config --edit pieeprom-2023-10-30.bin

If your wget download file fails, please directly click File:Pieeprom-2023-10-30.zip download it then unzip it (run unzip pieeprom-2023-10-30.zip) to get pieeprom-2023-10-30.bin file.

PS: You can replace the 'pieeprom-2023-10-30.bin ' to you specified version file.

Update-eeprom.png

4. Check if the update was successful

After restarting, run the vcgencmd bootloader_version command again to view the firmware version and check whether the update is successful.

Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Anonymous user #2

29 days ago
Score 0++
After RPI imager wrote Ubuntu to 1TB SSD, X1001 hat(New version) is not responding anymore. SDD is working fine with other hat.

Anonymous user #1

2 months ago
Score 0++

sudo lsblk isn't showing the X1003 or the 2230 m-keyed m.2 nvme 512GB kingspec storage i added. neither is sudo lspci. i added the required lines to my raspberry pi 5b /boot/firmware/config.txt file and rebooted. EEPROM claims to be at the latest accordin to sudo rpi-eeprom-update -a . Pretty disappointed. Everything was VERy carefully installed.

BOOTLOADER: up to date CURRENT: Mon Sep 25 10:44:03 UTC 2023 (1695638643) LATEST: Mon Sep 25 10:44:03 UTC 2023 (1695638643)

RELEASE: default (/lib/firmware/raspberrypi/bootloader-2712/default)

Harry

2 months ago
Score 0++

Hi,

sudo apt update
sudo apt upgrade
sudo rpi-eeprom-update -a

1. above commad will update the bootloader to the last versin;

2. Run the lspci to check the ssd controler manufator. and the Phison controler is incompatible.