Difference between revisions of "How to update eeprom firmware"

From Geekworm Wiki
Jump to navigation Jump to search
 
Line 8: Line 8:
 
Maybe the result is following:
 
Maybe the result is following:
 
<pre>
 
<pre>
pi@raspberrypi:~ $ vcgencmd bootloader_version
+
pi@geekworm:~ $ vcgencmd bootloader_version
2024/09/23 14:02:56
+
2024/11/12 16:10:44
version 2682625908f5585e5f4832bb82e74e7d757ec48f (release)
+
version 4b019946a06ea87c36d14fd6d702cc65fb458b9e (release)
timestamp 1727096576
+
timestamp 1731427844
update-time 1729136387
+
update-time 1732247059
 
capabilities 0x0000007f
 
capabilities 0x0000007f
 
</pre>
 
</pre>

Latest revision as of 17:44, 29 November 2024

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

vcgencmd bootloader_version

Maybe the result is following:

pi@geekworm:~ $ vcgencmd bootloader_version
2024/11/12 16:10:44
version 4b019946a06ea87c36d14fd6d702cc65fb458b9e (release)
timestamp 1731427844
update-time 1732247059
capabilities 0x0000007f

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

2. Update to the latest version (recommended)

Before starting the update, make sure raspberry pi 5 is connected to the Internet;

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

  • Update via command:
sudo apt update
sudo apt upgrade -y
sudo rpi-eeprom-update

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.

  • Use tool raspi-config to update
sudo raspi-config

Then select 6 Advanced Opitions => A5 Bootloader Version => E1 Latest, answere Yes

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


3. Update to specified version (Not recommended)

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

8 months 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

7 months 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

9 months 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

10 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

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