{"id":173,"date":"2015-04-23T22:03:23","date_gmt":"2015-04-23T21:03:23","guid":{"rendered":"http:\/\/darkandscary.co.uk\/?p=173"},"modified":"2015-04-23T22:03:23","modified_gmt":"2015-04-23T21:03:23","slug":"upgrades-to-my-pi-fleet","status":"publish","type":"post","link":"https:\/\/darkandscary.co.uk\/?p=173","title":{"rendered":"Upgrades to my Pi fleet"},"content":{"rendered":"<p>I have recently expanded my collection of the little Raspberry Pi computers as MyGoodLadyWife has bought me a Pi2. I am hoping to be able to use the extra processing power due to the increased clock speed and quad-core CPU to good effect as a controller for a software defined radio. (More on that to come&#8230;)<\/p>\n<p>But first, I needed to install an operating system. I did not want to simply transfer the existing SD card from the Pi B+ that Hector was proudly sitting atop of in my previous post. This is because the Raspbian image on that card is crafted to work on an ARMv6 CPU, whereas I can now use an image for an ARMv7 &#8216;HardFloat&#8217;.<\/p>\n<p>I wanted to stay with Debian on my Pi2 so a quick trip to the relevant page on the <a href=\"https:\/\/wiki.debian.org\/RaspberryPi\" target=\"_blank\">Debian Wiki<\/a> shows that there is a suitable image available for Debian 8, otherwise known as &#8216;Jessie&#8217;. So, I opened up the SpartiPi case and swapped out the old B+ for the new Pi2 (note that the case takes the Pi2 with as much ease as the original B+ it was designed for.)<\/p>\n<p>So, all set to introduce the Pi2 to Debian Jessie. What steps are needed to make it all happen?<\/p>\n<p>First, follow the link from the Debain Wiki to &#8221; <a class=\"http\" href=\"http:\/\/sjoerd.luon.net\/posts\/2015\/02\/debian-jessie-on-rpi2\/\">Debian Jessie on Raspberry Pi 2<\/a> by Sjoerd Simons of Collabora&#8221;. This will take you to a page with more background information as well as a link to where the bootable images can be found. I ended up downloading the following files:<\/p>\n<pre>jessie-rpi2-20150202.img.bmap\r\njessie-rpi2-20150202.img.gz<\/pre>\n<p>Great! I have the image file, but what does that bmap file do? On his page, Sjoerd recommends using a <code><\/code>tool called &#8216;bmap-tools&#8217; to write the image to the SD card. I had to pause to check if it was possible to install it on the machine I use to program my SD cards and yes, it is. There is a repository for OpenSUSE 13.1 which I currently use (as MGLW is very fond of Geeko the Chameleon, the OpenSUSE mascot!). I added a repository to Yast which I named &#8216;Tizen&#8217; with the following URL:<\/p>\n<pre>\u00a0http:\/\/download.tizen.org\/tools\/latest-release\/openSUSE_13.1\/<\/pre>\n<p>This allowed me to install <code>bmap-tools<\/code> after which I was able to bring up a root console, change to the directory where the image and bmap file were stored and use the following command to write the image to the SD card:<\/p>\n<pre>\u00a0bmaptool copy jessie-rpi2-20150202.img.gz \/dev\/sdd<\/pre>\n<p>While at first glance it seems a lot of effort to install and use this tool it does have an advantage over using <code>dd<\/code> in that it gives an indication of progress in terms of percentage completed and it also gives an indication at the end that the process was successful.<\/p>\n<p>The Pi2 is now on the bench, powered up and running Debian Jessie for ARMv7. I have been able to use the <code>apt-get update<\/code> and <code>apt-get upgrade<\/code> commands successfully so it looks like it is working correctly.<\/p>\n<p>More to follow on my task of putting this little computer to work in my radio shack&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have recently expanded my collection of the little Raspberry Pi computers as MyGoodLadyWife has bought me a Pi2. I am hoping to be able to use the extra processing power due to the increased clock speed and quad-core CPU to good effect as a controller for a software defined radio. (More on that to &hellip; <a href=\"https:\/\/darkandscary.co.uk\/?p=173\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Upgrades to my Pi fleet<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-173","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=173"}],"version-history":[{"count":3,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":179,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions\/179"}],"wp:attachment":[{"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darkandscary.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}