Start with the debian6-19-04-2012 image.
Get https://github.com/raspberrypi/firmware.
Copy all files in firmware/boot to /boot
.
Replace /opt/vc
with firmware/opt/vc.
Replace /lib/modules/3.1.9+
with firmware/modules/3.1.9+.
Install dependencies:
sudo apt-get -y install autoconf libboost-dev libass-dev libmpeg2-4-dev libmad0-dev libjpeg-dev libsamplerate0-dev libogg-dev libvorbis-dev libmodplug-dev libcurl4-gnutls-dev libflac-dev libmysqlclient-dev libbz2-dev libtiff4-dev libssl-dev libssh-dev libsmbclient-dev libyajl-dev libfribidi-dev libsqlite3-dev libpng12-dev libpcre3-dev libpcrecpp0 libcdio-dev libiso9660-dev libfreetype6-dev libjasper-dev libmicrohttpd-dev python-dev python-sqlite libplist-dev libavahi-client-dev
Copy arm-bcm2708/linux-x86/arm-bcm2708-linux-gnueabi/sys-root/lib/libstdc++.so.6.0.14
from
https://github.com/raspberrypi/tools to /usr/lib
.
Run:
sudo ldconfig
Put the xbmc-bcm directory in /opt
, and run with:
sudo LD_LIBRARY_PATH=/opt/xbmc-bcm/xbmc-bin/lib /opt/xbmc-bcm/xbmc-bin/lib/xbmc/xbmc.bin