← 返回命令列表

Linux command

rpi-eeprom-update 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Example

sudo rpi-eeprom-update

Apply

sudo rpi-eeprom-update -a

Cancel

sudo rpi-eeprom-update -r

Example

sudo rpi-eeprom-update -d [/lib/firmware/raspberrypi/bootloader/stable]

Example

rpi-eeprom-update -h

说明

rpi-eeprom-update manages the bootloader EEPROM firmware on Raspberry Pi 4, 400, Compute Module 4, and Pi 5 models. The EEPROM contains the boot code that initializes the system before the operating system loads, including USB boot, network boot, and NVMe boot support. Firmware images are provided in /lib/firmware/raspberrypi/bootloader/ under release channels: critical (rarely updated, highest stability), stable (default, recommended), beta (new features, less tested), and latest (most recent). Updates improve boot reliability, add features like new boot modes, and fix bugs in the low-level boot firmware.

参数

-a
Apply update if newer version is available. The update is installed at next reboot.
-d _directory_
Use the specified firmware image directory instead of the default.
-j _file_
Write output in JSON format to file (use /dev/stdout for stdout).
-l
Display the update status without checking for newer firmware.
-m
Display information about the recovery.bin bootloader update file.
-r
Cancel a pending update and revert to the current EEPROM contents.
-h
Display help.

FAQ

What is the rpi-eeprom-update command used for?

rpi-eeprom-update manages the bootloader EEPROM firmware on Raspberry Pi 4, 400, Compute Module 4, and Pi 5 models. The EEPROM contains the boot code that initializes the system before the operating system loads, including USB boot, network boot, and NVMe boot support. Firmware images are provided in /lib/firmware/raspberrypi/bootloader/ under release channels: critical (rarely updated, highest stability), stable (default, recommended), beta (new features, less tested), and latest (most recent). Updates improve boot reliability, add features like new boot modes, and fix bugs in the low-level boot firmware.

How do I run a basic rpi-eeprom-update example?

Run `sudo rpi-eeprom-update` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -a do in rpi-eeprom-update?

Apply update if newer version is available. The update is installed at next reboot.