Difference between revisions of "RaspberryPi"
From LinuxMCE
(→Setup Steps) |
m (→Setup Steps) |
||
Line 15: | Line 15: | ||
===Setup Steps=== | ===Setup Steps=== | ||
− | PLEASE NOTE, THESE STEPS | + | PLEASE NOTE, THESE STEPS WILL BE ACTIVE ON [[LinuxMCE-1204_pre-alpha]] AFTER UPDATE #27784. |
*On the Core: | *On the Core: | ||
**Install the default pxe image for the Raspberry Pi. (https://dl.dropboxusercontent.com/u/118201886/linux-image-default-raspbian-wheezy_3.6-trunk-rpi-lmce1_all.deb) | **Install the default pxe image for the Raspberry Pi. (https://dl.dropboxusercontent.com/u/118201886/linux-image-default-raspbian-wheezy_3.6-trunk-rpi-lmce1_all.deb) | ||
Line 26: | Line 26: | ||
*Power up the Raspberry Pi. | *Power up the Raspberry Pi. | ||
*The u-boot bootloader will start, it will grab the default pxe kernel/initrd. | *The u-boot bootloader will start, it will grab the default pxe kernel/initrd. | ||
+ | There is a kernel bug that can try to load nfs prior to the network driver. If have a kernel panic then reboot the pi and try again. | ||
*Raspberry Pi will display "Announced ourselves to the router" and the core will run Diskless_Setup to prepare the MD. | *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. | *The Raspberry Pi will reboot once Diskless_Setup completes properly. |
Revision as of 01:57, 3 August 2013
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
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
- 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. 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.
- You may wish to have a usb keyboard or mouse for interaction. USB-UIRT/MCE Remote is also possible.
Setup Steps
PLEASE NOTE, THESE STEPS WILL BE ACTIVE ON LinuxMCE-1204_pre-alpha AFTER UPDATE #27784.
- On the Core:
- Install the default pxe image for the Raspberry Pi. (https://dl.dropboxusercontent.com/u/118201886/linux-image-default-raspbian-wheezy_3.6-trunk-rpi-lmce1_all.deb)
- edit /usr/pluto/bin/Diskless_CreateTBZ.sh to enable "raspbian_armhf" as a TARGET_TYPE
- run /usr/pluto/bin/Diskless_CreateTBZ.sh to create a raspbian tarball
- Get the LinuxMCE Raspberry Pi MD sdcard contents. (https://dl.dropboxusercontent.com/u/118201886/sdcard.zip)
- Format an sdcard for VFAT using your favourite method. (Windows should default to VFAT when formatting the sdcard from within Explorer.)
- Copy the entire sdcard contents to the newly formatted sdcard.
- Insert the sdcard into the Raspberry Pi.
- Power up the Raspberry Pi.
- The u-boot bootloader will start, it will grab the default pxe kernel/initrd.
There is a kernel bug that can try to load nfs prior to the network driver. If have a kernel panic then reboot the pi and try again.
- 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.
- On first boot the bootloader on the sdcard will be updated to the version the MD image is using.
- The Raspberry Pi will reboot.
- On second boot the Raspberry Pi will ask you to do a "Quick Reload Router".
- The Setup Wizard will be displayed. You will not have any audio or video in the Setup Wizard (it is trying to use xine)
- Complete the setup wizard, which will reload the router when finished.
What works
- Embedded phone works on rPi. You'll have to set audio to HDMI in webadmin -> Wizard -> Media Director for simplephone to switch to HDMI output.
What does not work
- Audio playback: xine-player always wants to initialize video, even for audio MP3 files. It fails because it can't initialize 'xv' or 'xshm' video driver.
- Video playback: omxplayer integration is in pipeline
- remove the xine player and mplayer devices from your new media director and the omx player (very alpha) may play audio and video after a router reload.