Difference between revisions of "How to update eeprom firmware"

From Geekworm Wiki
Jump to navigation Jump to search
(Created page with "{{GD Template Impl}} ==How to update eeprom firmware== '''NOTE''': If you find that there is '''no WIFI''' or '''can not boot from nvme ssd''' after restarting, you can try t...")
 
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{GD Template Impl}}
 
{{GD Template Impl}}
  
==How to update eeprom firmware==
+
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
'''NOTE''': If you find that there is '''no WIFI''' or '''can not boot from nvme ssd''' after restarting, you can try this part of the update, otherwise please ignore it.
 
  
After modifying the '''BOOT_ORDER''' for NVME SSD, reboot the PI5 and you maybe get the '''NO WIFI''' or other error. Try to upgrade the eeprom to fix it (Raspberry Pi Foundation official may upgrade the OS to solve this kind of problem, please pay attention to the update of Raspberry Pi OS, if the OS upgrade can solve this problem, you can ignore this step).
+
'''1. Firstly check the bootloader version'''
 +
vcgencmd bootloader_version
  
Run the following command to  
+
Maybe the result is following:
 +
<pre>
 +
pi@raspberrypi:~ $ vcgencmd bootloader_version
 +
2024/04/20 11:53:30
 +
version d1744d218076d7eee7c14763bbf3d3cf6278191a (release)
 +
timestamp 1713610410
 +
update-time 1713762640
 +
capabilities 0x0000007f
 +
</pre>
 +
 
 +
'2024/04/20' 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: [https://www.raspberrypi.com/documentation/computers/raspberry-pi-5.html#updating-your-firmware update firmware]  or following steps:
 +
 
 +
* Update via 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 [https://www.raspberrypi.com/documentation/computers/raspberry-pi-5.html#updating-your-firmware official documentation].
 +
 
 +
* Use tool '''raspi-config''' to update
 +
sudo raspi-config
 +
Then select '''6 Advanced Opitions''' => '''A5 Bootloader Version''' => '''E1 Latest''', answere '''Yes''')
 +
 
 +
Then <code>reboot</code> 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 [https://github.com/timg236/rpi-eeprom/tree/master/firmware-2712/default 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  
 
  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
 
  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 <big>pieeprom-2023-10-30.bin</big> file.
  
Or click [[File:Pieeprom-2023-10-30.zip]] download then unzip it to get <big>pieeprom-2023-10-30.bin</big> file
+
PS: You can replace the 'pieeprom-2023-10-30.bin ' to you specified version file.
  
 
[[File:Update-eeprom.png]]
 
[[File:Update-eeprom.png]]
  
 +
'''4. Check if the update was successful'''
  
It is recommended to use the latest version of the pieeprom-xxxx-xx-xx.bin file, please visit [https://github.com/timg236/rpi-eeprom/tree/master/firmware-2712/default this link] to get the latest version:
+
After restarting, run the '''vcgencmd bootloader_version''' command again to view the firmware version and check whether the update is successful.
 
 
'''PS''': After our testing, we found that only the firmware '''piepprom-2023-10-30.bin''' has solved the NO WIFI problem for the time being.
 
  
 
<!--Add review function! -->
 
<!--Add review function! -->

Latest revision as of 13:13, 22 April 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@raspberrypi:~ $ vcgencmd bootloader_version
2024/04/20 11:53:30
version d1744d218076d7eee7c14763bbf3d3cf6278191a (release)
timestamp 1713610410
update-time 1713762640
capabilities 0x0000007f

'2024/04/20' 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
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.

  • 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

15 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

13 days 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

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