User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Best way to backup Firmware

Wed Oct 10, 2012 12:33 pm

Because I'm having some problem with actual firmware releases when using rpi-update I'm searching for a solution to backup the complete firmware with kernel and modules and everything else related to firmware. If the new firmware has a problem, I like to restore the old.

Anyone an idea how to make a script doing this?
truehl
http://www.squeezeplug.de

User avatar
RaTTuS
Posts: 10563
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Best way to backup Firmware

Wed Oct 10, 2012 12:44 pm

have a look at the rpi-update script...
or don't use rpi-update and just use apt-get upgrade
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: Best way to backup Firmware

Wed Oct 10, 2012 9:39 pm

RaTTuS wrote:have a look at the rpi-update script...
or don't use rpi-update and just use apt-get upgrade
Sorry, but I looked at the script and did not found an answer. I simply need to know, which files exactly are changed by rpi-update!
truehl
http://www.squeezeplug.de

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5551
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Best way to backup Firmware

Wed Oct 10, 2012 9:49 pm

Files in
/boot
/lib/modules/
/opt/vc
are changed by rpi-update.

Note: that rpi-update now allows downgrading.
sudo rpi-update 192 <hash>

where you can find the hashes here:
https://github.com/Hexxeh/rpi-firmware/commits/master

e.g. if you want to revert to September 26th firmware:
sudo rpi-update 192 d6b57

should do it (you only need to type in enough of hash to be unique).

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: Best way to backup Firmware

Thu Oct 11, 2012 6:08 am

dom wrote:Files in
/boot
/lib/modules/
/opt/vc
are changed by rpi-update.

Note: that rpi-update now allows downgrading.
sudo rpi-update 192 <hash>

where you can find the hashes here:
https://github.com/Hexxeh/rpi-firmware/commits/master

e.g. if you want to revert to September 26th firmware:
sudo rpi-update 192 d6b57

should do it (you only need to type in enough of hash to be unique).
Hi Dom,
Thx a lot, that's exactly the information I need!
truehl
http://www.squeezeplug.de

Return to “Raspberry Pi OS”