Page 1 of 1

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

Posted: Sat Oct 26, 2013 4:54 am
by sipp
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.

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

Posted: Sat Oct 26, 2013 5:03 am
by Dilligaf
Shouldn't be a problem as long as it's updated with the latest firmware

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

Posted: Sat Oct 26, 2013 5:23 am
by sipp
Great! Thanks.

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

Posted: Sat Nov 09, 2013 11:59 pm
by sipp
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.

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

Posted: Sun Nov 10, 2013 12:14 am
by DougieLawson
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+

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

Posted: Sun Nov 10, 2013 2:37 am
by sipp
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?

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

Posted: Sun Nov 10, 2013 6:31 am
by W. H. Heydt
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.