v. 11082018
viewtopic.php?f=61&t=4073&start=150#p231329
v. 30032015
!!! As Odroid-XU has been deprecated for a while already, this is the final release for XU Ubuntu Trusty Dev Center !!!
* image now is for 16GB sd/emmc!
* updated to Ubuntu 14.04.02
* boots into Kodi 14.2 final (/etc/init upstart script)
* custom kernel based on 3.4.106 (this is final 3.4 kernel, HK last kernel was 3.4.103) with Android pre-req and SPI pins enabled (git source available, for those curious)
* pulse-audio removed, kernel patched for stable ALSA operation
* installed boblight, with default configuration for 50 LEDs, and /etc/init startup script (currently disabled, can be enabled by renaming to .conf)
* updated java to oracle jdk8u33
* updated kodi to 14.2 final (git source + patches + builds to .deb packages)
* updated libcec to 2.2.0 (git source + builds to .deb package), patched for HDMI CEC environment variable, set by default to HDMI-1 in /etc/environment
* patched SDL1.2 and removed all X11 parts to trim-down kodi dependencies (source + builds to .deb packages)
* updated libhybris (git source + builds to .deb packages)
* libshairplay (git source + patches + builds to .deb package)
* added rtl8191su kernel module code (source + module installed in kernel)
* added xbmc-pvr-addons (git source) + addons compiled into .zip that can be installed into kodi (zip files available in the src/deb folder)
* disabled android-media-server and android-service-manager services (required for hybris media decoding; but kodi currently uses native MFC decoder)
MUST-DO after writing image to emmc/sd card:
* resize partition
* change ssh private keys
User/password:
* root/odroid
* odroid/odroid
UART console enabled, but auto-login disabled!
v. 30082014
Download link: http://oph.mdrjr.net/memeka/xu-trusty-d ... 014.img.xz (1GB)
MD5 sums:
MD5 (xu-trusty-dev_ceneter-30082014.img.xz) = dbcd8d8f94fd854554b504a79aaf2cc1
MD5 (xu-trusty-dev_ceneter-30082014.img) = 2027716a4ad7cfae8ae8e77e87ba646c
* updated to Ubuntu 14.04.01
* boots into XBMC 13.2 final
* kernel 3.4.103 custom config (with enabled Android prerequisites)
* known issue: pulseaudio locks up when shutting down
v. 10032014
Download link: http://oph.mdrjr.net/memeka/xu-trusty-o ... 014.img.xz, mirror: https://db.tt/6bCkJf2O
MD5 sums:
f25c12358213395afa13bbba72b4bcb2 xu-trusty-odroid-10032014.img.xz
d6481330064c3a5792ab8d49fa5d1a17 xu-trusty-odroid-10032014.img
* Ubuntu 14.04 Trusty Tahr (development branch) CORE rootfs from http://cdimage.ubuntu.com/ubuntu-core/daily/current/
* Kernel 3.4.76 (HEAD 88727487c1ed7a73f9c8233484a00de1b1cf7adc) custom config (with enabled Android prerequisites)
* installed Android files in /system and symlinked /vendor to /system/vendor
* installed Android /etc/media_codecs.xml
* set up Android services /etc/init/android-service-manager.conf and /etc/init/android-media-server.conf (scripts by hgblob)
* copied newer MFC firmware in /lib/firmware
* enabled all repositories in /etc/apt/sources.list
* set up UART console ttySAC2 in /etc/securetty and /etc/init/ttySAC2.conf
* commented out v4l_id in /lib/udev/rules.d/60-persistent-v4l.rules to resolve errors when booting
* commented out plymouth splash in /etc/init/plymouth-splash.conf to resolve errors when booting (ubuntu specific)
* uninstalled ureadahead to resolve errors when booting (ubuntu specific)
* set up fsck on boot in /etc/default/rcS
* configure ALSA settings in /etc/asound.conf (not working great, pulseaudio should give better result)
* set up mount paths in /etc/fstab; symlink /boot to /media/boot
* installed sun java jdk 1.8 (b132 from 03/03/2014) in /usr/lib/jvm/jdk1.8.0 and set up alternatives for java and javac
* installed libhybris from ubuntu sources with custom patches (see /root/libhybris/compile.sh a tutorial)
* set up EGL_PLATFORM=hwcomposer for libhybris in /etc/environment
* installed libcec (source in /root/libcec, installed in /usr/local)
* installed all packages required to compile XBMC
* compiled and installed XBMC Gotham Beta 2 10/03/2014 in /root/xbmc (installed in /usr/local)
* installed kernel source from HK repository in /root/odroidxu-3.4.y (git HEAD 88727487c1ed7a73f9c8233484a00de1b1cf7adc)
* compiled and installed kernel and modules (3.4.76)
* root password: odroid, no other user created
To update xbmc and kernel, you can just go in /root/xbmc and /root/odroidxu-3.4.6, git pull origin, compile and install.
Enjoy!
* patch for libmedia1: hybris/media/media.c
Code: Select all
// Media Codecs
HYBRIS_IMPLEMENT_FUNCTION1(media, MediaCodecDelegate,
media_codec_create_by_codec_name, const char*);
+ HYBRIS_IMPLEMENT_FUNCTION1(media, MediaCodecDelegate,
+ media_codec_create_by_codec_type, const char*);
HYBRIS_IMPLEMENT_VOID_FUNCTION1(media, media_codec_delegate_destroy,
MediaCodecDelegate);
Code: Select all
while (!m_frontBuf)
{
pthread_cond_wait(&_cond, &_mutex);
}
+ if (m_frontBuf->busy != 2) {
+ pthread_mutex_unlock(&_mutex);
+ return;
+ }
assert(m_frontBuf->busy == 2);