raspi:rpi-update

raspberry piのFirmwareを最新版に更新してみます。

現状の確認後、aptを使ってシステムを更新します。

$ uname -a

Linux ras2 4.14.70-v7+ #1144 SMP Tue Sep 18 17:34:46 BST 2018 armv7l GNU/Linux

$ sudo apt-get update

[sudo] kaz のパスワード:
ヒット:1 http://archive.raspberrypi.org/debian stretch InRelease
取得:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
15.0 kB を 2秒 で取得しました (5,685 B/s)
パッケージリストを読み込んでいます… 完了
$ sudo apt-get upgrade
パッケージリストを読み込んでいます… 完了
依存関係ツリーを作成しています
状態情報を読み取っています… 完了
アップグレードパッケージを検出しています… 完了
以下のパッケージはアップグレードされます:
libfm-data libfm-extra4 libfm-gtk-data libfm-gtk4 libfm-modules libfm4 python-unicornhathd
python3-unicornhathd
アップグレード: 8 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。
592 kB のアーカイブを取得する必要があります。
この操作後に追加で 15.4 kB のディスク容量が消費されます。
続行しますか? [Y/n] y
取得:1 http://archive.raspberrypi.org/debian stretch/ui armhf libfm-data all 1.2.5-1+rpi6 [234 kB]
取得:2 http://archive.raspberrypi.org/debian stretch/ui armhf libfm-extra4 armhf 1.2.5-1+rpi6 [29.4 kB]
取得:3 http://archive.raspberrypi.org/debian stretch/ui armhf libfm-gtk-data all 1.2.5-1+rpi6 [34.1 kB]
取得:4 http://archive.raspberrypi.org/debian stretch/ui armhf libfm-gtk4 armhf 1.2.5-1+rpi6 [134 kB]
取得:5 http://archive.raspberrypi.org/debian stretch/ui armhf libfm4 armhf 1.2.5-1+rpi6 [101 kB]
取得:6 http://archive.raspberrypi.org/debian stretch/ui armhf libfm-modules armhf 1.2.5-1+rpi6 [45.9 kB]
取得:7 http://archive.raspberrypi.org/debian stretch/main armhf python-unicornhathd all 0.0.4 [6,428 B]
取得:8 http://archive.raspberrypi.org/debian stretch/main armhf python3-unicornhathd all 0.0.4 [6,504 B]
592 kB を 2秒 で取得しました (291 kB/s)
changelog を読んでいます… 完了
(データベースを読み込んでいます … 現在 117874 個のファイルとディレクトリがインストールされています。)
…/0-libfm-data_1.2.5-1+rpi6_all.deb を展開する準備をしています …
libfm-data (1.2.5-1+rpi6) で (1.2.5-1+rpi5 に) 上書き展開しています …
…/1-libfm-extra4_1.2.5-1+rpi6_armhf.deb を展開する準備をしています …
libfm-extra4:armhf (1.2.5-1+rpi6) で (1.2.5-1+rpi5 に) 上書き展開しています …
…/2-libfm-gtk-data_1.2.5-1+rpi6_all.deb を展開する準備をしています …
libfm-gtk-data (1.2.5-1+rpi6) で (1.2.5-1+rpi5 に) 上書き展開しています …
…/3-libfm-gtk4_1.2.5-1+rpi6_armhf.deb を展開する準備をしています …
libfm-gtk4:armhf (1.2.5-1+rpi6) で (1.2.5-1+rpi5 に) 上書き展開しています …
…/4-libfm4_1.2.5-1+rpi6_armhf.deb を展開する準備をしています …
libfm4:armhf (1.2.5-1+rpi6) で (1.2.5-1+rpi5 に) 上書き展開しています …
…/5-libfm-modules_1.2.5-1+rpi6_armhf.deb を展開する準備をしています …
libfm-modules:armhf (1.2.5-1+rpi6) で (1.2.5-1+rpi5 に) 上書き展開しています …
…/6-python-unicornhathd_0.0.4_all.deb を展開する準備をしています …
python-unicornhathd (0.0.4) で (0.0.3 に) 上書き展開しています …
…/7-python3-unicornhathd_0.0.4_all.deb を展開する準備をしています …
python3-unicornhathd (0.0.4) で (0.0.3 に) 上書き展開しています …
python3-unicornhathd (0.0.4) を設定しています …
libfm-data (1.2.5-1+rpi6) を設定しています …
libfm-extra4:armhf (1.2.5-1+rpi6) を設定しています …
libc-bin (2.24-11+deb9u3) のトリガを処理しています …
python-unicornhathd (0.0.4) を設定しています …
libfm-gtk-data (1.2.5-1+rpi6) を設定しています …
shared-mime-info (1.8-1+deb9u1) のトリガを処理しています …
libfm4:armhf (1.2.5-1+rpi6) を設定しています …
libfm-gtk4:armhf (1.2.5-1+rpi6) を設定しています …
libfm-modules:armhf (1.2.5-1+rpi6) を設定しています …
libc-bin (2.24-11+deb9u3) のトリガを処理しています …

$ sudo apt-get dist-upgrade

パッケージリストを読み込んでいます… 完了
依存関係ツリーを作成しています
状態情報を読み取っています… 完了
アップグレードパッケージを検出しています… 完了
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。

次に、rpi-updateを行います。

$ sudo rpi-update

*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13545 100 13545 0 0 30329 0 –:–:– –:–:– –:–:– 30369
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** We’re running for the first time
*** Backing up files (this will take a few minutes)
*** Backing up firmware
*** Backing up modules 4.14.70-v7+
#############################################################
This update bumps to rpi-4.14.y linux tree
Be aware there could be compatibility issues with some drivers
Discussion here:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=197689
##############################################################
*** Downloading specific firmware revision (this will take a few minutes)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 168 0 168 0 0 187 0 –:–:– –:–:– –:–:– 188
100 56.1M 100 56.1M 0 0 2740k 0 0:00:20 0:00:20 –:–:– 2060k
*** Updating firmware
*** Updating kernel modules
*** depmod 4.14.73+
*** depmod 4.14.73-v7+
*** Updating VideoCore libraries
*** Using HardFP libraries
*** Updating SDK
*** Running ldconfig
*** Storing current firmware revision
*** Deleting downloaded files
*** Syncing changes to disk
*** If no errors appeared, your firmware was successfully updated to 9f230923e419d942cf02fe936ea4fd186d3a21fa
*** A reboot is needed to activate the new firmware

うまくいったようで、再起動すると、New Firmwareで起動します。

再起動後、確認

Linux ras2 4.14.73-v7+ #1148 SMP Mon Oct 1 16:57:50 BST 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

(旧)Linux ras2 4.14.70-v7+ #1144 SMP Tue Sep 18 17:34:46 BST 2018 armv7l GNU/Linux

(新)Linux ras2 4.14.73-v7+ #1148 SMP Mon Oct 1 16:57:50 BST 2018 armv7l GNU/Linux

kernelが変わっています。

raspi:rpi-update” への2件のフィードバック

  1. Etienne のコメント:

    Hi I have followed the steps to upgrade my Pi3 B+. I am at the point to restart. So far no errors. Thank you

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA