Difference between revisions of "RPi XBMC"
(→Ways of installing XBMC: Ways of installing XBMC) |
(all wikis are a work in progress) |
||
Line 1: | Line 1: | ||
− | + | =Installing XBMC on the raspberrypi= | |
+ | ==Dedicated image== | ||
+ | * [http://www.raspbmc.com/download/ raspbmc] | ||
+ | * [http://wiki.openelec.tv/index.php?title=Installing_OpenELEC_on_Raspberry_Pi openelec] | ||
+ | * Other [http://elinux.org/RPi_Distributions#Available_Distributions distributions] | ||
+ | ==Main apt repository== | ||
+ | * Not available for Debian wheezy yet | ||
+ | ==3rd party apt source== | ||
+ | * none available yet | ||
− | + | ==Installing from a .deb== | |
+ | * [http://selfprogramming.bplaced.net/index.php/2012/10/05/new-xbmcdeb-mainline-tree-for-raspberry-pi/comments/ nIerSify] | ||
− | + | ==Building on the raspberrypi== | |
+ | (takes a long time) | ||
+ | * [http://www.raspbian.org/RaspbianXBMC RaspbianXBMC] | ||
− | + | ==Building on a x86== | |
− | + | (more complicated then building on the raspberrypi) | |
− | + | ===Qemu=== | |
− | + | ====Windows==== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | ||
− | |||
− | |||
− | === | ||
* Get 'Putty' (Windows Installer) from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html | * Get 'Putty' (Windows Installer) from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html | ||
* Get latest 'Qemu-1.2.0-rc0-windows.zip' from http://lassauge.free.fr/qemu/ | * Get latest 'Qemu-1.2.0-rc0-windows.zip' from http://lassauge.free.fr/qemu/ | ||
Line 33: | Line 27: | ||
* Get most recent Raspbian image ('2012-09-18 Wheezy' at time of writing) from http://www.raspberrypi.org/downloads (The Foundation's version of Raspbian) | * Get most recent Raspbian image ('2012-09-18 Wheezy' at time of writing) from http://www.raspberrypi.org/downloads (The Foundation's version of Raspbian) | ||
* Install OpenVPN to get a working Network TAP driver from http://openvpn.net/index.php/download/community-downloads.html (get the Windows installer) | * Install OpenVPN to get a working Network TAP driver from http://openvpn.net/index.php/download/community-downloads.html (get the Windows installer) | ||
− | |||
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 | 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: | On Windows, create folder structure like so: | ||
D:\Qemu (holding the Qemu-1.2.0-rc0-windows.zip contents) | D:\Qemu (holding the Qemu-1.2.0-rc0-windows.zip contents) | ||
D:\Qemu\Raspbian (holding the 'kernel-qemu' file and the Raspbian image) | D:\Qemu\Raspbian (holding the 'kernel-qemu' file and the Raspbian image) | ||
− | |||
− | |||
First you need to use qemu-img to resize the img file: | First you need to use qemu-img to resize the img file: | ||
− | |||
− | |||
Usage is: qemu-img resize filename size | Usage is: qemu-img resize filename size | ||
− | |||
It helps to temporarily move the wheezy image into D:\Qemu | It helps to temporarily move the wheezy image into D:\Qemu | ||
− | |||
3.7G seems to be the max you can resize to. | 3.7G seems to be the max you can resize to. | ||
− | |||
− | |||
Open comandline and navigate to D:\Qemu | Open comandline and navigate to D:\Qemu | ||
− | |||
Example: qemu-img resize 2012-09-18-wheezy-raspbian.img 3.7G | 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: | 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 | 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. | |
− | 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. |
− | |||
− | |||
− | Resize the Raspbian rootfs | ||
− | |||
− | |||
− | |||
Fix raspi-config resize issue with Qemu: | Fix raspi-config resize issue with Qemu: | ||
− | |||
cp /usr/bin/raspi-config ~ | cp /usr/bin/raspi-config ~ | ||
sed -i 's/mmcblk0p2/sda2/' ~/raspi-config | sed -i 's/mmcblk0p2/sda2/' ~/raspi-config | ||
sed -i 's/mmcblk0/sda/' ~/raspi-config | sed -i 's/mmcblk0/sda/' ~/raspi-config | ||
sudo ~/raspi-config | sudo ~/raspi-config | ||
+ | ====Linux==== | ||
+ | * TODO | ||
+ | ===Cross compile=== | ||
+ | ====Windows==== | ||
+ | * TODO | ||
+ | ====Linux==== | ||
+ | * TODO | ||
+ | =References= | ||
+ | * http://www.raspbian.org/RaspbianXBMC | ||
+ | * http://debian.raspbian.com/qemu/README.txt | ||
+ | * http://linuxclues.blogspot.com/2007/06/installing-qemu-on-windows-vista.html | ||
+ | * http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/ | ||
+ | * http://www.raspbmc.com/wiki/technical/building-xbmc/ | ||
+ | * http://wiki.xbmc.org/index.php?title=HOW-TO_compile_XBMC_for_Linux_from_source_code | ||
+ | * http://wiki.xbmc.org/index.php?title=HOW-TO_compile_XBMC_for_Linux_on_Debian/Ubuntu | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Template:Raspberry Pi}} | {{Template:Raspberry Pi}} | ||
[[Category:RaspberryPi]] | [[Category:RaspberryPi]] |
Revision as of 11:21, 14 October 2012
Contents
Installing XBMC on the raspberrypi
Dedicated image
- raspbmc
- openelec
- Other distributions
Main apt repository
- Not available for Debian wheezy yet
3rd party apt source
- none available yet
Installing from a .deb
Building on the raspberrypi
(takes a long time)
Building on a x86
(more complicated then building on the raspberrypi)
Qemu
Windows
- Get 'Putty' (Windows Installer) from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
- Get latest 'Qemu-1.2.0-rc0-windows.zip' from http://lassauge.free.fr/qemu/
- Get 'kernel-qemu' from http://xecdesign.com/downloads/linux-qemu/kernel-qemu (Interesting read: http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/)
- Get most recent Raspbian image ('2012-09-18 Wheezy' at time of writing) from http://www.raspberrypi.org/downloads (The Foundation's version of Raspbian)
- Install OpenVPN to get a working Network TAP driver from http://openvpn.net/index.php/download/community-downloads.html (get the Windows installer)
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
Linux
- TODO
Cross compile
Windows
- TODO
Linux
- TODO
References
- http://www.raspbian.org/RaspbianXBMC
- http://debian.raspbian.com/qemu/README.txt
- http://linuxclues.blogspot.com/2007/06/installing-qemu-on-windows-vista.html
- http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/
- http://www.raspbmc.com/wiki/technical/building-xbmc/
- http://wiki.xbmc.org/index.php?title=HOW-TO_compile_XBMC_for_Linux_from_source_code
- http://wiki.xbmc.org/index.php?title=HOW-TO_compile_XBMC_for_Linux_on_Debian/Ubuntu
|