sipp
Posts: 11
Joined: Thu Oct 10, 2013 6:49 pm

Clone SD Card in Rev.1 Pi for use in Rev.2 Pi

Sat Oct 26, 2013 4:54 am

Does anyone know if an SD card from an up-to-date Rev.1 Pi can be used in a Rev.2 Pi? I would like to avoid all the configuration and just clone and go. Thanks for your help.

Dilligaf
Posts: 283
Joined: Wed May 23, 2012 6:48 pm

Re: Clone SD Card in Rev.1 Pi for use in Rev.2 Pi

Sat Oct 26, 2013 5:03 am

Shouldn't be a problem as long as it's updated with the latest firmware

sipp
Posts: 11
Joined: Thu Oct 10, 2013 6:49 pm

Re: Clone SD Card in Rev.1 Pi for use in Rev.2 Pi

Sat Oct 26, 2013 5:23 am

Great! Thanks.

sipp
Posts: 11
Joined: Thu Oct 10, 2013 6:49 pm

Re: Clone SD Card in Rev.1 Pi for use in Rev.2 Pi

Sat Nov 09, 2013 11:59 pm

Well, I've done this and booted successfully, but how do I update the Pi software so that it realizes it's on a Rev.2 board? "cat /proc/cpuinfo" shows the wrong revision, and wiringPi's "GPIO readall" does as well, meaning, I'd assume, that it will interpret GPIO pins incorrectly.

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Clone SD Card in Rev.1 Pi for use in Rev.2 Pi

Sun Nov 10, 2013 12:14 am

sipp wrote:Well, I've done this and booted successfully, but how do I update the Pi software so that it realizes it's on a Rev.2 board? "cat /proc/cpuinfo" shows the wrong revision, and wiringPi's "GPIO readall" does as well, meaning, I'd assume, that it will interpret GPIO pins incorrectly.
/proc/cpuinfo is part of a special filesystem that gets created automagically by the firmware. If it's wrong that's because your firmware is too old for the Rev.2 board.

Try
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install rpi-update && sudo rpi-update && sudo shutdown -r now
to update to 3.10.18+
Note: the very latest firmware breaks spidev, but that will be fixed soon. If you need to use SPI go with
sudo rpi-update 8234d5148aded657760e9ecd622f324d140ae891
to stick with 3.6.11+
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

sipp
Posts: 11
Joined: Thu Oct 10, 2013 6:49 pm

Re: Clone SD Card in Rev.1 Pi for use in Rev.2 Pi

Sun Nov 10, 2013 2:37 am

Worked perfectly! Many thanks for the quick, precise reply. Didn't think of the Pi as having firmware, but it's more like a smartphone than a PC of course. The analogous part in the PC would be maybe the BIOS?

W. H. Heydt
Posts: 12646
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Clone SD Card in Rev.1 Pi for use in Rev.2 Pi

Sun Nov 10, 2013 6:31 am

sipp wrote:Worked perfectly! Many thanks for the quick, precise reply. Didn't think of the Pi as having firmware, but it's more like a smartphone than a PC of course. The analogous part in the PC would be maybe the BIOS?
Sort of... The difference being that BIOS (or UEFI) code is stored in non-volatile memory on the PCs motherboard, where the Pis firmware is a file in the FAT partition of the SD card.

The advantage is that updating the Pis firmware is much easier and far less risky than updating (flashing) the BIOS on a PC.

Return to “Beginners”