nervesrpieeprom
April 5, 2026 ยท View on GitHub
Update a Raspberry Pi 4 or 5's boot EEPROM with Nerves using the recovery.bin
method. Refer to the Raspberry Pi documentation for updating a CM4 or CM5.
Usage
This library is more of a convenience script currently, so I copy/paste
nerves_rpi_eeprom.ex to the Nerves device that I want to update. Make sure
that device has an Internet connection so that it can check and download the
latest EEPROM firmware.
iex> NervesRpiEeprom.update_to_latest()
If successful, reboot and the new EEPROM image should be programmed by the bootloader.