Raspberry Pi boot EEPROM


Computers use an EEPROM to boot the system:

  • Raspberry Pi 5
  • Raspberry Pi 4
  • 400
  • Compute Module 4
  • Compute Module 4S
All other models of Raspberry Pi computer use the bootcode.bin file located in the boot filesystem.

Note: You can find the scripts and pre-compiled binaries used to create rpi-eeprom in the rpi-eeprom GitHub repository.


How to update eeprom firmware


Firstly check the bootloader version:
$ vcgencmd bootloader_version Maybe the result is following: pi@raspberrypi:~ $ vcgencmd bootloader_version 2024/05/17 12:29:43 version 72caf66729df313801bcefe9b1ff7099c71bb5ce (release) timestamp 1715945383 update-time 1716260490 capabilities 0x0000007f 2024/05/17 is the firmware version.

Update to the latest version
Before starting the update, make sure raspberry pi is connected to the Internet.
  • Update via command (copy-paste line by line): $ sudo apt update $ sudo apt upgrade $ sudo rpi-eeprom-update
  • If a firmware update is available you will be prompted to install it and your Raspberry Pi will reboot.
    Use tool raspi-config to update: sudo raspi-config Then select Advanced Opitions - Bootloader Version - Latest - answer Yes
Then reboot and the firmware will be updated (requires Internet access).

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: $ vcgencmd bootloader_version