Instalar Linux con XBMC en appletv1
Publicado: 22 Oct 2012, 00:22
Tutorial extraído de http://www.sinfuliphone.com/showthread.php?t=10002206
Web del proyecto http://stmlabs.com/projects/crystalhd-for-appletv/
Vídeos:
http://www.youtube.com/watch?v=ko0cwbGsKHU
http://www.youtube.com/watch?v=RJqyr0QRRvU
This project incorporates the drivers for BCM70012 and BCM70015 video decoders with XBMC on a base Linux image and a tool to install the distro on the residing drive inside the AppleTV. The distro is self-updating which allows users to have the latest updates without any complications.
Distributions are built from a core image from the atv-linux sister project.
The AppleTV (1st Generation) is a locked down device that runs a custom version of Mac OS X to serve as a vehicle of the iTunes ecosystem. It is possible to add payloads by booting into a minimal distribution of Linux (atv-bootloader) and writing frappliances to the internal disk to expand user functionality. One of these liberating appliances is XBMC. Playback however suffers two caveats under a stock AppleTV. Firstly, performance under the custom OS X distro is poor. The GPU is not utilised in playback, which leaves the underpowered 1.0Ghz Pentium M to handle video. This functions fine for video up to h264 L3.1 @ 1280X720 (it will play anything from iTunes, and in the eyes of Apple, this is all that is necessary of the device).
BCM70012/BCM70015
The playback limitations imposed by the processor’s shortcomings can be eliminated by the use of a Broadcom Video Accelerator Card. This card, which replaces the 802.11n WiFi card built-in on the current (and only) mini-pcie port, allows native decoding of the following codecs:
BCM70012: H.264/AVC HP at L 4.1 1080i, 40 Mbps H.264/AVC HP at L 3.0 480i H.264/AVC HP at L 3.2 720p SMPTE VC-1 AP at L 3 1080i, 40 Mbps
BCM70015: same (higher profiles), Flash 10.1+, DivX
This device allows you to revive the device by meeting the demands of new generation HD formats.
Linux
By running Linux on the aTV the user can unlock much more functionality. Aside from a less resource demanding distribution than OS X, the system offers a variety of features. These include, but are not limited to: 1920x1080p (not available in OS X); 23.976Hz mode (not available in OS X); faster; more flexible (add remotes, web browsers etc); quicker boot time; auto updating.
Rolling Linux Distributions
This project aims to therefore provide two distributions of Linux for AppleTV users with BCM70012/70015 decoders that can be installed on a USB stick or the internal hard drive. The distributions offer automatic updates to CrystalHD and XBMC stable releases. At the time of writing the offered distributions are Arch Linux (minimal), and Ubuntu 8.0.4 LTS (core). These prebuilt images, coupled with a UI installer for Windows users allow simplified installation of Linux, a formerly difficult task. This allows users to get the most out of a Linux distro with little or no Linux knowledge at all, in turn allowing them to focus on the most important thing: enjoying XBMC.
Instalación para Windows
Lo necesario es descargar este instalador http://download.stmlabs.com/bin/crystalhd_win.zip
1. Ejecuta el instalador. (requiere .NET Framework 2)
2. En la Distribución marca la de Ubuntu 8.0.4
3. Y en Installation Method marca Internal Hard Drive (disco duro interno)
4. Inserta un Pendrive de 4gb en USB en el pc (conectado a Internet, and mínimo 4gb de espacio en disco duro)
5. Marca el Pendrive USB insertado en Devices
6. Pincha el boton GO
7. Espera y deja que el instalador haga lo que tenga que hacer, te avisara cuando haya terminado.
(se descarga todo y prepara el archivo img para el USB y lo hace ejecutable para el atv1)
8. Desconecta el USB y apaga el atv1, inserta el USB en el atv1 y enchufalo.
9. Espera mientras acaba! (se toma su tiempo!) Apagalo cuando haya acabado (podras saber cuando ha acabado, muestra en pantalla algo como "please make a donation" en la esquina superior izquierda.
10. Ahora ya ha acabado, arranca directamente al XBMC y tendrás soporte al hardware a 1080p de tu tarjeta Broadcom xxxx15 o xxxx12.
Que incluye este Ubuntu:
Ubuntu 8.0.4 LTS (currently End of Life)
- Kernel version: 2.6.24-26-generic
- Un aerodinamizado mach_kernel
- atvclient LIRC control
- drivers para NVIDIA 100.14.19 (soporta sonido por HDMI)
- ALSA 1.0.19
- actualizaciones automáticas
- Username: atv, Password: atv
- XBMC Eden o Dharma
- USB Automontables
- Soporte para PVR (capturador de video)
- AirPlay
- AirTunes
- Soporte para AFP, NFS y SMB
- completamente revertible
Estructura de Imagen
Partición Tipo / Tamaño / Posicion
Recovery ~35MB /dev/sdx1
Swap 512MB /dev/sdx2
Linux ~. 3GB /dev/sdx3
Primer arranque
El primer arranque puede ser un proceso muy largo. Para mayor comodidad, los driver CrystalHD o la instalación XBMC se distribuyen con la imagen. Por lo tanto, Ubuntu cogerá las últimas versiones estables de los repositorios, que podrá llevar unos pocos minutos. Esto es parte de un servicio automático de actualizaciones, que se puede desconectar con facilidad. Tras ese proceso completado, el sistema esta listo para ser usado.
Pasos post Instalatorios
Desactivando actualizacioness, cambiando contraseñas, etc.
Si quiere hacer algunos cambios en su sistema, como cambiar la contraseña por defecto, regenerar un nuevo SSH key por seguridad o desactivar actualizaciones, hay una lista completa de comandos que puede ver con el comando ./info a través de SSH.
XBMC: Sonido
Hay algunas cosas que debían ser hechas en XBMC para conseguir una experiencia tan agradable como fuera posible. En primer lugar, debería configurar los codecs de audio que su receptor es capaz de Emitir en Ajustes> Sistema> Salida de audio. Esta es la razón principal de por qué los usuarios se quejan que ellos no pueden oír el sonido correctamente, eso es todo. Asegúrese que XBMC es consciente si usted tiene un receptor con sonido AC3 (DD) o DTS.
A continuación, esto es importante para asegurarse que la salida de audio a traves de XBMC va al dispositivo correcto. Esta distribucion de Ubuntu soporta salidas TOSLINK y HDMI. Para salidas HDMI (los sonidos del menun funcionan fuera de la caja — Julio 2011), es necesario ir a ajustes > Sistema > salida de audio y seleccionar la opción de Dispositivo customizado (obviamente habilitando Digital Sound Output), el dispositivo customizado ha de ser añadido exactamente como: plughw:0,3.
Usuarios que no usan HDMI pueden usar el siguiente comando sobre SSH: sudo rm /etc/asound.conf
XBMC: advancedsettings.xml
Como actualización de Julio, La mayor parte de esto esta hecho por ti
Los siguiente ajustes, aun no siendo necesarios , son recomendados para mejorar su funcionamiento. Se puede añadir a su archivo advancedsettings.xml . Este puede no existir todavía, pero puede crear uno rápidamente a través de SSH:
#to edit, run nano or vi
sudo nano /usr/local/share/xbmc/userdata/advancedsettings.xml
1. Limpiar su librería al inicio.
<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>
2. DDS fanart (después de que la librería sea procesada la velocidad se ve francamente incrementada)
<advancedsettings>
<useddsfanart>true</useddsfanart>
</advancedsettings>
Entonces, muestra algo como esto:
<advancedsettings>
<useddsfanart>true</useddsfanart>
<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>
</advancedsettings>
FAQ
Q: Que version de XBMC y CrystalHD incluye?
A: No hay ninguna específica. La distribución automáticamente coge las ultimas versiones.
Q: El primer inicio es muy lento. Por que?
A: Ubuntu esta configurando e instalando una versión actualizada de XBMC y CrystalHD. Esto no debería ser muy largo, y solo para cuando las actualizaciones estan saturadas.
Q: El arranque no es muy rápido, como puedo mejorar esto?
A: el arranque puede reducir la velocidad por el hecho que al inicio la distribución arranca un comando apt-get update que actualiza la lista de fuentes. Para mejorar la velocidad significativamente del arranque, puede desactivar esas actualizaciones, con el siguiente comando:
./disable_updates
Nota: después de la actualización de Mayo 2011, esto causa menor efecto en el tiempo de arranque porque el sistema de actualizaciones ha sido mejorado eficientemente.
Q: Esta soportado el audio por HDMI?
A: Si. Mira las instrucciones de post-instalación.
Q: Como puedo automontar unidades USB?
A: Desde la actualización de junio 2011, esto se hace automáticamente para ti y lo muestra en el XBMC por defecto.
Q: Can I update the kernel?
A: Yes — but any kernel changes will require you to recompile the mach_kernel. To do this, checkout the atv-bootloader source code, replacing the initrd.img and vmlinuz with that of the new kernel. Then run the make command after ensuring you have Darwin Cross Tools installed.
Q: Can I install to the internal drive, and secondly will it use all the available space?
A: Si a ambos. Usa el instalador UI.
Q: Puedo hacer que XBMC automáticamente se reinicio cuando se cierra o bloquea?
A: Desde la actualización de Junio 2011, esto hace que automáticamente después el sistema se reinicie. El reinicio lo hace para liberar la memoria consumida con esperanza que mejore la experiencia.
Para recuperar el acceso a la sesión TTY en cualquier momento, borre el comando de reinicio desde /etc/rc.local en una sesión SSH.
Q: Como puedo obtener salida S-Video o Componentes?
A: Necesita hacer unas modificaciones a su archivo xorg.conf , que se pueden hacer con sudo nano /etc/X11/xorg.conf. See atvdisplay
Q: donde esta instalado XBMC?
A: Los binarios están disponibles en /usr/local/bin/xbmc, las carpetas de usuario en /usr/local/share/xbmc. Son diferentes a /usr/bin/xbmc y /usr/share/xbmc — el cambio se llevó a cabo en la actualización de Mayo 2011.
Q: What is the root user and password?
A: There isn’t one. In Ubuntu, the root account is disabled by default. To enable it you can run sudo passwd root, and specify a password. However there is no need for this, as you can just prefix your commands with sudo to run them with elevated privileges.
Q: Why does AirPlay not work?
A: Enable it under System > Network > “Allow XBMC to receive AirPlay content”
Q: How do I revert back to Dharma?
A: Very simple. Exit XBMC, SSH in and run the following commands:
sudo -s
wget http://download.stmlabs.com/bin/builds/ ... 011.tar.gz
tar -xzf xbmc-10.1-10062011.tar.gz
cp -R usr /
rm -rf usr
rm advancedsettings.xml
mv /root/.xbmc/userdata/advancedsettings.old.xml /root/.xbmc/userdata/advancedsettings.xml
Q: Aside from PVR builds, do you offer XBMC nightlies?
A: Yes — 7 days of nightlies can be located here, and they are built straight from the XBMC git head. Please see the forum for a full chroot build environment, the commands used to build and any issues. Installation is similar to that of Dharma, and should be followed as such (exit XBMC first):
sudo -s
nightlyname=’put tarball from nightly dir’
wget http://download.stmlabs.com/bin/builds/ ... me}.tar.gz
tar -xzf ${nightlyname}.tar.gz
cp -R usr /
rm -rf usr
Q: My screen is pink using HDMI output, how do I fix this?
A: This issue occurs because your system is outputting YPbPr (Component Video) via HDMI. This is because it has been configured this way in the native Apple operating system which has changed this setting in the video bios. Crystalbuntu can read but not change the video bios. You need to go back to the original OS and change video output to RGB High or RGB Low.
Q: Why can’t I turn off Apple TV or standby it? I can in frontrow.
A: Frontrow just turns the screen black. The AppleTV can’t be turned off properly because it lacks ACPI support — there is no power switch. For pseudo-standby support, set a screensaver to dim the screen in XBMC. This combined with current standby mechanisms such as spinning down the HDD will save power, reduce heat output.
Q: If I install Crystalbuntu to the internal drive, can I reinstall the Apple OS at a later date?
A: Yes — run the Windows or Linux installer, insert a USB and select Original Apple OS. You will then be able to perform a ‘Factory Restore’ on your AppleTV.
Q: What’s the difference between AirTunes and AirPlay support? I only see “Crystalbuntu” on my device.
A: The July update only offered video streaming, but the August update also brings audio streaming. Both daemons are given the same name so they only occupy one device listing on your iDevice. However it is possible to choose between speaker or video streaming. For example, if wanting to stream only music from YouTube.app, you can lock the iDevice, double tap home, press on the triangle and Crystalbuntu will have a speaker icon next to it, indicating that it is an AirTunes client. However, if you press the triangle while the video is playing on your screen, you will see a TV icon, indicating Crystalbuntu will receive video as well as audio. By supporting both forms of streaming, you can then stream pretty much anything to your device (be it Music from iPod.app or Videos)
Changelog
January 2012 Update
System Changes
Delete x86_x64 shared objects.
Install libusb
Install libCEC
Add 4therecord addon.
December 2011 Update
System Changes
Install ncurses-term, dialog
Install libbluray
Install BCM43228 driver
Non-relative python path for xbmc notification system.
Install configuration utility
October 2011 Update
System Changes
Remove Shairport
Remove libao2
Remove custom Perl
Update NFS library
New libraries: AFP, libshairport, jpeg turbo
Remove Shairport initialisation from rc.local
Fix machine-id in dbus
Fix hosts having the wrong host name after changing in Sep. update
September 2011 Update
System Changes
Remove APCore, libsmbclient, xbmc-eventclients-common, pybonjour, tornado
Symlink Python 2.6.7 as default Python interpreter
XBMC build with Python 2.6.7 interpreter as default.
Install new libplist, libsmbclient
XBMC uses integrated AP interface.
Change hostname to Crystalbuntu
Configure XBMC eventclient for Py 2.6.7
Reconfigure AirTunes to broadcast at XBMC@Crystalbuntu to match XBMC AirPlayer broadcast so they show as one device.
August 2011 Update
System Changes
Disable reverse DNS lookups (faster SSH login)
Install libnfs
Install pre-2.4 RTMP for Hulu
Install Avahi utils
Install minimal Perl (compiled from Natty perl base with diff gzip)
Configure Shairport
Hold back dangerous apt upgrades.
Send host name dhclient option to expose Crystalbuntu to dhcp or router
Change rc.local to initialise Shairport and to run hdparm statement in background, so users without an internal drive do not hang.
Update /etc/net/issue
July 2011 Update
System Changes
1. Install cpufrequtils libavahi-compat-libdnssd1 avahi-daemon ruby xbmc-eventclients-xbmc-send
2. Configure a CPU governor: conservative with 600-1000Mhz range.
3. Install Python 2.6.7, SQLite 3.7.7.1, Boost 1.4.6.1 and yajl-17b1790 for pre-Eden
4. Install SetupTools, Pip, Pybonjour, Tornado, SimpleJSON for AirPlay.
5. Install AirPlayer to /home/atv/scripts/apcore
5. Desymlink Python 2.6.7 so 2.5.2 is still default; ldconfig
6. Change swappiness back to 15
7. Disable mark messages in syslogkd for better IO
8. Change the welcome banner
9. Get rid of contents of /usr/share/doc; /usr/share/man
10. Fix HDMI sound globally (bugfix)
12. Update rc.local with hdparm to standby drive, airplayer startup.
13. New CrystalHD update script
XBMC Changes
1. Install an XBMC notification system to inform user when updates occur.
2. New PVR builds.
3. New AdvancedSettings.xml: Enable DDS fanart, dirty regions, cleaning on update.
June 2011 Update
System Changes
Changes to fstab: enable noatime for less unnecessary IO
Change swappiness to 1 in /etc/sysctl.conf – better memory handling
Add options ide_core ignore_cable=0 to /etc/modprobe.d/options — allows CF cards to operate in UDMA100
New mach_kernel to accomodate the new ramdisk from above change
Install hfsprogs
Install nvclock
Set clock speed of 7300 Go to 760 (memclk) and 200 (nvclk), register as mobile device
New rc.local with shutdown command, nvclock command
Install hald, policykit
Implement auto-mounting
Fix nano history bug by chowning atv’s nano history
Synchronisation system changes
Piping all rm references to /dev/null to silence any non-existent file deletes.
Amend May 2011 update to no longer reboot as the June 2011 one will do so before initialisation of XBMC.
Check for network connectivity, otherwise boot directly to XBMC.
Improvements to tarball handling
Quieter CrystalHD updating
May 2011 Update
XBMC Changes
XBMC now installed via tarballs, not apt.
XBMC dependencies updated via tarballs and not apt (in future builds)
XBMC devs no longer support Ubuntu 8.0.4, all builds are being compiled by Sam Nazarko.
Availability of XBMC updates checked with version number
System Changes
rc.local changed to run XBMC from /usr/local.
Faster boot as apt update no longer done at boot (dependencies resolved manually and only when update is available)
Quieter boot through wget -q parameter.
Fixed tty1 respawning bug
Web del proyecto http://stmlabs.com/projects/crystalhd-for-appletv/
Vídeos:
http://www.youtube.com/watch?v=ko0cwbGsKHU
http://www.youtube.com/watch?v=RJqyr0QRRvU
This project incorporates the drivers for BCM70012 and BCM70015 video decoders with XBMC on a base Linux image and a tool to install the distro on the residing drive inside the AppleTV. The distro is self-updating which allows users to have the latest updates without any complications.
Distributions are built from a core image from the atv-linux sister project.
The AppleTV (1st Generation) is a locked down device that runs a custom version of Mac OS X to serve as a vehicle of the iTunes ecosystem. It is possible to add payloads by booting into a minimal distribution of Linux (atv-bootloader) and writing frappliances to the internal disk to expand user functionality. One of these liberating appliances is XBMC. Playback however suffers two caveats under a stock AppleTV. Firstly, performance under the custom OS X distro is poor. The GPU is not utilised in playback, which leaves the underpowered 1.0Ghz Pentium M to handle video. This functions fine for video up to h264 L3.1 @ 1280X720 (it will play anything from iTunes, and in the eyes of Apple, this is all that is necessary of the device).
BCM70012/BCM70015
The playback limitations imposed by the processor’s shortcomings can be eliminated by the use of a Broadcom Video Accelerator Card. This card, which replaces the 802.11n WiFi card built-in on the current (and only) mini-pcie port, allows native decoding of the following codecs:
BCM70012: H.264/AVC HP at L 4.1 1080i, 40 Mbps H.264/AVC HP at L 3.0 480i H.264/AVC HP at L 3.2 720p SMPTE VC-1 AP at L 3 1080i, 40 Mbps
BCM70015: same (higher profiles), Flash 10.1+, DivX
This device allows you to revive the device by meeting the demands of new generation HD formats.
Linux
By running Linux on the aTV the user can unlock much more functionality. Aside from a less resource demanding distribution than OS X, the system offers a variety of features. These include, but are not limited to: 1920x1080p (not available in OS X); 23.976Hz mode (not available in OS X); faster; more flexible (add remotes, web browsers etc); quicker boot time; auto updating.
Rolling Linux Distributions
This project aims to therefore provide two distributions of Linux for AppleTV users with BCM70012/70015 decoders that can be installed on a USB stick or the internal hard drive. The distributions offer automatic updates to CrystalHD and XBMC stable releases. At the time of writing the offered distributions are Arch Linux (minimal), and Ubuntu 8.0.4 LTS (core). These prebuilt images, coupled with a UI installer for Windows users allow simplified installation of Linux, a formerly difficult task. This allows users to get the most out of a Linux distro with little or no Linux knowledge at all, in turn allowing them to focus on the most important thing: enjoying XBMC.
Instalación para Windows
Lo necesario es descargar este instalador http://download.stmlabs.com/bin/crystalhd_win.zip
1. Ejecuta el instalador. (requiere .NET Framework 2)
2. En la Distribución marca la de Ubuntu 8.0.4
3. Y en Installation Method marca Internal Hard Drive (disco duro interno)
4. Inserta un Pendrive de 4gb en USB en el pc (conectado a Internet, and mínimo 4gb de espacio en disco duro)
5. Marca el Pendrive USB insertado en Devices
6. Pincha el boton GO
7. Espera y deja que el instalador haga lo que tenga que hacer, te avisara cuando haya terminado.
(se descarga todo y prepara el archivo img para el USB y lo hace ejecutable para el atv1)
8. Desconecta el USB y apaga el atv1, inserta el USB en el atv1 y enchufalo.
9. Espera mientras acaba! (se toma su tiempo!) Apagalo cuando haya acabado (podras saber cuando ha acabado, muestra en pantalla algo como "please make a donation" en la esquina superior izquierda.
10. Ahora ya ha acabado, arranca directamente al XBMC y tendrás soporte al hardware a 1080p de tu tarjeta Broadcom xxxx15 o xxxx12.
Que incluye este Ubuntu:
Ubuntu 8.0.4 LTS (currently End of Life)
- Kernel version: 2.6.24-26-generic
- Un aerodinamizado mach_kernel
- atvclient LIRC control
- drivers para NVIDIA 100.14.19 (soporta sonido por HDMI)
- ALSA 1.0.19
- actualizaciones automáticas
- Username: atv, Password: atv
- XBMC Eden o Dharma
- USB Automontables
- Soporte para PVR (capturador de video)
- AirPlay
- AirTunes
- Soporte para AFP, NFS y SMB
- completamente revertible
Estructura de Imagen
Partición Tipo / Tamaño / Posicion
Recovery ~35MB /dev/sdx1
Swap 512MB /dev/sdx2
Linux ~. 3GB /dev/sdx3
Primer arranque
El primer arranque puede ser un proceso muy largo. Para mayor comodidad, los driver CrystalHD o la instalación XBMC se distribuyen con la imagen. Por lo tanto, Ubuntu cogerá las últimas versiones estables de los repositorios, que podrá llevar unos pocos minutos. Esto es parte de un servicio automático de actualizaciones, que se puede desconectar con facilidad. Tras ese proceso completado, el sistema esta listo para ser usado.
Pasos post Instalatorios
Desactivando actualizacioness, cambiando contraseñas, etc.
Si quiere hacer algunos cambios en su sistema, como cambiar la contraseña por defecto, regenerar un nuevo SSH key por seguridad o desactivar actualizaciones, hay una lista completa de comandos que puede ver con el comando ./info a través de SSH.
XBMC: Sonido
Hay algunas cosas que debían ser hechas en XBMC para conseguir una experiencia tan agradable como fuera posible. En primer lugar, debería configurar los codecs de audio que su receptor es capaz de Emitir en Ajustes> Sistema> Salida de audio. Esta es la razón principal de por qué los usuarios se quejan que ellos no pueden oír el sonido correctamente, eso es todo. Asegúrese que XBMC es consciente si usted tiene un receptor con sonido AC3 (DD) o DTS.
A continuación, esto es importante para asegurarse que la salida de audio a traves de XBMC va al dispositivo correcto. Esta distribucion de Ubuntu soporta salidas TOSLINK y HDMI. Para salidas HDMI (los sonidos del menun funcionan fuera de la caja — Julio 2011), es necesario ir a ajustes > Sistema > salida de audio y seleccionar la opción de Dispositivo customizado (obviamente habilitando Digital Sound Output), el dispositivo customizado ha de ser añadido exactamente como: plughw:0,3.
Usuarios que no usan HDMI pueden usar el siguiente comando sobre SSH: sudo rm /etc/asound.conf
XBMC: advancedsettings.xml
Como actualización de Julio, La mayor parte de esto esta hecho por ti
Los siguiente ajustes, aun no siendo necesarios , son recomendados para mejorar su funcionamiento. Se puede añadir a su archivo advancedsettings.xml . Este puede no existir todavía, pero puede crear uno rápidamente a través de SSH:
#to edit, run nano or vi
sudo nano /usr/local/share/xbmc/userdata/advancedsettings.xml
1. Limpiar su librería al inicio.
<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>
2. DDS fanart (después de que la librería sea procesada la velocidad se ve francamente incrementada)
<advancedsettings>
<useddsfanart>true</useddsfanart>
</advancedsettings>
Entonces, muestra algo como esto:
<advancedsettings>
<useddsfanart>true</useddsfanart>
<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>
</advancedsettings>
FAQ
Q: Que version de XBMC y CrystalHD incluye?
A: No hay ninguna específica. La distribución automáticamente coge las ultimas versiones.
Q: El primer inicio es muy lento. Por que?
A: Ubuntu esta configurando e instalando una versión actualizada de XBMC y CrystalHD. Esto no debería ser muy largo, y solo para cuando las actualizaciones estan saturadas.
Q: El arranque no es muy rápido, como puedo mejorar esto?
A: el arranque puede reducir la velocidad por el hecho que al inicio la distribución arranca un comando apt-get update que actualiza la lista de fuentes. Para mejorar la velocidad significativamente del arranque, puede desactivar esas actualizaciones, con el siguiente comando:
./disable_updates
Nota: después de la actualización de Mayo 2011, esto causa menor efecto en el tiempo de arranque porque el sistema de actualizaciones ha sido mejorado eficientemente.
Q: Esta soportado el audio por HDMI?
A: Si. Mira las instrucciones de post-instalación.
Q: Como puedo automontar unidades USB?
A: Desde la actualización de junio 2011, esto se hace automáticamente para ti y lo muestra en el XBMC por defecto.
Q: Can I update the kernel?
A: Yes — but any kernel changes will require you to recompile the mach_kernel. To do this, checkout the atv-bootloader source code, replacing the initrd.img and vmlinuz with that of the new kernel. Then run the make command after ensuring you have Darwin Cross Tools installed.
Q: Can I install to the internal drive, and secondly will it use all the available space?
A: Si a ambos. Usa el instalador UI.
Q: Puedo hacer que XBMC automáticamente se reinicio cuando se cierra o bloquea?
A: Desde la actualización de Junio 2011, esto hace que automáticamente después el sistema se reinicie. El reinicio lo hace para liberar la memoria consumida con esperanza que mejore la experiencia.
Para recuperar el acceso a la sesión TTY en cualquier momento, borre el comando de reinicio desde /etc/rc.local en una sesión SSH.
Q: Como puedo obtener salida S-Video o Componentes?
A: Necesita hacer unas modificaciones a su archivo xorg.conf , que se pueden hacer con sudo nano /etc/X11/xorg.conf. See atvdisplay
Q: donde esta instalado XBMC?
A: Los binarios están disponibles en /usr/local/bin/xbmc, las carpetas de usuario en /usr/local/share/xbmc. Son diferentes a /usr/bin/xbmc y /usr/share/xbmc — el cambio se llevó a cabo en la actualización de Mayo 2011.
Q: What is the root user and password?
A: There isn’t one. In Ubuntu, the root account is disabled by default. To enable it you can run sudo passwd root, and specify a password. However there is no need for this, as you can just prefix your commands with sudo to run them with elevated privileges.
Q: Why does AirPlay not work?
A: Enable it under System > Network > “Allow XBMC to receive AirPlay content”
Q: How do I revert back to Dharma?
A: Very simple. Exit XBMC, SSH in and run the following commands:
sudo -s
wget http://download.stmlabs.com/bin/builds/ ... 011.tar.gz
tar -xzf xbmc-10.1-10062011.tar.gz
cp -R usr /
rm -rf usr
rm advancedsettings.xml
mv /root/.xbmc/userdata/advancedsettings.old.xml /root/.xbmc/userdata/advancedsettings.xml
Q: Aside from PVR builds, do you offer XBMC nightlies?
A: Yes — 7 days of nightlies can be located here, and they are built straight from the XBMC git head. Please see the forum for a full chroot build environment, the commands used to build and any issues. Installation is similar to that of Dharma, and should be followed as such (exit XBMC first):
sudo -s
nightlyname=’put tarball from nightly dir’
wget http://download.stmlabs.com/bin/builds/ ... me}.tar.gz
tar -xzf ${nightlyname}.tar.gz
cp -R usr /
rm -rf usr
Q: My screen is pink using HDMI output, how do I fix this?
A: This issue occurs because your system is outputting YPbPr (Component Video) via HDMI. This is because it has been configured this way in the native Apple operating system which has changed this setting in the video bios. Crystalbuntu can read but not change the video bios. You need to go back to the original OS and change video output to RGB High or RGB Low.
Q: Why can’t I turn off Apple TV or standby it? I can in frontrow.
A: Frontrow just turns the screen black. The AppleTV can’t be turned off properly because it lacks ACPI support — there is no power switch. For pseudo-standby support, set a screensaver to dim the screen in XBMC. This combined with current standby mechanisms such as spinning down the HDD will save power, reduce heat output.
Q: If I install Crystalbuntu to the internal drive, can I reinstall the Apple OS at a later date?
A: Yes — run the Windows or Linux installer, insert a USB and select Original Apple OS. You will then be able to perform a ‘Factory Restore’ on your AppleTV.
Q: What’s the difference between AirTunes and AirPlay support? I only see “Crystalbuntu” on my device.
A: The July update only offered video streaming, but the August update also brings audio streaming. Both daemons are given the same name so they only occupy one device listing on your iDevice. However it is possible to choose between speaker or video streaming. For example, if wanting to stream only music from YouTube.app, you can lock the iDevice, double tap home, press on the triangle and Crystalbuntu will have a speaker icon next to it, indicating that it is an AirTunes client. However, if you press the triangle while the video is playing on your screen, you will see a TV icon, indicating Crystalbuntu will receive video as well as audio. By supporting both forms of streaming, you can then stream pretty much anything to your device (be it Music from iPod.app or Videos)
Changelog
January 2012 Update
System Changes
Delete x86_x64 shared objects.
Install libusb
Install libCEC
Add 4therecord addon.
December 2011 Update
System Changes
Install ncurses-term, dialog
Install libbluray
Install BCM43228 driver
Non-relative python path for xbmc notification system.
Install configuration utility
October 2011 Update
System Changes
Remove Shairport
Remove libao2
Remove custom Perl
Update NFS library
New libraries: AFP, libshairport, jpeg turbo
Remove Shairport initialisation from rc.local
Fix machine-id in dbus
Fix hosts having the wrong host name after changing in Sep. update
September 2011 Update
System Changes
Remove APCore, libsmbclient, xbmc-eventclients-common, pybonjour, tornado
Symlink Python 2.6.7 as default Python interpreter
XBMC build with Python 2.6.7 interpreter as default.
Install new libplist, libsmbclient
XBMC uses integrated AP interface.
Change hostname to Crystalbuntu
Configure XBMC eventclient for Py 2.6.7
Reconfigure AirTunes to broadcast at XBMC@Crystalbuntu to match XBMC AirPlayer broadcast so they show as one device.
August 2011 Update
System Changes
Disable reverse DNS lookups (faster SSH login)
Install libnfs
Install pre-2.4 RTMP for Hulu
Install Avahi utils
Install minimal Perl (compiled from Natty perl base with diff gzip)
Configure Shairport
Hold back dangerous apt upgrades.
Send host name dhclient option to expose Crystalbuntu to dhcp or router
Change rc.local to initialise Shairport and to run hdparm statement in background, so users without an internal drive do not hang.
Update /etc/net/issue
July 2011 Update
System Changes
1. Install cpufrequtils libavahi-compat-libdnssd1 avahi-daemon ruby xbmc-eventclients-xbmc-send
2. Configure a CPU governor: conservative with 600-1000Mhz range.
3. Install Python 2.6.7, SQLite 3.7.7.1, Boost 1.4.6.1 and yajl-17b1790 for pre-Eden
4. Install SetupTools, Pip, Pybonjour, Tornado, SimpleJSON for AirPlay.
5. Install AirPlayer to /home/atv/scripts/apcore
5. Desymlink Python 2.6.7 so 2.5.2 is still default; ldconfig
6. Change swappiness back to 15
7. Disable mark messages in syslogkd for better IO
8. Change the welcome banner
9. Get rid of contents of /usr/share/doc; /usr/share/man
10. Fix HDMI sound globally (bugfix)
12. Update rc.local with hdparm to standby drive, airplayer startup.
13. New CrystalHD update script
XBMC Changes
1. Install an XBMC notification system to inform user when updates occur.
2. New PVR builds.
3. New AdvancedSettings.xml: Enable DDS fanart, dirty regions, cleaning on update.
June 2011 Update
System Changes
Changes to fstab: enable noatime for less unnecessary IO
Change swappiness to 1 in /etc/sysctl.conf – better memory handling
Add options ide_core ignore_cable=0 to /etc/modprobe.d/options — allows CF cards to operate in UDMA100
New mach_kernel to accomodate the new ramdisk from above change
Install hfsprogs
Install nvclock
Set clock speed of 7300 Go to 760 (memclk) and 200 (nvclk), register as mobile device
New rc.local with shutdown command, nvclock command
Install hald, policykit
Implement auto-mounting
Fix nano history bug by chowning atv’s nano history
Synchronisation system changes
Piping all rm references to /dev/null to silence any non-existent file deletes.
Amend May 2011 update to no longer reboot as the June 2011 one will do so before initialisation of XBMC.
Check for network connectivity, otherwise boot directly to XBMC.
Improvements to tarball handling
Quieter CrystalHD updating
May 2011 Update
XBMC Changes
XBMC now installed via tarballs, not apt.
XBMC dependencies updated via tarballs and not apt (in future builds)
XBMC devs no longer support Ubuntu 8.0.4, all builds are being compiled by Sam Nazarko.
Availability of XBMC updates checked with version number
System Changes
rc.local changed to run XBMC from /usr/local.
Faster boot as apt update no longer done at boot (dependencies resolved manually and only when update is available)
Quieter boot through wget -q parameter.
Fixed tty1 respawning bug