From eLinux.org
Revision as of 13:48, 14 October 2012 by Elatllat (talk | contribs) (Installing from a .deb)
Jump to: navigation, search

Installing XBMC on the raspberrypi

Dedicated image

Main apt repository

  • Not available for Debian wheezy yet

3rd party apt source

  • none available yet

Installing from a .deb

maintaner Latest build
nIerSify 2012-10-04 19:12:29
tomaz 2012-07-29 08:40:32
memetic 2012-07-15 14:46:43

Building on the raspberrypi

(takes a long time)

Building on a x86

(more complicated then building on the raspberrypi)



After installing OpenVPN follow this guide to create (remember it's name and make sure there's no spaces in it) a network TAP interface http://linuxclues.blogspot.com/2007/06/installing-qemu-on-windows-vista.html On Windows, create folder structure like so:

D:\Qemu (holding the Qemu-1.2.0-rc0-windows.zip contents)
D:\Qemu\Raspbian (holding the 'kernel-qemu' file and the Raspbian image)

First you need to use qemu-img to resize the img file: Usage is: qemu-img resize filename size It helps to temporarily move the wheezy image into D:\Qemu 3.7G seems to be the max you can resize to. Open comandline and navigate to D:\Qemu Example: qemu-img resize 2012-09-18-wheezy-raspbian.img 3.7G Then create a .bat file under D:\Qemu, containing the following launch string:

qemu-system-armw.exe -M versatilepb -cpu arm1136 -m 1024 -kernel raspbian\kernel-qemu -hda raspbian\2012-09-18-wheezy-raspbian.img -net nic -net tap,ifname=TAP0 -append "root=/dev/sda2 panic=1" -serial stdio

Note: Replace TAP0 with whatever your Tap interface is named. I would suggest renaming it to something without spaces. ie. Tap0. Resize the Raspbian rootfs. Fix raspi-config resize issue with Qemu:

cp /usr/bin/raspi-config ~
sed -i 's/mmcblk0p2/sda2/' ~/raspi-config                                                                              
sed -i 's/mmcblk0/sda/' ~/raspi-config
sudo ~/raspi-config


  • TODO

Cross compile


  • TODO


  • TODO