Tuesday, 15 May 2012

Raspberry Pi - OpenELEC / XBMC

After several hours of compiling - I've got a working OpenELEC (XBMC) image for Raspberry Pi! I've given it a quick test and most things seem to work ok. I followed the build instructions from the OpenELEC site and the builds from the past couple of days seemed to fail for various reasons but yesterday mornings (10954) seemed to build perfectly! For anyone not wanting to bother with compiling and formatting their SD card - I've put this into an image you can write to your SD card with dd or win32imager.

(Update - 21/05/2012) - A few people have commented that the image is too large for some 8Gb SD cards. The card I used to create the image shows up as 16152576 512byte sectors so if your card is smaller than this, you might be out of luck. In this case, use the Binary only download and follow the 'preparing and formatting' instructions below.

OpenELEC for Raspberry Pi - Build 10954 (8GB Image)

Edit: I've added the binaries too for anyone using an SD card which is smaller than 8Gb. If you want to use these, you'll need to prepare your SD card according to the this page, but using the files from the zip instead of the target directory.

OpenELEC for Raspberry Pi - Binaries only

13 comments:

  1. has anyone checked this 8 GB actually fits on to an 8GB SD card? I have 3 different ones, and it won't fit.

    I'm trying to mount the image, then resize, but without a real linux box (booting Ubuntu off a USB stick isn't any good), I'm struggling.

    ReplyDelete
  2. it was made on an 8gb card so I would hope so :) try with the binaries and a blank card if you're having problems with the image

    ReplyDelete
  3. Alas! Not enough space on disk: Size 16152576 sectors Available 15523840 sectors Sector size: 512

    ReplyDelete
  4. Same here , not enough disk space on an 8gb sd

    ReplyDelete
  5. I'll check out the size next week, maybe my SD card is an odd size. you can use the binaries with a little bit of setup on any card though. @cmdric - I'm not sure how well sabnzbd will work when openelec itself is fairly slow.

    ReplyDelete
  6. Post updated - looks like my card might be slightly larger than a standard 8GB card (very odd - it's exactly as Ted mentioned above. At least that means DD worked properly!). If you follow the binary only instructions, you'll be able to format your own card to get it working. Don't worry - it's pretty simple!

    ReplyDelete
  7. Could you please post the list of commands to write the binary file to any SD card?
    I have know how about changing directory paths to match my system and also pointing files to the correct drives, but not sure about the rest.

    A neat list of commands would really help newbies like myself.

    Thanks
    Jas

    ReplyDelete
  8. The post does have a link to a pretty good step by step, but I've just put up some more instructions on this method here http://www.root9.net/2012/05/raspberry-pi-formatting-sd-card-for.html

    ReplyDelete
  9. Ok excellent, i want to learn so am building OpenElec in Terminal right now, hopefully it doesnt stop and ask for another dependency...

    ReplyDelete
  10. If you download binaries only, then when you unpack it you will find in that directory shell script create_sdcard, so go to unpacked directory, run the command ./create_sdcard /dev/sdb and it will create card with everything.

    Tested last night and it's working like a charm.

    Replace /dev/sdb with your device name where the card is placed.

    ReplyDelete
  11. Hi,

    Works fine here with a 16GB sd card. :)
    Every time I try to connect the Raspberry to a router, xmbc shows the same IP. I've try already with 2 routers with different range of IP's but on XBMC shows always the same IP. Are this image of XMBC forcing a fixed IP?

    Best regards,

    Nuno

    ReplyDelete
    Replies
    1. Hey, I certainly haven't set it for any static IP - the images are a clean build from the openelec git page but someone else has mentioned this before. I'm pretty sure you can just reconfigure it within the interface?

      Delete