Debian Jessie for ODROID-U2 (XBMC Inside)

Moderators: odroid, mdrjr

Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby mdrjr » Wed Sep 04, 2013 9:31 pm

This is debian Jessie.
Powered by the latest kernel 3.8 that supports a fully working XBMC.

Video playback is very smooth on debian unlikely Ubuntu.

Credentials are:

root/odroid
odroid/odroid

It will auto-start XBMC. If you leave XBMC there's a fully feature XFCE4 :)

Download URL: http://www.mdrjr.net/odroid/debian-jessie-xbmc/
mdrjr
Site Admin
 
Posts: 8640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby memeka » Wed Sep 04, 2013 9:38 pm

For those that want to use this exclusively for XBMC, you can apt-get purge all of the GUI stuff - xfce, lightdm, etc.. and just let plain X.
Then you can use this script placed in /etc/init.d:

Code: Select all
#! /bin/sh

### BEGIN INIT INFO
# Provides:          xbmc
# Required-Start:    $all
# Required-Stop:     $all
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: starts instance of XBMC
# Description:       starts instance of XBMC using start-stop-daemon and xinit
### END INIT INFO

############### EDIT ME ##################

# path to xinit exec
DAEMON=/usr/bin/xinit

# startup args
DAEMON_OPTS=" /usr/local/bin/xbmc --standalone -- :0"

# script name
NAME=xbmc

# app name
DESC=XBMC

# user
RUN_AS=root

# Path of the PID file
PID_FILE=/var/run/xbmc.pid

############### END EDIT ME ##################

test -x $DAEMON || exit 0

set -e

case "$1" in
  start)
        echo "Starting $DESC"
        while :; do start-stop-daemon --start -c $RUN_AS --pidfile $PID_FILE  --make-pidfile --exec $DAEMON -- $DAEMON_OPTS; done
        ;;
  stop)
        echo "Stopping $DESC"
        start-stop-daemon --stop --pidfile $PID_FILE
        ;;

  restart|force-reload)
        echo "Restarting $DESC"
        start-stop-daemon --stop --pidfile $PID_FILE
        sleep 5
        start-stop-daemon --start -c $RUN_AS --background --pidfile $PID_FILE  --make-pidfile --exec $DAEMON -- $DAEMON_OPTS
        ;;
  *)
        N=/etc/init.d/$NAME
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
        exit 1
        ;;
esac

exit 0


This will boot straight into XBMC, and will restart it if there is a crash or if you exit.
User avatar
memeka
 
Posts: 1815
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby OverSun » Wed Sep 04, 2013 9:42 pm

Great jobs guys! =D Bought my U2 to use a Media Center.
I will definitely use this one, waited so long for working XBMC! =D
User avatar
OverSun
 
Posts: 668
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby swifty » Wed Sep 04, 2013 10:07 pm

Thanks guys will definately be putting this image when i get home.
And thanks to memeka for the init script... just how i want it to work :-)
swifty
 
Posts: 51
Joined: Sun Feb 24, 2013 1:56 am
languages_spoken: english
ODROIDs: Odroid-U2

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby mdrjr » Wed Sep 04, 2013 10:10 pm

This image does boot directly on XBMC, however it keeps XFCE running in case you want to leave XBMC and use a Linux Desktop
mdrjr
Site Admin
 
Posts: 8640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby Evi » Thu Sep 05, 2013 12:43 am

I see no HDMI output, though serial sequence is OK
Any ideas?
Anybody was succeed?
User avatar
Evi
 
Posts: 10
Joined: Sun Feb 24, 2013 9:18 pm
languages_spoken: english
ODROIDs: U2

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby mdrjr » Thu Sep 05, 2013 1:28 am

Serial Sequence? Like a serial killer?

Post the logs if you want help.. common.. I don't have a crystal ball to help guys.

If you are asking for help, please help me help you.. give details.. :(
mdrjr
Site Admin
 
Posts: 8640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby hulkenstrong » Thu Sep 05, 2013 3:25 am

Image worked great. Could hw decode a couple of 720/1080p videos@1080p60Hz. Its a shame xubuntu cant have the same performance.
hulkenstrong
 
Posts: 57
Joined: Mon Jun 17, 2013 6:42 pm
languages_spoken: english,swedish
ODROIDs: Odroid-U2

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby porex » Thu Sep 05, 2013 3:38 am


Error 404 - Not Found
porex
 
Posts: 1
Joined: Wed Jun 19, 2013 3:41 am
languages_spoken: russian
ODROIDs: ODROID-U2

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby Katch » Thu Sep 05, 2013 4:08 am

link is dead
Katch
 
Posts: 34
Joined: Sat Feb 23, 2013 11:43 pm
languages_spoken: english

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby swifty » Thu Sep 05, 2013 5:13 am

I can't get any HDMI output either... tried two different U2's, two HDMI > Micro HDMI cables, two eMMCs and two different TV's (one 1080p and one 720p).
Also tried the 720p50hz, 720p60hz boot.scr so far, but no luck.

I plugged in the LAN cable and booted and I can see in my DHCP leases that the U2 has fully booted - I can also SSH into it, just can't see anything on the TV :-/

Just downloading the Ubuntu 13.04 image to see what I get with that, as I've only been using Android on the U2 so far.
swifty
 
Posts: 51
Joined: Sun Feb 24, 2013 1:56 am
languages_spoken: english
ODROIDs: Odroid-U2

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby mdrjr » Thu Sep 05, 2013 6:43 am

Sorry guys buy the Image had a issue that no display was happening..

I've fixed the images.. please re-download and it should work.. Really sorry about that!
mdrjr
Site Admin
 
Posts: 8640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby sert00 » Thu Sep 05, 2013 7:40 am

Guys,someone of you had problems by exiting in xbmc to desktop?it's the 3rd time it happens,and i never see the desktop yet..
I don't attach logs,because i read now there's problems and i'm downloading the fixed version (infact only at 3rd tentative it showed in tv,i had to remove cable from HDMI switch and connect directly on a free port of tv)
Probably the problem i'm speaking for is related to the problem of hdmi?if i push exit in xbmc,the windows crash and stand in the sub-windows (the one with "reboot""exit" shutdown" etc)
2x Odroid-U2
Odroid-XU-E
Odroid-U3
Lcd touch panel 10.1"
2x Emmc 16gb
Emmc 8gb
Emmc 64gb
IO-board
IO-shield
Expansion board
Wifi dongle 2\3
Gigabit LAN
Sata3 HDDock
USB3.0 OTG Adapter
Smart Power
2x UART Module
BT dongle
User avatar
sert00
 
Posts: 722
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: 2*U2/XU-E/U3

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby sert00 » Thu Sep 05, 2013 10:39 am

ok,installed the fixed image.I have lots of problems.
let me explain something;it's only the first time i install and use xbmc on linux on odroid.
I like it,but never had so much need of it,the last month used it sometimes on jellybean and worked great,but honestly i'm a person who don't play films,used it only for audio\pictures via samba shares.
Now to come to this distro with on top xbmc.
1-i can't exit from it.evrytime i push exit it stop in that situations,i have to reboot to use the board,tried suspend and other options,no way to see the debian xfce page.
2-decided to set up xbmc.it continuely start the screensaver every some minutes,but i am using and moving the mouse..because i'm doing things,downloading addons,etc.found the screensaver menu,deactivated it..but screensaver start anyway(the default ones aren't working,the 2 i downloaded yes if i test it with the proper menu.
3-when i reboot the board(because of #1 problem)it start another screensaver and i think it's not of xbmc..it change everytime,and no matter i move the mouse..i can't pull off it.a trick i found is connect another mouse..and move the first i used,then disconnect the mouse(the second one connected)
Probably this last point is adjustable by setting my combo keyboard\mouse in debian ssettings,the screensaver that always changes too..but i'm unable of go on settings,xmbc hangs when i want to exit.
ps..it's 2 times i re DD it...md5sum was fine

Now i'd want to know if someone else has that strange behaviours..i will install all for the 3rd time tomorrow,for now i haven't done any debug to it,collect any logs etc..first only wanted to know if what i saying is discovered by others users...or my U2 is more crazy than me!ahahah
thanks
:lol:
2x Odroid-U2
Odroid-XU-E
Odroid-U3
Lcd touch panel 10.1"
2x Emmc 16gb
Emmc 8gb
Emmc 64gb
IO-board
IO-shield
Expansion board
Wifi dongle 2\3
Gigabit LAN
Sata3 HDDock
USB3.0 OTG Adapter
Smart Power
2x UART Module
BT dongle
User avatar
sert00
 
Posts: 722
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: 2*U2/XU-E/U3

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby mdrjr » Thu Sep 05, 2013 11:10 am

I'll check that sert00...
mdrjr
Site Admin
 
Posts: 8640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby mdrjr » Thu Sep 05, 2013 11:12 am

Btw sert.. can you try to remove the xscreensaver package?
mdrjr
Site Admin
 
Posts: 8640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby memeka » Thu Sep 05, 2013 11:18 am

also, maybe don't make xbmc start on boot :D
User avatar
memeka
 
Posts: 1815
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby sert00 » Thu Sep 05, 2013 12:02 pm

ok,5.00 am here,go to bed.tomorrow i'll remove xscreensaver package with uart-kit or ssh connection,try to mess with some other things,but let me know where the system start xbmc at boot.is there a init.d script or what?
2x Odroid-U2
Odroid-XU-E
Odroid-U3
Lcd touch panel 10.1"
2x Emmc 16gb
Emmc 8gb
Emmc 64gb
IO-board
IO-shield
Expansion board
Wifi dongle 2\3
Gigabit LAN
Sata3 HDDock
USB3.0 OTG Adapter
Smart Power
2x UART Module
BT dongle
User avatar
sert00
 
Posts: 722
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: 2*U2/XU-E/U3

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby Stealth » Thu Sep 05, 2013 1:42 pm

I was eager to give this a go. So far so good. Here's a rundown on what I've done which others may find useful.

* Flashed image to my eMMC using Win32DiskImager
* Everything booted smoothly, but I had no working mouse/keyboard and screensaver came on quite quickly
* ssh from Putty on my Windows machine, no problems there
* Changed root passwords
* Removed the screensaver
Code: Select all
apt-get remove xscreensaver

* Installed usbutils and rebooted... this seemed to take care of my initial usb problems, although I doubt this would account for it.
Code: Select all
apt-get install usbutils

* Edited my /etc/fstab to auto mount my network NAS drive (where all my media is stored)
* Added my media in XBMC and tested some 720p mkv files... looks pretty smooth
Stealth
 
Posts: 27
Joined: Tue Feb 26, 2013 3:24 am
languages_spoken: english
ODROIDs: U2

Re: Debian Jessie for ODROID-U2 (XBMC Inside)

Unread postby mdrjr » Thu Sep 05, 2013 1:46 pm

Stealth that is valuable information :) Thank you.
mdrjr
Site Admin
 
Posts: 8640
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Next

Return to Other OS

Who is online

Users browsing this forum: No registered users and 2 guests