Difference between revisions of "RaspberryPi"

From LinuxMCE
Jump to: navigation, search
m (Setup Steps)
Line 6: Line 6:
 
==Device Specification==
 
==Device Specification==
 
The Raspberry Pi is an ARM based computer the size of a credit card.  700Mhz, 256MB or 512MB RAM, FastEthernet, 2xUSB, GPIO
 
The Raspberry Pi is an ARM based computer the size of a credit card.  700Mhz, 256MB or 512MB RAM, FastEthernet, 2xUSB, GPIO
 +
 +
When using the sdcard below the RPi will be overclocked using the standard Raspberry Pi foundation overclock settings.  These are throttled automatically as thermally required.  You are free to overclock the device further by editing the config.txt file on the sdcard.
  
 
==Development==
 
==Development==
Line 17: Line 19:
 
* 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 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 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 must be plugged in using the HDMI connector<del> and using HDMI sound</del>.  Set an S (for Stereo) or H (for HDMI) for the Audio Settings for the MD in webadmin.
 
** The Raspberry Pi will detect the boot resolution of your television and adjust itself accordingly.
 
** 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.
 
** 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).
+
* You may wish to have a usb keyboard or mouse for orbiter 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===
 
===Setup Steps===
 
*On the Core:
 
*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)
+
**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) This image will create an RPi MD (DT#2216) only.
**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)
+
**-- To be able to choose betwen an RPi MD and an RPi qMD (as well as other possible rpi Device Templates) at MD creation use this (https://dl.dropboxusercontent.com/u/118201886/linux-image-default-raspbian-wheezy_3.10-3-rpi-lmce2_all.deb) as the default image instead.  This image will allow you to choose from multiple RPi based image including RPi MD (DT#2216), RPi qMD (DT#2281) and others.
**edit /usr/pluto/bin/Diskless_CreateTBZ.sh to enable "raspbian_armhf" as the only TARGET_TYPE
+
**edit /usr/pluto/bin/Diskless_CreateTBZ.sh and enable "raspbian_armhf" as the only TARGET_TYPE, be sure to comment (use a #) any other TARGET_TYPE lines so that only this one is enabled.
**run /usr/pluto/bin/Diskless_CreateTBZ.sh to create a raspbian tarball
+
**run /usr/pluto/bin/Diskless_CreateTBZ.sh to create a raspbian tarball<del>, and sdcard.zip file on your core</del>.
  
 
*Get the LinuxMCE Raspberry Pi MD sdcard contents.
 
*Get the LinuxMCE Raspberry Pi MD sdcard contents.
Line 35: Line 37:
 
*Insert the sdcard into the Raspberry Pi.
 
*Insert the sdcard into the Raspberry Pi.
 
*Power up 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.
+
*On first boot the u-boot bootloader will start, it will try to grab various different pxe files until it finally finds the default pxe kernel and initrd.
*Raspberry Pi will display "Announced ourselves to the router" and the core will run Diskless_Setup to prepare the MD.
+
*The kernel will boot, there is a 10second delay when activating the ethernet drivers to allow for the hardware to respond properly, this delay only occurs during the default kernel/initrd boot.
*The Raspberry Pi will reboot once Diskless_Setup completes properly.
+
*Raspberry Pi will display "Announced ourselves to the router".
 +
**If you have the lmce1 default image installed (see above,) the core will run Diskless_Setup to prepare an RPi MD.
 +
**If you have the lmce2 default image installed (see above,) you will be prompted on existing orbiters to select the type of RPi device you would like installed.  Once you have made your selection the core will run Diskless_Setup to prepare the device.
 +
*The Raspberry Pi will reboot automatically 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.
 
*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.
+
*On the second boot (called the 'FIRSTRUN') the bootloader on the sdcard will be updated to the version on the diskless image.
*The Raspberry Pi will reboot.
+
*The Raspberry Pi will reboot again.
*On third boot LinuxMCE will slowly come to life.  Please be patient.  You will be presented with the Setup Wizard before too long.
+
*On the third boot LinuxMCE will slowly come to life.  Please be patient, this can take up to 15 minutes.  You will be presented with the Setup Wizard before too long.
 +
 
 +
===Manual Setting===
 +
*Overscan - currently only able to change by manually editing the config.txt file on the sdcard.
 +
*Overscan compensation - currently only able to change by manually editing the config.txt file on the sdcard.
 +
**Orbiter will automatically regenerate after rebooting and detecting a new resolution display resolution.
 +
*Audio settings are adjusted in webadmin: S = Stereo, H = HDMI, H3 = HDMI with passthrough capability for AC3 & DTS
  
 
===What works===
 
===What works===
* Embedded phone works on rPi. <del>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.</del>
+
*Orbiter UI1
*OMX_Player (alpha) <del>may</del> will 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.
+
*Photo Screen Saver
 +
*AppServer
 +
*HAL
 +
*Embedded phone.
 +
*OMX_Player (alpha) will play audio and video.  You must have the appropriate codecs to play MPG and VC1 media.  The codecs can be purchased from the Raspberry Pi foundation.
 +
*USB-UIRT
 +
*Others? Please add additional, known to be working, devices here.
  
 
===What does not work===
 
===What does not work===

Revision as of 03:02, 11 September 2014

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.

Device Specification

The Raspberry Pi is an ARM based computer the size of a credit card. 700Mhz, 256MB or 512MB RAM, FastEthernet, 2xUSB, GPIO

When using the sdcard below the RPi will be overclocked using the standard Raspberry Pi foundation overclock settings. These are throttled automatically as thermally required. You are free to overclock the device further by editing the config.txt file on the sdcard.

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. Set an S (for Stereo) or H (for HDMI) for the Audio Settings for the MD in webadmin.
    • 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 orbiter 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

  • Get the LinuxMCE Raspberry Pi MD sdcard contents.
  • Insert the sdcard into the Raspberry Pi.
  • Power up the Raspberry Pi.
  • On first boot the u-boot bootloader will start, it will try to grab various different pxe files until it finally finds the default pxe kernel and initrd.
  • The kernel will boot, there is a 10second delay when activating the ethernet drivers to allow for the hardware to respond properly, this delay only occurs during the default kernel/initrd boot.
  • Raspberry Pi will display "Announced ourselves to the router".
    • If you have the lmce1 default image installed (see above,) the core will run Diskless_Setup to prepare an RPi MD.
    • If you have the lmce2 default image installed (see above,) you will be prompted on existing orbiters to select the type of RPi device you would like installed. Once you have made your selection the core will run Diskless_Setup to prepare the device.
  • The Raspberry Pi will reboot automatically 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 the second boot (called the 'FIRSTRUN') the bootloader on the sdcard will be updated to the version on the diskless image.
  • The Raspberry Pi will reboot again.
  • On the third boot LinuxMCE will slowly come to life. Please be patient, this can take up to 15 minutes. You will be presented with the Setup Wizard before too long.

Manual Setting

  • Overscan - currently only able to change by manually editing the config.txt file on the sdcard.
  • Overscan compensation - currently only able to change by manually editing the config.txt file on the sdcard.
    • Orbiter will automatically regenerate after rebooting and detecting a new resolution display resolution.
  • Audio settings are adjusted in webadmin: S = Stereo, H = HDMI, H3 = HDMI with passthrough capability for AC3 & DTS

What works

  • Orbiter UI1
  • Photo Screen Saver
  • AppServer
  • HAL
  • Embedded phone.
  • OMX_Player (alpha) will play audio and video. You must have the appropriate codecs to play MPG and VC1 media. The codecs can be purchased from the Raspberry Pi foundation.
  • USB-UIRT
  • Others? Please add additional, known to be working, devices here.

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.