How to update eeprom firmware

From Geekworm Wiki
Revision as of 18:22, 5 March 2024 by Cindy (talk | contribs)
Jump to navigation Jump to search

Here is a tutorial on how to update eeprom

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 #3

3 days ago
Score 0++

I did the as the instruction says, but getting error. sudo apt update sudo apt upgrade sudo rpi-eeprom-update -a

Not sure how to get around this problem: /usr/bin/rpi-eeprom-digest: 92: cannot create /boot/firmware/pieeprom.sig: Read-only file system


I am running the latest Raspberry Pi OS 64-bit, a X1001 with a 1TB 2280 SSD and mSD is not inserted so the Pi5 starts and runs from the SSD.

Have also been trying to set the eeprom for low power consumption when in stand by mode: sudo rpi-eeprom-config --edit POWER_OFF_ON_HALT=0 Change to POWER_OFF_ON_HALT=1

Also here I get the same Read-only file system. So it looks like Raspberry Pi OS is write protecting settings like the eeprom.

Any suggestions?

Anonymous user #4

one day one hour 10 minutes ago
Score 0++

Changed the line in /etc/fstab to rw instead of ro. It might also be possible to completely remove ro/rw and leave blank.

sudo nano /etc/fstab

Anonymous user #2

one month 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

3 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.