MacFeeling Blog

マックな感じ …

Raspberry Piのセットアップ(ファームウェアアップデート編)

公開 : | 0件のコメント

この記事は最終更新日から 約2年が経過しているので情報が古い可能性があります。

Raspberry Piのセットアップ(ファームウェアアップデート編)

Macでターミナルを起動したら、ssh接続しておく。

まずは現在のバージョンを確認(入力するのは「」の中)
name -a」と入力したらリターンキー

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.4.21-v7+ #911 SMP Thu Sep 15 xx:xx:xx BST 2016 armv7l GNU/Linux

sudo apt update」と入力したらリターンキー

pi@raspberrypi:~ $ sudo apt-get update
中略           
Reading package lists... Done

sudo apt upgrade」と入力したらリターンキー

pi@raspberrypi:~ $ sudo apt-get upgrade
中略 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sudo rpi-update」と入力したらリターンキー

pi@raspberrypi:~ $ sudo rpi-update
sudo: rpi-update: command not found

すんなりアップデート開始かと思ったら
command not foundと言われてしまった。

rpi-updateのインストール
sudo apt install rpi-update」と入力したらリターンキー

pi@raspberrypi:~ $ sudo apt-get install rpi-update
中略
Unpacking rpi-update (20140705) ...
Setting up rpi-update (20140705) ...

インストール完了。
再度、気を取り直して
sudo rpi-update」と入力したらリターンキー

pi@raspberrypi:~ $ 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 12022  100 12022    0     0  29670      0 --:--:-- --:--:-- --:--:-- 29757
 *** 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.4.21-v7+
This update bumps to rpi-4.4.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=144087
##############################################################
 *** 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    166      0 --:--:--  0:00:01 --:--:--   166
100 51.7M  100 51.7M    0     0   311k      0  0:02:49  0:02:49 --:--:--  271k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 4.4.23-v7+
 *** depmod 4.4.23+
 *** 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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 *** A reboot is needed to activate the new firmware

再起動させるので
sudo reboot」と入力したらリターンキー

pi@raspberrypi:~ $ sudo reboot

再起動後に、ssh接続したら
ファームウェアのバージョンを確認
name -a」と入力したらリターンキー

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.4.23-v7+ #913 SMP Tue Oct 4 xx:xx:xx BST 2016 armv7l GNU/Linux

コメントを残す

必須欄は * がついています




日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)