Using Pre-Built SD card image with Raspberry Pi 2

Hi guys, 

I'm looking to upgrade the current low write emoncms prebuilt SD card image (emonSD-13-08-14.img.zip https://github.com/emoncms/emoncms/blob/bufferedwrite/docs/setup.md) to work with the Raspberry Pi 2. Once tested I will release a new compatible image to download. 

I have not yet tested this but it should just be a case of updating the Kernel:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install raspberrypi-ui-mods

​I'll give it a test on Monday, if anyone is already up and running with the new Pi, please let me know. 

As posted by: http://lifehacker.com/easily-update-your-raspbian-sd-cards-for-the-pi-2-with-1684229012

pb66's picture

Re: Using Pre-Built SD card image with Raspberry Pi 2

Hi Glyn

Although I haven't tried it with the pre-built image, I have been playing with a Pi 2B and there doesn't appear to be any other incomparability once you are using the latest raspbian OS version, so it makes perfect sense for any pre-Pi 2B images to run ok on the Pi 2B following the extended update & upgrade procedure. 

Anyone owning a previous Pi can update thier own image prior to moving it to the Pi B2 to retain settings and data etc (back-up before updating) but any new users getting the Pi 2B as their first Pi will indeed need a revised image for it to initially boot.

Paul

truzzman's picture

Re: Using Pre-Built SD card image with Raspberry Pi 2

I tried the upgrade but as results some "not enough space" errors...

pb66's picture

Re: Using Pre-Built SD card image with Raspberry Pi 2

You will need to increase the size of the second partition and to do that you will need to move the third partition, see RaspB+ and SD card Extend

Paul

glyn.hudson's picture

Re: Using Pre-Built SD card image with Raspberry Pi 2

I've ran the update to bring in support for the RaspberryPi 2. The new SD image can be downloaded in a few min from: http://files.openenergymonitor.org/emonSD-12-02-15.img.zip or

UK Mirror 2: http://openenergymonitor.org/files/emonSD-12-02-15.img.zip

I also took the opportunity to update emonHub to support the new RFM69Pi module. Here's the change log:

emonSD12-02-15.img 

* Update emonHub to latest 'Development' branch to add support from new RFM69Pi module (auto detect 9600/38400 baud and RSSI handling) Git: a9760494ef3ebac9f8661314fab2c0ed48a48736

* Resize /home/pi/data parition to 252Mb then increase root parition to 3.4Gb to make space for dist upgrade

* Enable firmware and distro to support new Raspberry Pi 2

    apt-get update && upgrade
    apt-get dist-upgrade
    rpi-update​

* Test support for Edimax WIFI

* Change host name raspberrypi > emonbase

If you have a chance do you think you could test the new image on a Raspberry Pi 2 before I make it public and post any bugs here. Thanks. 

 

glyn.hudson's picture

Re: Using Pre-Built SD card image with Raspberry Pi 2

I've started a new thread for this new SD card here: http://openenergymonitor.org/emon/node/10163

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.