0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Raspberry Pi 5のファームアップデート

Posted at

ラズパイを買ったときや必要に駆られたとき、たまにしかやらないので手順を忘れるのでメモ

現在のファームウェアのバージョンの確認

CURRENTがラズパイに書き込まれているファームウェアのバージョンです。
LATESTが最新のリリースバージョンです。
CURRENTがLATESTよりも古ければバージョンアップできます。
ただ、ファームの書き込みに失敗すると起動しなくなる恐れがあるので、何か不具合を改善したいなどの明確な目的がなければ実施する必要はないと思います。

僕が、やるのはファームが最新だと気持ち嬉しいって感じです。
必要に駆られたわけではありません。

$ sudo rpi-eeprom-update
*** UPDATE AVAILABLE ***

Run "sudo rpi-eeprom-update -a" to install this update now.

To configure the bootloader update policy run "sudo raspi-config"

BOOTLOADER: update available
   CURRENT: Fri 13 Jun 09:39:26 UTC 2025 (1749807566)
    LATEST: Mon  8 Dec 19:29:54 UTC 2025 (1765222194)
   RELEASE: default (/usr/lib/firmware/raspberrypi/bootloader-2712/default)
            Use raspi-config to change the release.

見てみると本体に書かれているのは2025/6/13で、最新は2025/12/8だったので早速アップデートしてみました。

ファームウェアのアップデート

nomura@raspi5:~$ sudo rpi-eeprom-update -a
*** PREPARING EEPROM UPDATES ***

BOOTLOADER: update available
   CURRENT: Fri 13 Jun 09:39:26 UTC 2025 (1749807566)
    LATEST: Mon  8 Dec 19:29:54 UTC 2025 (1765222194)
   RELEASE: default (/usr/lib/firmware/raspberrypi/bootloader-2712/default)
            Use raspi-config to change the release.
   CURRENT: Fri 13 Jun 09:39:26 UTC 2025 (1749807566)
    UPDATE: Mon  8 Dec 19:29:54 UTC 2025 (1765222194)
    BOOTFS: /boot/firmware
'/tmp/tmp.I904hTYOdF' -> '/boot/firmware/pieeprom.upd'

UPDATING bootloader. This could take up to a minute. Please wait

*** Do not disconnect the power until the update is complete ***

If a problem occurs then the Raspberry Pi Imager may be used to create
a bootloader rescue SD card image which restores the default bootloader image.

flashrom -p linux_spi:dev=/dev/spidev10.0,spispeed=16000 -w /boot/firmware/pieeprom.upd
Verifying update
VERIFY: SUCCESS
UPDATE SUCCESSFUL

UPDATEがSUCCESSFULになったので成功したようです。
ファームのアップデートが終わったら再起動します。

reboot

再度バージョンの確認

CURRENTとLATESTが同じになったので、最新のファームになったようです。

$ sudo rpi-eeprom-update
BOOTLOADER: up to date
   CURRENT: Mon  8 Dec 19:29:54 UTC 2025 (1765222194)
    LATEST: Mon  8 Dec 19:29:54 UTC 2025 (1765222194)
   RELEASE: default (/usr/lib/firmware/raspberrypi/bootloader-2712/default)
            Use raspi-config to change the release.

最初に書いたようにファームをアップデートしなければ修正されない障害や使えない機能がない限り実施する必要はないとおもいます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?