🌑

Linhost.info

Update the Firmware on a Raspberry Pi

Updating the Raspberry Pi firmware is easy thanks to a nice utility called rpi-update included by default in Raspbian but I’ve also included an extra step for those of us who use other distributions for the Raspberry Pi like Minibian(my favorite), Kali Linux, etc… Understand that rpi-update is automated and once executed it will download and install the firmware without any user input. Upgrading the firmware takes less than a minute, however the install might take longer depending on your Internet connection. The three steps below are included because rpi-update is not included by default in other distributions. Update and upgrade the system. First update and upgrade the OS.

1
sudo apt-get update
1
sudo apt-get upgrade

Install rpi-config from the repository.

1
sudo apt-get install rpi-update

Update the Firmware

Rpi-update is automated and once executed it will download and install the firmware without any user input. Upgrading the firmware takes less than a minute, however the install might take longer depending on your Internet connection. Sit back and watch the process.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 9823 100 9823 0 0 1837 0 0:00:05 0:00:05 --:--:-- 34346
\*\*\* 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 3.18.7-v7+
\*\*\* 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 419 0 --:--:-- --:--:-- --:--:-- 585
100 46.1M 100 46.1M 0 0 448k 0 0:01:45 0:01:45 --:--:-- 565k
\*\*\* Updating firmware
\*\*\* Updating kernel modules
\*\*\* depmod 3.18.11+
\*\*\* depmod 3.18.11-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 5b0cbedacf45e111f02d925fa5b1cec9041fb279
\*\*\* A reboot is needed to activate the new firmware

Reboot the Raspberry Pi for the new firmware to take effect.

1
sudo reboot

Let’s check again to see what the Raspberry Pi has to say about the new firmware.

1
2
3
4
5
6
7
8
9
10
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 9823 100 9823 0 0 54727 0 --:--:-- --:--:-- --:--:-- 79861
\*\*\* Relaunching after update
\*\*\* Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
\*\*\* Your firmware is already up to date

Your Raspberry Pi is now running the latest available firmware.

— May 5, 2015