sivachandran
Posts: 2
Joined: Mon Mar 16, 2015 10:26 am

Single OS image for both Pi B+ and Pi 2

Mon Mar 16, 2015 11:33 am

Hi,

I've booted Pi 2 with Minibian(https://minibianpi.wordpress.com/2015/0 ... 18-is-out/) and upgraded all the softwares(apt-get upgrade) and also updated the firmware through "rpi-update". I also did "apt-get clean" to gain some free space. After this I've taken image of the SD card(using dd) and written to another SD card. When I tried to boot my Pi B+ using the second SD card the ethernet interface is not detected.

I believe the "rpi-update" installs host(i.e Pi 2) specific driver/firmware. How do I install firmware for all possible Pi models(e.g. Pi B+) so that I can use the OS image with any version Pi?

Thanks in advance.

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Single OS image for both Pi B+ and Pi 2

Mon Mar 16, 2015 12:43 pm

Just apt-get update/upgrade is enough to do it. I'd leave rpi-update out of it, it creates more problems than it solves in my opinion.

There is evidence that the Pi2 is a bit more techy about SD cards than the earlier models. Which may be your issue here. But I swap SD cards at will between all my Pis at will(obviously the old models need an SD adaptor).

It gets a hell of a lot more complicated if you have NOOBS in the way.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

sivachandran
Posts: 2
Joined: Mon Mar 16, 2015 10:26 am

Re: Single OS image for both Pi B+ and Pi 2

Tue Mar 24, 2015 6:33 am

I've found the problem. It was due to udev persistent rule to mount the network adapter as eth0. So I removed /etc/udev/rules.d/70-persistent-net.rules before taking the OS image and this image worked fine in all Pi's.

Return to “Troubleshooting”