RaspberryPi
From LinuxMCE
Please be aware that this is in flux as a transition is made to qOrbiter. RaspberryPi diskless creation has stabilized somewhat, MD and qMD capabilities do not configure automatically at this point.
Contents
Device Specification
The Raspberry Pi is an ARM based computer the size of a credit card. 700Mhz, 256MB or 512MB RAM, FastEthernet, 2xUSB, GPIO
Development
See Porting_Raspbian for the current development status of LinuxMCE on Raspberry Pi.
Media Director
The Raspberry Pi can be used as a minimal Media Director within LinuxMCE. The following instructions will show how to create a MD.
Requirements
- Your core must be LinuxMCE 1204 or higher.
- The Raspberry Pi must be plugged into the internal side of your LinuxMCE core's network to act as a media director.
- The Raspberry Pi must be a 512MB Model B (or B+). The Model A and the 256MB Model B do not have enough RAM to boot into Orbiter.
- The Raspberry Pi must be plugged in using the HDMI connector and using HDMI sound.
- The Raspberry Pi will detect the boot resolution of your television and adjust itself accordingly.
- If resolution has changed since the last boot the orbiter will be regenerated.
- You may wish to have a usb keyboard or mouse for interaction. USB-UIRT/MCE Remote is also possible but must be installed using the webadmin (device detection is working but the device is not added currently).
Setup Steps
- On the Core:
- Install the default pxe kernel package for a Raspberry Pi MD. (https://dl.dropboxusercontent.com/u/118201886/linux-image-default-raspbian-wheezy_3.10-3-rpi-lmce1_all.deb)
- To choose betwen an RPi MD and an RPi qMD at creation use this: (https://dl.dropboxusercontent.com/u/118201886/linux-image-default-raspbian-wheezy_3.10-3-rpi-lmce2_all.deb)
- edit /usr/pluto/bin/Diskless_CreateTBZ.sh to enable "raspbian_armhf" as the only TARGET_TYPE
- run /usr/pluto/bin/Diskless_CreateTBZ.sh to create a raspbian tarball
- Get the LinuxMCE Raspberry Pi MD sdcard contents.
- Download - https://dl.dropboxusercontent.com/u/118201886/sdcard.zip
- Format the sdcard for VFAT using the sd card formatter for Mac or Windows https://www.sdcard.org/downloads/formatter_4, or using mkfs on linux.
- Copy the entire contents of the sdcard zip to the newly formatted sdcard, all files should be in the root directory of the card with no sub-directories.
- Download - https://dl.dropboxusercontent.com/u/118201886/sdcard.zip
- Insert the sdcard into the Raspberry Pi.
- Power up the Raspberry Pi.
- On first boot the u-boot bootloader will start, it will grab the default pxe kernel/initrd.
- Raspberry Pi will display "Announced ourselves to the router" and the core will run Diskless_Setup to prepare the MD.
- The Raspberry Pi will reboot once Diskless_Setup completes properly.
- You should go to an existing orbiter and 'Reload the Router' after this point. You will be prompted to do so eventually on the moonPi, if you have not already done so.
- On second boot the bootloader on the sdcard will be updated to the version the MD image is using.
- The Raspberry Pi will reboot.
- On third boot LinuxMCE will slowly come to life. Please be patient. You will be presented with the Setup Wizard before too long.
What works
- Embedded phone works on rPi.
You'll have to delete /etc/asound.conf. You'll have to set audio to HDMI in webadmin -> Wizard -> Media Director for simplephone to switch to HDMI output. - OMX_Player (alpha)
maywill play audio and video after a router reload. You must have the appropriate codecs to play MPG and VC1 media. The codecs can be purchased from the rpi foundation.
What does not work
- Video Overlays
- MythTV
- Everything else... ;)
- Serial GSD, it works... but it kills the CPU and causes media stuttering. Ethernet GSD should be doable.