Raspberry Pi Firmware

From KlavoWiki
Revision as of 10:47, 7 March 2018 by David (Sọ̀rọ̀ | contribs)
Jump to navigationJump to search

Current Version

To show the current installed version

uname -r

Upgrade

Install Tool

If the tool rpi-update is not already installed

apt-get -y install rpi-update

Upgrade

To upgrade to the latest firmware

rpi-update


Location

The location of the firwamre images that have been installed

/lib/modules

Manual Install

If for some reason the rpi-update is failing to install the update, try the following.

cd /root
rm -rf .rpi-firmware

wget https://github.com/Hexxeh/rpi-firmware/archive/master.tar.gz
tar xvf master.tar.gz
mv rpi-firmware-master .rpi-firmware
SKIP_DOWNLOAD=1 rpi-update

Cleaning

You can remove all but the last two versions

Example of before:

drwxr-xr-x 14 root root 4096 2017-11-24 19:49 .
drwxr-xr-x 18 root root 4096 2017-07-09 22:29 ..
drwxr-xr-x  3 root root 4096 2017-03-24 11:24 4.9.16+
drwxr-xr-x  3 root root 4096 2017-03-24 11:24 4.9.16-v7+
drwxr-xr-x  3 root root 4096 2017-05-20 19:37 4.9.28+
drwxr-xr-x  3 root root 4096 2017-05-20 19:37 4.9.28-v7+
drwxr-xr-x  3 root root 4096 2017-07-09 22:31 4.9.35+
drwxr-xr-x  3 root root 4096 2017-07-09 22:31 4.9.35-v7+
drwxr-xr-x  3 root root 4096 2017-07-09 22:45 4.9.36+
drwxr-xr-x  3 root root 4096 2017-07-09 22:45 4.9.36-v7+
drwxr-xr-x  3 root root 4096 2017-11-18 18:18 4.9.62+
drwxr-xr-x  3 root root 4096 2017-11-18 18:18 4.9.62-v7+
drwxr-xr-x  3 root root 4096 2017-11-24 19:49 4.9.64+
drwxr-xr-x  3 root root 4096 2017-11-24 19:49 4.9.64-v7+

Example of after:

drwxr-xr-x  6 root root 4096 2017-11-24 19:50 .
drwxr-xr-x 18 root root 4096 2017-07-09 22:29 ..
drwxr-xr-x  3 root root 4096 2017-11-18 18:18 4.9.62+
drwxr-xr-x  3 root root 4096 2017-11-18 18:18 4.9.62-v7+
drwxr-xr-x  3 root root 4096 2017-11-24 19:49 4.9.64+
drwxr-xr-x  3 root root 4096 2017-11-24 19:49 4.9.64-v7+