OpenELEC for Odroid-U2/U3/XU3/C1

Moderators: mdrjr, odroid

Re: OpenELEC for Odroid-U2/3

Unread postby optio50 » Tue Sep 09, 2014 3:19 pm

Finally, My ODROID U3 is now EXACTLY as I had intended.

Thank You Very Much!

:mrgreen:
optio50
 
Posts: 15
Joined: Mon Apr 21, 2014 12:20 pm
languages_spoken: english
ODROIDs: U-3

Re: OpenELEC for Odroid-U2/3

Unread postby nataxcan » Wed Sep 10, 2014 5:21 am

those download links are painfully slow for me
could you upload them to something faster (and more reliable), like mega.co.nz?
nataxcan
 
Posts: 1
Joined: Wed Sep 10, 2014 5:18 am
languages_spoken: english
ODROIDs: Odroid U3

Re: OpenELEC for Odroid-U2/3

Unread postby luksol » Wed Sep 10, 2014 9:20 pm

I am not sure if it was asked before, but is there X2 version?
luksol
 
Posts: 152
Joined: Tue Feb 26, 2013 5:01 am
languages_spoken: english, polish
ODROIDs: X2

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Wed Sep 10, 2014 11:44 pm

luksol wrote:I am not sure if it was asked before, but is there X2 version?

It has not been asked yet, and No, there is no X2 version. I have no X2 to build/test with.

HOWEVER, I'm betting it would be pretty easy to build for. Take a look at the sources and see for yourself how feasible it is if you would like.

I'd guess you would simply change the projects/Odroid-U2/options file.
TARGET_CPU
TARGET_FPU
UBOOT_CONFIG

You may have to copy the odroidx2 defconfig to projects/Odroid-U2/linux/linux.arm.conf as well
I don't know if u-boot is a different version or not...

Best of luck!
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Thu Sep 11, 2014 12:01 am

THANK YOU
to Moonfire for generously re-hosting my OpenELEC files. Please join me in thanking him for his/her generosity!

I've updated the initial post to reflect new download locations, please give it some time for my uploads to complete. Lets hope this helps or even negates poor download problems!
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby Hominidae » Thu Sep 11, 2014 4:18 pm

memeka wrote:There are two distinct things:

1) XBMC egl output
* can be provided by X11 mali drivers on U3/XU3 using default xbmc x11 backend (my favorite since it's in mainline)
[...]


I am very exited about openELEC on the ODROID platform.
Being a beginner/noob, with my first ODROID - which is a XU3 - in my hands by this weekend I am even more exited :D

Obviously, there is no harm in trying the IMG from zalaare but if there will be no use to do so on the XU3 anyway, I'd rather save my time.
I tried to follow the info in this thread but failed to determine what will work on the XU3 with the current IMGs
or what needs to be done to improve things.

Please, can someone from the PROs-team sched some light on openelec on the XU3? :mrgreen:
I am willing to help, if I can and I am open for suggestions on how to do so.

TIA,
hominidae
Hominidae
 
Posts: 201
Joined: Sun Sep 07, 2014 2:34 am
languages_spoken: english
ODROIDs: XU3, C1

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Thu Sep 11, 2014 8:48 pm

I'm not on any PROs-team, but I can provide some light:
1.) None of these images will work on XU3
2.) AFAIK XU3 uses a different method to render the display (libhyris)
3.) Lots more hacking on OpenELEC sources would be required.
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby memeka » Thu Sep 11, 2014 9:55 pm

only 1) is true :)

XU3 has Mali video card and similar drivers to U3, so the same amount of hacking is required for XU3 as for U3 :P

(there are some issues with the kernel drivers on the XU3 that are being resolved now)

2) and 3) are true for XU.
User avatar
memeka
 
Posts: 3621
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Thu Sep 11, 2014 10:17 pm

memeka wrote:only 1) is true :)

XU3 has Mali video card and similar drivers to U3, so the same amount of hacking is required for XU3 as for U3 :P

(there are some issues with the kernel drivers on the XU3 that are being resolved now)

2) and 3) are true for XU.


Haha, thanks Memeka :lol: Thats why you are on the PROs-team.

Since XU3 has similar video and drivers + MFC on XU3, then Memeka is absolutely right in that the rendering would be darn similar to what the U2/3 does already. In this case, it is probably not so difficult to hack the OpenELEC sources a bit more. Probably need a different source for your libMali at the least.
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby Hominidae » Fri Sep 12, 2014 5:52 am

Thank you memeka and zalarae for your replies.

...well, looking from my side of the fence, both of you are on the PROs-Team :D

So, the variant of using X11 mainline drivers with openELEC and XBMC is not working?..it has to be Mali + MFC drivers for the XU3?
The way I understand the X11 variant is, that X11 drivers from the linux image (i.e. ubuntu) could be used, no?
Hominidae
 
Posts: 201
Joined: Sun Sep 07, 2014 2:34 am
languages_spoken: english
ODROIDs: XU3, C1

Re: OpenELEC for Odroid-U2/3

Unread postby Hominidae » Fri Sep 12, 2014 5:47 pm

zalaare wrote:[...]

OpenELEC-4.1.6.0
    +Upstream bump to 4.1.6
    +Switch to XBMC/Kodi Mainline and EGL Mainline (not Odroid specific anymore)
    +Added patch to enable MFC support
    +Switch to libCEC Mainline
    +Added patch to enable Exynos & CEC_HDMI_PORT variable support
    +Cleaned up boot to be quiet(er)


OK, so *this* openelec distro will work on XU3?
....there maybe is an issue with the image and the non-XU3 bootloader inside?
If yes, can I convert/migrate to a XU3 IMG?

...I am still in noob mode, I know...but is hard to find all that information in different places and when english is not your native tongue. ;)
Hominidae
 
Posts: 201
Joined: Sun Sep 07, 2014 2:34 am
languages_spoken: english
ODROIDs: XU3, C1

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Fri Sep 12, 2014 10:41 pm

I doubt any of these images would work for you.

If you want an image for the XU3, you will either
a.) have to compile it yourself (see building from source in initial post). You would likely have to change some things.
b.) wait until someone else does [a] and hosts it for you.

Again, I do not have an XU3 so I can't do [a] for you.
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby Hominidae » Sat Sep 13, 2014 4:40 am

Hmm..okay, thanks again for your answer.
I think I misinterpreted the term "Switch to XBMC/Kodi Mainline and EGL Mainline (not Odroid specific anymore)" in your post.
I've been thinking, that the only thing what makes the XU3 and other ODRIDs special/challenging with regards to openELEC would be the GPU.

...I'll keep an eye on that..still a lot to learn..just unwrapped my XU3...might buy a U3 just for the openELEC fun, as my XU3 is meant for another purpose.

Thanks again and keep up the good work!
Hominidae
 
Posts: 201
Joined: Sun Sep 07, 2014 2:34 am
languages_spoken: english
ODROIDs: XU3, C1

Re: OpenELEC for Odroid-U2/3

Unread postby memeka » Sat Sep 13, 2014 7:04 am

Xbmc maybe would work on the xu3.
But openelec contains the kernel and drivers too... Which in that image are specific for u3.
User avatar
memeka
 
Posts: 3621
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: OpenELEC for Odroid-U2/3

Unread postby dernalis » Sun Sep 14, 2014 3:15 am

I also had some issues with CEC and AniNet+ (Samsung SmartTV CEC Implementation), just like Jigger1975.
Suddenly it use to stop to work. It was working fine with previous Ubuntu versions but I found same issue with Trusty versions.

Now, with OpenELEC 4.1.6.0 seems to be solved. Thanks a lot. Now it's perfect as HTPC.
Last edited by dernalis on Sun Sep 14, 2014 5:28 am, edited 1 time in total.
dernalis
 
Posts: 3
Joined: Mon Aug 25, 2014 9:09 pm
languages_spoken: english
ODROIDs: Odroid U3 Community

Re: OpenELEC for Odroid-U2/3

Unread postby darth_llamah » Sun Sep 14, 2014 3:17 am

I've just tried 4.1.6.0 image on U2, works like a charm
-no problems with DVD playback but I didn't check dvd-s from different region yet
-1080p mp4 streamed from DLNA server- smooth as butter (server to router-wired eth 100M, router to u2- wifi 150Mbit, I didn't check bitrate)

One known small problem- Medion OR24V RF remote registeres multiple clicks- this is a known error in OpenELEC 4.x (http://openelec.tv/forum/103-infared-remotes/70296-4-0b5-x10-usb-remote-problem-after-some-minutes), I'll test solution tomorrow (http://wiki.xbmc.org/index.php?title=Advancedsettings.xml#.3Cremoterepeat.3E)
Below is a quick&dirty photo of current setup ;)
u2-setup.jpeg
u2-setup.jpeg (138.76 KiB) Viewed 7766 times
Last edited by darth_llamah on Mon Sep 15, 2014 3:47 am, edited 1 time in total.
darth_llamah
 
Posts: 51
Joined: Fri Jan 10, 2014 6:04 pm
languages_spoken: polish (native), english (quite good I guess)
ODROIDs: odroid-u2, odroid-u3

Re: OpenELEC for Odroid-U2/3

Unread postby lampart » Sun Sep 14, 2014 5:22 pm

Hi mate!! I'm using the last one image and the results at amazing. Thanks for the good job

I still having troubles with the cec, but my main issue was with the ps3 remote be control. With the specific application in Bluetooth section it seems to pair perfect but for some reason, it doesn't works... It seems that something missing on config files or something. The pair process works well but nothing more... I have a rpi with openelect 4.1.6 and the ps3 remote works perfect.

Do you know if we need to place some imput files or any other config??? Is like the board don't know to interpreter the Bluetooth commands for sending to frontend...I don't know. I have some files on. /xbmc/config related to Bluetooth so it seems that it pair perfectly but don't work any key...

Anybody know what's the matter? I need the ps3 remote because cec doesn't works for me

Thanks in advance!!!
lampart
 
Posts: 1
Joined: Sun Sep 14, 2014 5:06 pm
languages_spoken: english
ODROIDs: U3

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Mon Sep 15, 2014 3:41 am

I've noticed that even with 4.1.6.0 my CEC gets wonky sometimes too. I just want you all to know you are not alone out there. My CEC really doesn't like me switching sources and then coming back. :)
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby jbyrkit » Tue Sep 16, 2014 12:19 am

with the 4.1.6.0 image, the mythtv pvr addon gets farther into the channel guide (maybe half way) before it crashes....same results whether i use emmc or sd card. if there's a way to provide debugging info, i would be happy to collect it and report back.
jbyrkit
 
Posts: 12
Joined: Sun Aug 10, 2014 8:38 am
languages_spoken: english
ODROIDs: u3

Re: OpenELEC for Odroid-U2/3

Unread postby GNU-Linux » Tue Sep 16, 2014 9:55 pm

Mod pls make this Thread sticky (Announcements) !
GNU-Linux
 
Posts: 3
Joined: Mon May 12, 2014 7:21 pm
languages_spoken: deutsch

Re: OpenELEC for Odroid-U2/3

Unread postby optio50 » Thu Sep 18, 2014 2:10 pm

The volume control inside of XBMC has no effect. I can only set the volume with the provided command in this thread.

Is there another way?

Thanks
optio50
 
Posts: 15
Joined: Mon Apr 21, 2014 12:20 pm
languages_spoken: english
ODROIDs: U-3

Re: OpenELEC for Odroid-U2/3

Unread postby wydziub » Thu Sep 18, 2014 6:28 pm

First of all, I'd like to thank you all people for making magnificent job with creating Openelec for Odroid.
When I tried, I switched from android to Openelec as HTPC in no time :)

Especially great feature is auto adjusting screen refresh rate to the material's fps. It is just awsome :) Finally I can play videos with no judder on U2 !!!
CEC is great to, however it is still far from perfect.

I have openelec 4.1.6.0 on U2, connected LG TV – HDMI 1.
CEC after few minutes of great functionality, refuses to work.
- I tried do re-init CEC in TV by disabling/enabling - no luck.
- Turn TV off and on - no luck.
- Deactivate and activate CEC plugin in the XBMC - works !

So it seems like the CEC plugin hangs after few minutes :(

@ optio50:
Strange thing with this volume.
When I just connected Openelec to TV (HDMI 1) I had seme issue, only mute worked fine.
But when I connected amplifier:
Openelec – TV (HDMI1) , TV (optical) – Amlifier , TV (HDMI2) – Amplifer.

CEC Openelec plugin discovers Amplifier instead of TV, and volume control in XBMC controls volume in amplifier! (there is no direct connection between them).
wydziub
 
Posts: 11
Joined: Fri Mar 15, 2013 7:04 pm
languages_spoken: english
ODROIDs: U2

Re: OpenELEC for Odroid-U2/3

Unread postby cy1clown » Thu Sep 18, 2014 10:40 pm

I am really liking the idea of Openelec on the Odroid.
I am currently using 4.1.6.0 and the XBMC program itself is running nicley.
My problem is with the addons in XBMC.
I am using addons from the tvaddons site. Kiss Anime works fine but 1Channel and Genesis do not play videos.
Can anyone on this site help with this or should I try the tvaddon forum?
Would it help to post logs here?

Thanks
Jon
cy1clown
 
Posts: 95
Joined: Sat Dec 28, 2013 6:38 am
languages_spoken: English
ODROIDs: U3
XU4
C2

Re: OpenELEC for Odroid-U2/3

Unread postby cy1clown » Fri Sep 19, 2014 10:32 pm

Please disregard my last post. Typical Openelec, I let it run overnight and it started working in the morning.
Other than the sound issue as stated previously I like this setup a lot.

Thanks
Jon
cy1clown
 
Posts: 95
Joined: Sat Dec 28, 2013 6:38 am
languages_spoken: English
ODROIDs: U3
XU4
C2

Re: OpenELEC for Odroid-U2/3

Unread postby wydziub » Tue Sep 23, 2014 1:00 am

I did some digging on CEC failures conditions on the LG TV:

1) It hangs after some action (remote button pressed) not in idle time.
2) Easiest way to recreate failure: holding constantly right/left button in the XBMC menu.
It stops working randomly between few seconds up to 1-2 minutes in that situation.
3) Most important:
CEC entries that can be found in the XBMC debug log:
Code: Select all
17:22:20 T:3055730688  NOTICE: Register - new cec device registered on cec->Exynos: CEC Adapter (0000:0000)
17:22:20 T:3035624528  NOTICE: Thread CECAdapter start, auto delete: false
17:22:20 T:3026187344  NOTICE: Thread PeripBusCEC start, auto delete: false
17:22:21 T:3035624528   ERROR: CecLogMessage - Write: write failed ret = ffffffff !
17:22:22 T:3035624528   ERROR: CecLogMessage - Write: write failed ret = ffffffff !
17:22:25 T:2584908880   ERROR: CecLogMessage - Write: write failed ret = ffffffff !
17:22:26 T:2766578768   ERROR: Previous line repeats 3 times.
17:22:26 T:2584908880   ERROR: CecLogMessage - Write: write failed ret = ffffffff !
17:22:27 T:2816910416   ERROR: Previous line repeats 1 times.
17:22:27 T:2584908880   ERROR: CecLogMessage - Write: write failed ret = ffffffff !
17:22:28 T:2871039056   ERROR: Previous line repeats 5 times.
17:22:29 T:2584908880   ERROR: CecLogMessage - Write: write failed ret = ffffffff !
17:22:30 T:2871039056   ERROR: Previous line repeats 3 times.
17:22:30 T:2584908880   ERROR: CecLogMessage - Write: write failed ret = ffffffff !    
17:22:30 T:2584908880   ERROR: CecLogMessage - Write: write failed ret = ffffffff !
17:22:31 T:2871039056   ERROR: Previous line repeats 1 times.
17:22:31 T:2584908880   ERROR: CecLogMessage - Write: write failed ret = ffffffff !
17:22:35 T:3007312976   ERROR: Previous line repeats 4 times.
But after that CEC is still working fine ... until this :

Code: Select all
17:22:35 T:3007312976 WARNING: CecLogMessage - FIXME: LG seems to have bugged out. resetting to 'in transition standby to on'. the return button will not work
17:23:31 T:2800133200 WARNING: Previous line repeats 1 times.

After this is happening, CEC always stops !

4) There must be some missreding of the TV status.
'in transition standby to on' – should be temporary state of TV, that is turning on.
The problem is that the TV is turned on all the time, and state 'in transition standby to on' is detected randomly after remote button pressed, causing some initialization in libCEC, causing whole CEC comunication to break :(
wydziub
 
Posts: 11
Joined: Fri Mar 15, 2013 7:04 pm
languages_spoken: english
ODROIDs: U2

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Tue Sep 23, 2014 4:42 am

@wydziub

Good investigating work. This sounds like a bug you can file upstream.
PS: I also have an LG TV. I'll play around sometime to see if I can re-create your results.

@all

I was on vacation last week, so nothing happened on the home front here. However, I did get a XU3 to play with and it was waiting for me when I got home. I'll be attempting to put together an image for the XU3 while we wait for either OpenELEC 4.2 or 4.1.7.

If we can ever get a kernel that boots both the U2/3 AND the XU3 with /dev/mali MFC support the image will hopefully be universal. I know LiquidAcid and a couple other people much smarter than I are working on upstream...

EDIT 2014.09.24
It also appears u-boot is a problem along with the kernel. Lets hope mainstream in both cases will someday support both. Oddly enough my U2/3 Image written to eMMC and dropped into my XU3 did give a usable u-boot (but it wasn't the u-boot I fused)... Sigh, why must things be overly complicated? :P
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby ikkenuwel » Fri Sep 26, 2014 4:29 am

I got the folowwing problem, my MCE Remote doenst work. (it worked fine on a AMD E-350 with Openelec)

dmesg shows its there.

lsusb shows Bus 001 Device 005: ID 0471:0815 Philips (or NXP) eHome Infrared Receiver

But when i am testing it with:
ir-keytable -c -p NEC,RC-5,RC-6,JVC,SONY -t
It does nothing.
ikkenuwel
 
Posts: 2
Joined: Fri Sep 26, 2014 4:20 am
languages_spoken: english
ODROIDs: U3

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Fri Sep 26, 2014 10:54 pm

I had a similar problem. It turned out my kernel modules for my device were not being loaded.

In my case it was ir_rc6_decoder and mceusb which were not being loaded. So I added a conf file to ~/.config/modules-load.d to do this for me.
Code: Select all
cat ~/.config/modules-load.d/my-lirc.conf
ir_rc6_decoder
mceusb
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby wydziub » Sat Sep 27, 2014 5:22 pm

I'm looking for a way to increase coherent_pool kernel value on boot.

Most probably I need it to get my ITE 9135 DVB tuner running.
I got “usb 1-3.1: dvb_usb_v2: 'ITE 9135 Generic' error while loading driver (-12)”error:
Code: Select all
# dmesg | grep dvb
[    6.305303] usbcore: registered new interface driver dvb_usb_it913x
[    6.306396] it913x: Dual mode=0 Tuner Type=38<6>
[    6.310708] usb 1-3.1: dvb_usb_v2: found a 'ITE 9135 Generic' in cold state
[    6.313558] usb 1-3.1: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-01.fw'
[    6.751900] it913x: Firmware Version 204869120<6>[    6.821415] usb 1-3.1: dvb_usb_v2: found a 'ITE 9135 Generic' in warm state
[    6.821522] usb 1-3.1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    6.821632] usb 1-3.1: dvb_usb_v2: 'ITE 9135 Generic' error while loading driver (-12)
[    6.821724] usb 1-3.1: dvb_usb_v2: 'ITE 9135 Generic' successfully deinitialized and disconnected

Here I found possible solution:
http://www.solid-run.com/community/topic805.html
I searched a lot, but it seem there are many bootloaders in various versions of OpenELEC, and diferent ways to to do that.

Does anyone can help me out and show the way to adjust coherent_pool in current OpenELEC-4.1.6.0 for odroid ?
I will be very grateful, I got few days left to return DVB tuner if it won’t work :(

[Edit]
After few hours of search I manage to found that I should add “coherent_pool=1M” to “uEnv.txt” or "boot.scr" of odroid's bootloader U-Boot.
Since Odroid's U-Boot does not support uEnv.txt (or does it ?) where this can be add as regular text,
I have to add it to boot.scr but this one need to be compiled.

For this I think, Ineed to find original boot.cfg for OpenELEC 4.1.6.0.
I did not found it in OpenElec source, where is it ?

Finally is line provided by zalaare:
Code: Select all
mkimage -A arm -T script -n 'OpenELEC Kernel [ODroid-U2/3]' -C none -d boot.cfg BOOT.SCR


… can be done via ssh from windows machine ? Or should I install Linux on my PC to do that ?
wydziub
 
Posts: 11
Joined: Fri Mar 15, 2013 7:04 pm
languages_spoken: english
ODROIDs: U2

Re: OpenELEC for Odroid-U2/3

Unread postby VERSUS » Sun Sep 28, 2014 2:43 am

4.1.6 gave me choppy playback and random lines appeared in the screen .. went back to 4.1.5 and everything is ok again..
VERSUS
 
Posts: 22
Joined: Sat Mar 15, 2014 12:23 am
languages_spoken: english
ODROIDs: U3

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Sun Sep 28, 2014 3:12 am

For those that want to know the cfg files I use to generate the scr's are located in the sources:
projects/Odroid-U2/bootloader/

A little google search led me to:
http://www.trimslice.com/wiki/index.php/U-Boot_images
http://www.trimslice.com/download/tools/Mkimage.tar.gz

Supposedly the archive has both windows static binary mkimage and linux static mkimage.
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby wydziub » Sun Sep 28, 2014 5:55 pm

coherent_pool=1M did the trick. Finally DVB tuner is working !

The issue is solved thanks to great help from zalaare :)
wydziub
 
Posts: 11
Joined: Fri Mar 15, 2013 7:04 pm
languages_spoken: english
ODROIDs: U2

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Tue Sep 30, 2014 12:59 am

Just wanted folks to know I'm currently working on getting a single image for the U2/3 and the XU3 working. It will include both kernels and both mali libs. It will detect which Odroid the device is and start XBMC with the correct libs as needed. Mostly done, but some more kinks to work out from here.

I decided to do this as it became obvious how much between the two builds remains unchanged. It takes roughly 5-6hrs to build OpenELEC per project. Adding another project and the result is almost identical to the Odroid-U2 project felt like blasphemy of some sort.

When all is said and done there will be a change to how I've packaged these up. Though the image will work for all 3 devices (in theory), the u-boot fused to the card will depend on which device you want to boot it on. Consequently I'll have to likely provide a small tool for initial fusing of your images. It will probably be a 3 step process instead of 2.

Where you used to download a .img file then dd it to a block device, you will now
download a .img file AND a fuse tool, dd the img to the block device, then use the fuse tool on the block device.

All this is subject to change of course as I haven't gotten that far yet. Maybe none of this will be possible when I get down to it.
For those looking for 4.2.0, I apologize for not building it yet. I want to see how plausible my above process will work and then use 4.2.0 as a stable reference point to start from. The differences between 4.1.6.0 and 4.2.0 are trivial for those that are concerned.

Cheers
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby ikkenuwel » Tue Sep 30, 2014 8:32 pm

Big thanks to Zalaare for my issue with the MCE Remote.
It now workes fine.
ikkenuwel
 
Posts: 2
Joined: Fri Sep 26, 2014 4:20 am
languages_spoken: english
ODROIDs: U3

Re: OpenELEC for Odroid-U2/3

Unread postby wydziub » Thu Oct 02, 2014 11:42 pm

I think this topic deserves to be placed in Announcements !

Right now it is to hard to find.
I think zalaare did amazing job (thank you zaalare), and his OpenELEC behaves significantly better than XBMC currently being in announcements:
“XBMC For (X/X2/U2/U3) Updated 20140408 version [UPDATED]”.

As for me , I even moved from Android OS to OpenELEC from this thread :).
wydziub
 
Posts: 11
Joined: Fri Mar 15, 2013 7:04 pm
languages_spoken: english
ODROIDs: U2

Re: OpenELEC for Odroid-U2/3

Unread postby odroid » Fri Oct 03, 2014 3:28 pm

I know well this is a great image.

I've changed it to "Sticky".
Let us think about "Global Announcement". ;)
User avatar
odroid
Site Admin
 
Posts: 24590
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Fri Oct 03, 2014 9:52 pm

Another update from the home front here. I've got OpenELEC booting up on my XU3, however I have a few issues yet to deal with.

MFC isn't working yet. EDIT Works.
Sound may or may not be working, I haven't checked. EDIT Works.
Updating image doesn't work yet. EDIT Fixed.
CEC doesn't work yet. EDIT Still work on U2. XU3 doesn't seem to have the capability. Still looking into it.
Only one core is powering up at boot and being utilized.
Reboot fails 100% of the time. Need to unplug and plug back in a number of times to get it to boot. EDIT Fixed.
MAC address continues to flux between boots. I haven't found a way to set it in userspace yet. EDIT Fixed.
I have yet to test this same image on my U2/3 as well. EDIT Works.

I'm still picking at this, however I do have a wedding to go to this coming week and I'll be detained. Likely won't be doing much until after the following weekend.
Last edited by zalaare on Mon Oct 20, 2014 3:00 am, edited 8 times in total.
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby Captain Blackbird » Sat Oct 04, 2014 4:30 am

So got an U3+ few days ago.
8G emmc card with xubuntu and xbmc preinstalled worked up to 720p, 1080p was glitching video.

So i went to OpenELEC 4.1.6.0 and runs like charm on 1080p, even nice that xbmc 13.2 is already running.

Had some streams with .M3U8 ending (or somelike) there is no Video but Audio - strange

But the most annoying thing is that most of the Addons i normally use under xbmc 13.2 will not downloaded and installed
Using different Repos, such as Superrepo and some others, some could be downloaded others not.
Under xubuntu xbmc 13.2 this didn't happen.

Anyone a clue how to fix this issues?
User avatar
Captain Blackbird
 
Posts: 10
Joined: Tue Sep 30, 2014 8:42 pm
languages_spoken: german, english
ODROIDs: ODROID-U3+
ODROID-C2 (soon)

Re: OpenELEC for Odroid-U2/3

Unread postby wydziub » Sat Oct 04, 2014 5:27 pm

@ Captain Blackbird
As for plug-ins, my best guess is that you have to re-size storage partition.
By default in the image the partitions is as small as it can be, an after install there is script running, that re-sizes it, depend on the storage capacity of your device.
The problem is, in latest version of OpenELEC that script does not work, because storage paritition cannot be unmounted for some reason.

I did re-size manually with Parted Magic from UBCD Live CD. Important is not do perform resizing unders Windows since it cannot handle multiple partitions on the removable sotrage, and can only damage data. There is Mini Tool Partition Wizard, that theoretically can do it under windows, but many times it also failed me :( So I think Parted Magic is best the way to go :)
wydziub
 
Posts: 11
Joined: Fri Mar 15, 2013 7:04 pm
languages_spoken: english
ODROIDs: U2

Re: OpenELEC for Odroid-U2/3

Unread postby Captain Blackbird » Sat Oct 04, 2014 5:43 pm

Thanks, but
I resized the ext4 partition directly after flashing with gparted ;)
There is plenty of space, that is not the problem.

Didn't look in xbmc log file but think
it's a problem with network resolving correct source.

Some addons work (download) some not
unless they are downloading under xbmc 13.2 @ xubuntu, appletv2, notebook

So I will copy them manually from another system to U3.
Not fine solution but will work.
User avatar
Captain Blackbird
 
Posts: 10
Joined: Tue Sep 30, 2014 8:42 pm
languages_spoken: german, english
ODROIDs: ODROID-U3+
ODROID-C2 (soon)

Re: OpenELEC for Odroid-U2/3

Unread postby Hominidae » Sat Oct 04, 2014 7:00 pm

zalaare wrote:Just wanted folks to know I'm currently working on getting a single image for the U2/3 and the XU3 working. It will include both kernels and both mali libs. It will detect which Odroid the device is and start XBMC with the correct libs as needed. Mostly done, but some more kinks to work out from here.

I decided to do this as it became obvious how much between the two builds remains unchanged. It takes roughly 5-6hrs to build OpenELEC per project. Adding another project and the result is almost identical to the Odroid-U2 project felt like blasphemy of some sort.


...this is simply great news!
From what I've read in the XU3 section of the forum, there are some issues with XBMC .. I suspect the GPU/MFC drivers.

Is there anything where you could use some help?
Hominidae
 
Posts: 201
Joined: Sun Sep 07, 2014 2:34 am
languages_spoken: english
ODROIDs: XU3, C1

Re: OpenELEC for Odroid-U2/3

Unread postby Jonny57 » Sun Oct 05, 2014 2:32 am

Hello, OpenELEC starts with 1920x1080 and 1024x768 switched on when XBMC starts.
I can not adjust anything XBMC settings. Do you have any idea where I can set the.
In addition, XBMC will not play AVCHD, this is due to the license for Mpeg?
When will OpenELEC for XU3 ?
Jonny57
 
Posts: 4
Joined: Sun Oct 05, 2014 2:02 am
languages_spoken: deutsch
ODROIDs: u3 + xu3

Re: OpenELEC for Odroid-U2/3

Unread postby Ealaionta » Fri Oct 10, 2014 12:51 am

Is there an easy way to activate hardware acceleration for the Mali GPU in this or am I missing something?
With the CPU cores each alternating between 40 and 100% load and the temperatures reaching 90°C / 194°F on an 1080p video, I'd rather just use my old Raspberry for the job :\
Ealaionta
 
Posts: 6
Joined: Fri Oct 10, 2014 12:47 am
languages_spoken: english
ODROIDs: ODROID-U3+

Re: OpenELEC for Odroid-U2/3

Unread postby zalaare » Sat Oct 11, 2014 1:17 am

Ealaionta wrote:Is there an easy way to activate hardware acceleration for the Mali GPU in this or am I missing something?
With the CPU cores each alternating between 40 and 100% load and the temperatures reaching 90°C / 194°F on an 1080p video, I'd rather just use my old Raspberry for the job :\


Hardware acceleration works fine on the U3. Passively cooled always seems to run hot (mine does anyway).
zalaare
 
Posts: 181
Joined: Mon May 12, 2014 10:07 am
languages_spoken: english
ODROIDs: U3 Community | XU3 | XU4 | C1 | C1+

Re: OpenELEC for Odroid-U2/3

Unread postby Ealaionta » Sat Oct 11, 2014 2:33 am

zalaare wrote:Hardware acceleration works fine on the U3. Passively cooled always seems to run hot (mine does anyway).


So 1-2 cores on 100% load at any time is normal? Looks like it's only using the CPU to me, but I might have done something wrong :?
Ealaionta
 
Posts: 6
Joined: Fri Oct 10, 2014 12:47 am
languages_spoken: english
ODROIDs: ODROID-U3+

Re: OpenELEC for Odroid-U2/3

Unread postby Hominidae » Sat Oct 11, 2014 3:41 am

zalaare wrote:Another update from the home front here. I've got OpenELEC booting up on my XU3, however I have a few issues yet to deal with.
[...]
CEC doesn't work yet. EDIT Still work on U2. XU3 doesn't seem to have the capability. Still looking into it.

....:o
I am sure I did look it up when buying my XU3...maybe someone from HK could comment/clarify?!? TIA
Hominidae
 
Posts: 201
Joined: Sun Sep 07, 2014 2:34 am
languages_spoken: english
ODROIDs: XU3, C1

Re: OpenELEC for Odroid-U2/3

Unread postby memeka » Sat Oct 11, 2014 6:13 am

read this thread: viewtopic.php?f=97&t=6086&start=60#p51484

decoding works with some patches, but there is one more issue to fix.
User avatar
memeka
 
Posts: 3621
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: OpenELEC for Odroid-U2/3

Unread postby mcoburn » Sat Oct 11, 2014 11:49 am

Hi,
Could someone confirm if this supports PVR addons? I'm looking to make a DIY HDD Recorder that supports HD Channels via a DVB-T USB Adapter, because the home Panasonic one can't decode HD.
I'm also considering this one over the Debian Wheezy/Jessie ones because I just want a dedicated XBMC box that can be used to watch TV or recorded shows ... :P

Cheers!

EDIT: Hmm... Wireless isn't working. I'm using the ODROID branded realtek 8192cu USB adapter. Might need firmware...
M. Coburn
Coburn Tech Solutions
ODROIDs owned: ODROID-U2/ODROID-XU Rev 0.3 (20130717)/ODROID-C1/ODROID-XU4
Accessories: eMMC NAND modules, ODROID-VU, WiFi Modules, Serial Terminal to USB Adapter
mcoburn
 
Posts: 99
Joined: Tue Feb 26, 2013 9:56 am
Location: Australia
languages_spoken: English
ODROIDs: ODROID-U2, ODROID-XU, ODROID-C1

Re: OpenELEC for Odroid-U2/3

Unread postby wydziub » Mon Oct 13, 2014 7:58 pm

I'm using only 2 PVR addons: IPTVSimple PVR , Tvheadend HTSP Client. Both of them work just fine.

As for temperature, after 2 hours of playback (fullhd, mp4, aprox. 2GB file) - my U2 i barely lukewarm, so no issue here.
wydziub
 
Posts: 11
Joined: Fri Mar 15, 2013 7:04 pm
languages_spoken: english
ODROIDs: U2

Re: OpenELEC for Odroid-U2/3

Unread postby Captain Blackbird » Tue Oct 14, 2014 1:07 am

How do i set up a DNS Server on OpenELEC, possible?
How to get external HDD write access via SMB
Also i have some trouble with some 1080p video (top or bottom 1/3 part sometimes shift/shake right/left)
and often missing audio for some video files via hdmi out (conneczted to av-receiver)
User avatar
Captain Blackbird
 
Posts: 10
Joined: Tue Sep 30, 2014 8:42 pm
languages_spoken: german, english
ODROIDs: ODROID-U3+
ODROID-C2 (soon)

PreviousNext

Return to Other OS

Who is online

Users browsing this forum: No registered users and 1 guest