ODROBIAN Jessie for XU3/XU4

Locked
XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

ODROBIAN Jessie for XU3/XU4

Post by XeoSal »

Raspbian, Bananian, Orangian, all fruits in the world, etc.. Don't we also need an ODROBIAN? So, after releasing a Debian Jessie for Odroid C1/C1+ image with MATE desktop environment that includes hardware accelerated media player (KODI) and browser (Chromium) I decided to do the same once more for another platform.
System-Monitor.png
(48.02 KiB) Downloaded 20964 times
I am more than happy to release a Debian Jessie 8.3 image again with Mate Desktop Environment all accelerated by Mali-X11 drivers specifically built for the Odroid XU3 & XU4. Similarly, I've done specific tweaking to the image and such other optimizations to improve the overall performance. :)

Special thanks to:
Great people must be credited.
  • @debian-developers
  • @mdrjr (Kernel, drivers, technical references, hosting ODROBIAN repository, etc)
  • @owersun (KODI 15/16 source code optimized for 5422)
  • @ptitseb (GLshim 1.5 wrapper)
  • @meveric (Technical references)
  • @robroy (Community support)
  • @mad_ady (ODROID CPU Control utility)
  • @crashoverride (Black Screen issue fix)
  • @moon.linux (Black Screen issue fix)
Many other members that I've learnt from, and of course the whole HardKernel team.

Contributors/Supporters:
Anybody can join us on this list to show support.
  • @MrCrawdad
  • @xvonabur
You will be automatically included as soon as you start showing great feedback, suggestions or educational contributions.

Features
  • Lightweight Debian Jessie with Mate Desktop Environment hardware accelerated by Mali-X11 r9p0 drivers.
  • We have our own repository integrated perfectly which means you will receive new kernels & other updates remotely.
  • Rootfs is officially debootstrapped from stable (Pure Debian 8.3) armhf branch and is not an upgrade from older distributions.
  • Fully Hardware accelerated Kodi (Isengard or Jarvis - FINAL) by OpenGLESv3.1 along with Samsung (MFC) VPU optimizations.
  • Great desktop browsing with Chromium Browser that has native 3D EGL acceleration supporting WebGL.
  • Governors & underclocking in a range from 300MHz to 2.0GHz with simple commands and scripts to show current CPU information and temperature.
  • No bloatware at all, only essential tools are installed as deb packages beside the original software.
  • You can choose to login directly into Kodi session from the login screen or to the X desktop otherwise.
Please note that we also have a server edition, currently Odrobian (Vanilla) image size is about (80MB) compressed with version 2.0 and similarly the rootfs partition size is 320MB which is awesome, so choose what suits you the best from download section below, the default CPU governor is set to on-demand inside /boot/boot.ini file.

Available Packages
These are the most important packages available on ODROBIAN repository that I've compiled specifically for this distribution with the required ODROID XU3/XU4 optimizations of course, you will also find many other packages if you take a further look there.

Kernel Image (linux-image-odrobian-5422) - Obviously default on both flavors
Kernel Headers (linux-headers-odrobian-5422) - Optional on both flavors
Advanced MATE Menu (advanced-mate-menu) - Default on MATE & optional on Vanilla
CEC 3.0 (libcec-odrobian) - Optional on both flavors
Chromium Browser (chromium-browser-odrobian) - Default on MATE & optional on Vanilla
Cloudshell (cloudshell-odrobian) - Optional on both flavors
KODI Jarvis (FINAL) for X11 (kodi-jarvis-odrobian) - Default on MATE & optional on Vanilla
KODI Isengard (FINAL) for X11 (kodi-odrobian-5422) - Optional on both flavors
KODI Jarvis PVR Addons (kodi-pvr-addons) - Optional on both flavors
TVheadend (tvheadend) - Optional on both flavors
Platform V1 (libplatform1) - It's a dependency of PVR & optional on both flavors
Platform V2 (libp8-platform2) - It's a dependency of CEC & optional on both flavors
Shairplay (libshairplay) - Optional on both flavors
GLshim Wrapper (glshim-lbs) - Default on MATE & optional on Vanilla
Pepper Flash (libflashplayer) - Optional on both flavors
Mali X11 Drivers (mali-x11) - Will replace Mali Fbdev, default on MATE & optional on Vanilla
Mali Fbdev Drivers (mali-fbdev) - Will replace Mali X11, optional on both flavors
Odrobian Platform (odrobian-platform-5422) - Default on both flavors to function perfectly
5422 Boot Scripts (bootini) - Default on both flavors
Armsoc X Video (xserver-xorg-video-armsoc-5422) - Default on both flavors

Documentation
You can find everything you want to know about this distribution and how to configure it according to your own needs by exploring the documentation available on our repository, you should also read the ODROBIAN Project thread to learn more. Let me show you the headnotes list to summarize what you should expect to see there:
  • ODROID Chipset Reference
  • Getting Started
  • Advice & Tips
  • Updating Software & Kernel
  • Web Browser Experience
  • ODROID CPU Clocking
  • Multimedia & Kodi
  • Vanilla Section
  • ORGA
  • Stock Platform Material
  • Examples
  • Changelogs
I can also create more documents based on your suggestions, while you can still contribute to this project by submitting a documentation article for ODROBIAN written by you.

Download for XU3/XU4
ODROBIAN Jessie is available in flavors that you can choose from:
  • Desktop (MATE)
  • Vanilla (PURE)
Just download your desired edition directly from our repository:
http://oph.mdrjr.net/odrobian/images/

ODROID XU3/XU4 (SOC) = "5422"
Attachments
ODROBIAN-Jessie-2.0.png
Last edited by XeoSal on Wed Feb 24, 2016 4:14 pm, edited 127 times in total.

shepo
Posts: 30
Joined: Wed Jan 14, 2015 6:19 am
languages_spoken: english
ODROIDs: Odroid-XU4, Odroid-C2, Odroid Go Advance
Location: Brough, England
Has thanked: 0
Been thanked: 2 times
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by shepo »

Look forward to giving it a play, nice work

Pienoet
Posts: 406
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch
Has thanked: 1 time
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by Pienoet »

Nice work!

I hope the blackscreen issue will be fixed soon untill then it's uselees to install kodi on my XU4.

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

Pienoet wrote:Nice work!

I hope the blackscreen issue will be fixed soon untill then it's uselees to install kodi on my XU4.
Not really, I actually could live with it through using the console switching method, it will logically take you 2 seconds to remove the black screen.

Edit: Closing Kodi will not trigger the black screen issue when opened as a session from the login screen, I opened a thread for discussing the matter.

Schnapper79
Posts: 9
Joined: Wed Oct 14, 2015 12:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by Schnapper79 »

Works pretty good so far. But i havr two questions:
Chromium says videodecoding in HW deactivated. Why? Shouldn't that work with Mali drivers?

And second: I need kernel sources, headers and your .config to recompile kernel (need to add vcan)

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

Schnapper79 wrote:Works pretty good so far. But i havr two questions:
Chromium says videodecoding in HW deactivated. Why? Shouldn't that work with Mali drivers?

And second: I need kernel sources, headers and your .config to recompile kernel (need to add vcan)
There has never been H/W video decoding for linux chromium in ARM platform till date (or at least, for samsung VPU), mali has nothing to do with the MFC codec and VPU block inside the SOC, video rendering is yes accelerated by Mali-X11 drivers inside chromium but the CPU has to do all the work to decode a video. Unfortunately, right now only Kodi can make use of the hardware video decoding block.

I've used @memeka's repo to compile the kernel, you will find it here: https://github.com/mihailescu2m/linux/t ... 0.y-memeka
The source code already includes the config file :)

Schnapper79
Posts: 9
Joined: Wed Oct 14, 2015 12:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by Schnapper79 »

Hmmm. See http://forum.odroid.com/viewtopic.php?f=112&t=8267

There the posts state HW accelerated video decoding.

Thanks for the link to the kernel.

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

Schnapper79 wrote:Hmmm. See http://forum.odroid.com/viewtopic.php?f=112&t=8267

There the posts state HW accelerated video decoding.

Thanks for the link to the kernel.
As I said earlier, chromium could easily be fooled into believing itself having hardware accelerations (when using certain experimental flags), if you want I can fool the chromium that I am hosting inside my image for you as well but no let it tell the truth better. ;)

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

After testing, the next release is going to be dramatically higher in performance (mainly, because of compiling latest official kernel + maintained GPU @mdrjr's r5p1 drivers) I am getting higher frame rates in games and web GL tests also, the CPU usage is lower than the beta. :)

Odrobian 1.0 (Stable) - for XU3/XU4
-Compiled latest unmodified kernel from @mdrjr repo (Oct 16, 2015).
-Used Mali-X11 r5p1 binaries by @mdrjr (stable & optimized GPU performance).
-Upgraded Kodi and recompiled version 15.2 (Isengard) by @owersun.
-Compiled GLshim 1.5 library.
-kernel headers & modules are now install as deb packages.
-Compiled glmark2-es2 and installed it as a deb package.
-Some minor optimizations.

I am having a regular set of packages for my XU3/XU4 image so I guess I am gonna need a repo soon for updates, here is a pic:
XU3-XU4-Packages.png
(13.07 KiB) Downloaded 30080 times
I am going to upload very soon, I recommend upgrading for a stable & smooth Debian experience.
Last edited by XeoSal on Sat Oct 17, 2015 6:22 am, edited 2 times in total.

Schnapper79
Posts: 9
Joined: Wed Oct 14, 2015 12:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by Schnapper79 »

Any idea when you gonna upload the new image and your deb packages?

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 61 times
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by memeka »

what's the difference in X11 between r5p1 and r6p0?
I know r6p0 has OpenGL-ES 3.1 - you can see in glmark2 there are more tests being done with r6p0 than r5p1 (GLES 3.0). Are there disadvantages?

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

memeka wrote:what's the difference in X11 between r5p1 and r6p0?
I know r6p0 has OpenGL-ES 3.1 - you can see in glmark2 there are more tests being done with r6p0 than r5p1 (GLES 3.0). Are there disadvantages?
I've done a lot of tests and benchmarking, I will explain now:
The x11 r6p0 binaries would've been much better if the device driver was implemented perfectly into the kernel source, because under heavy CPU & GPU load the kernel would give a sys log stating that the G3D block is off-state (doesn't happen with original kernel + r5p1) which really affects the overall performance however, the g3d block actually gets in off-state condition for about a second then return to its original state (again this happens under load), please download both images when I provide the links and test it you may help me getting them better in the next version, I will make a release again with the r6p0 driver when I am convinced.

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 61 times
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by memeka »

have you tried with vsync off?
in kernel config, unset:
CONFIG_DRM_EXYNOS_EXPERIMENTAL_VSYNC=y

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

memeka wrote:have you tried with vsync off?
in kernel config, unset:
CONFIG_DRM_EXYNOS_EXPERIMENTAL_VSYNC=y
Isn't the vsync option meant for the fbdev binaries, I thought you didn't even implement any changes regarding the vsync and DMA-BUF into your kernel?
Also, I have no "CONFIG_DRM_EXYNOS_EXPERIMENTAL_VSYNC=y" in my config file.
Schnapper79 wrote:Any idea when you gonna upload the new image and your deb packages?
The image is getting uploaded right now, the deb packages will be installed by default except for 3 optional ones: libplaform, libshairplay and libcec3.
The cec package would affect kodi if you were using it in a monitor with no cec support that's why it's not installed. I will provide links to the optional packages soon.

Pienoet
Posts: 406
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch
Has thanked: 1 time
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by Pienoet »

When do you think you can provide the links to the optional packages?

I really need libcec3 and libshairpay would be nice too :mrgreen:
XeoSal wrote: The image is getting uploaded right now, the deb packages will be installed by default except for 3 optional ones: libplaform, libshairplay and libcec3.
The cec package would affect kodi if you were using it in a monitor with no cec support that's why it's not installed. I will provide links to the optional packages soon.

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 61 times
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by memeka »

libcec3 is available in debian standard repo (at least for sid distro)

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

Pienoet wrote:When do you think you can provide the links to the optional packages?

I really need libcec3 and libshairpay would be nice too :mrgreen:
Here you go, these are the optional packages that I've compiled specifically for my distribution with required optimizations like exynos support for CEC.

CEC 3.0
http://www.mediafire.com/?fsrbk3eb3by4lb2

Shairplay
http://www.mediafire.com/?293qid1mxvju1xj

Platform
http://www.mediafire.com/?5swqn6nuv61iy5o

Also, I have upgraded Kodi to isengard, the helix package would be provided as an optional as well I guess although I don't recommend it over the current one.

Pienoet
Posts: 406
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch
Has thanked: 1 time
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by Pienoet »

Thanks! i installed these packages but can't get CEC to work.

The cec settings in kodi are still greyed out.

And there are no pvr addons?

Am i missing something?
XeoSal wrote:
Here you go, these are the optional packages that I've compiled specifically for my distribution with required optimizations like exynos support for CEC.

CEC 3.0
http://www.mediafire.com/?fsrbk3eb3by4lb2

Shairplay
http://www.mediafire.com/?293qid1mxvju1xj

Platform
http://www.mediafire.com/?5swqn6nuv61iy5o

Also, I have upgraded Kodi to isengard, the helix package would be provided as an optional as well I guess although I don't recommend it over the current one.

albanibr
Posts: 44
Joined: Fri Aug 07, 2015 1:58 am
languages_spoken: english, portuguese
ODROIDs: C2 / N2 4gb
Location: Brazil
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by albanibr »

Thank you!

I have tried something like openelec and it seems to me that the odrobian is the choice!

the CEC worked for me !!
Would like some help setting up the kodi automatic boot ...i'm noob

and sickrage did not work in KODI, but CouchPotato works! any tips?

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

albanibr wrote:Thank you!

I have tried something like openelec and it seems to me that the odrobian is the choice!

the CEC worked for me !!
Would like some help setting up the kodi automatic boot ...i'm noob

and sickrage did not work in KODI, but CouchPotato works! any tips?
Very easy, open up a terminal inside the desktop (Ctrl + T):

Code: Select all

odroid:$ sudo pluma /etc/lightdm/lightdm.conf
After that replace all the file content with this:

Code: Select all

[SeatDefaults]
autologin-user=odroid
autologin-user-timeout=0
Then go to System > Log Out odroid then log again into a Kodi session, after that restart your board and you will always be auto-loged to the last session you were running.
I am glad to hear you have no problems running this distribution with CEC, implement my auto-login solution and report back, it will just make it similar to OpenELEC.
Pienoet wrote:Thanks! i installed these packages but can't get CEC to work.

The cec settings in kodi are still greyed out.

And there are no pvr addons?

Am i missing something?
Did you install both of CEC and Platform? It also worth a try to reboot the board after installation, open up a terminal and type:
(try to send CEC signals from your TV to the device as well while below command running in console then give me the output)

Code: Select all

odroid:$ sudo cec-client
Apparently, there are no PVR add-ons already installed, you have the choice to install them with your own preference. :)

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

Hello guys,
Attention (Oct 19, 2015): Odrobian 1.0 stable image is re-uploaded after full cache clean up and zeroing the empty space. As a result, the new size of the compressed image file is 547MB and similarly the actual size of the rootfs partition after extracting now is 1.72GB reaching my goal to be the most lightweight desktop distribution for odroids. If HardKernel host this image on their servers now it would be really nice, the old link is replaced with the new one under the download section (no need to download again because basically there are no improvements except for cleanups which you can do with yourself).

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 61 times
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by memeka »

feedback: not sure if others can make this work, but Netflix on Chrome is not working, after starting to play you get Netflix Error Code: C7121-1321-1005

albanibr
Posts: 44
Joined: Fri Aug 07, 2015 1:58 am
languages_spoken: english, portuguese
ODROIDs: C2 / N2 4gb
Location: Brazil
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by albanibr »

Suggestions for next release

kodi autoboot
Folders and USB Drives already shared

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

albanibr wrote:Suggestions for next release

kodi autoboot
Folders and USB Drives already shared
How aren't they shared, please explain more? I will take a look at this when I have the time, right now I am going to work.

Schnapper79
Posts: 9
Joined: Wed Oct 14, 2015 12:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by Schnapper79 »

hey... i'm still playing around with your beta, trying to compile qt5.6 (alpha).

i just realized that some symlinks (usr/lib/arm-linux-gnueabihf/libGLESv2.so , libEGL.so and other) seem to be broken. fixing these two allowed me to start the compilation of qt, in some hours I'll know if it works.

albanibr
Posts: 44
Joined: Fri Aug 07, 2015 1:58 am
languages_spoken: english, portuguese
ODROIDs: C2 / N2 4gb
Location: Brazil
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by albanibr »

XeoSal wrote:
albanibr wrote:Suggestions for next release

kodi autoboot
Folders and USB Drives already shared
How aren't they shared, please explain more? I will take a look at this when I have the time, right now I am going to work.
the system says do not have permissions to share.
"odroid" user

it would be interesting if it were as in openelec (including system folders, USB drivers etc.)

all ever shared

thanks man!!

Schnapper79
Posts: 9
Joined: Wed Oct 14, 2015 12:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by Schnapper79 »

When i tried to test your stabile image i couldn't installiert build-essential. It tried to installiert linux-libc-dev_3.16 which didnt work but still messed things up. Any idea?

Also (I know its not your image but I guess you have some experience) I tried to install Mali fbuffer on Ubuntu LTS. I tried the the 5422_bsp files but couldnt install armsoc. Could you please tell me how you are building your images? Thanks...

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 61 times
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by memeka »

Schnapper79 wrote:When i tried to test your stabile image i couldn't installiert build-essential. It tried to installiert linux-libc-dev_3.16 which didnt work but still messed things up. Any idea?

Also (I know its not your image but I guess you have some experience) I tried to install Mali fbuffer on Ubuntu LTS. I tried the the 5422_bsp files but couldnt install armsoc. Could you please tell me how you are building your images? Thanks...
i would recommend searching on google what all of these packages do, before installing them.
framebuffer and x11 drivers do NOT work together. framebuffer are drivers for console only, so if you install those, x11/armsoc will never work. if you want armsoc/x11 then you need to erase the fb drivers, and install the x11 drivers.

Schnapper79
Posts: 9
Joined: Wed Oct 14, 2015 12:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by Schnapper79 »

OK thanks.. No armsoc then... I thought armsoc is for all Mali, not for x11 only. I know that much that fb and X11 don't work together...

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

Schnapper79 wrote:When i tried to test your stabile image i couldn't installiert build-essential. It tried to installiert linux-libc-dev_3.16 which didnt work but still messed things up. Any idea?

Also (I know its not your image but I guess you have some experience) I tried to install Mali fbuffer on Ubuntu LTS. I tried the the 5422_bsp files but couldnt install armsoc. Could you please tell me how you are building your images? Thanks...
Nope, it's not my image (someone else built it) after that I hacked his computer and stole it that's when I decided to post it here so all can benefit from what I've got.
Even though there is maybe ten thousands tutorials explaining how to build an image from scratch, please find a better way to ask for information politely so that people feel cool to help you. ;)
BTW, this is a release and is not a tutorial, so find your way to the HowTo forum and ask what ever you want there, do not hijack my thread.

EDIT: Sorry if I misunderstood you but your English is really bad.

Schnapper79
Posts: 9
Joined: Wed Oct 14, 2015 12:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by Schnapper79 »

I'm sorry for my bad english, but yes, you did misuderstand me.
When saying "the image is not made by you" I meant that ubuntu lts server image without x11. If that one is also made by you the I have to appologize.

memeka already gave me the hint that armsoc is for x11 only.

Still i have the question about your stable release: When trying to install "build-essential" apt-get wants to install linux-linbc-dev_3.16 (which i guess would be right for trusty standart kernel). Do you know how to prevent this?

mrkaehler
Posts: 9
Joined: Fri Sep 11, 2015 8:49 am
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by mrkaehler »

I have a black screen (no output) with an hdmi2vga adapter (blue heartbeat OK, kernel is running) - access via ssh is possible.
This adapter is working with Android and Ubuntu.

sent from telefonino

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by XeoSal »

mrkaehler wrote:I have a black screen (no output) with an hdmi2vga adapter (blue heartbeat OK, kernel is running) - access via ssh is possible.
This adapter is working with Android and Ubuntu.

sent from telefonino
i am guessing that your adapter may work in DVI mode, it's worth a try to go ahead and change from HDMI to DVI in your boot.ini file, does it have audio output? :)

mrkaehler
Posts: 9
Joined: Fri Sep 11, 2015 8:49 am
Has thanked: 0
Been thanked: 0
Contact:

Re: (Odrobian) Debian Jessie 8.2 MATE with KODI for XU3/XU4

Post by mrkaehler »

I have two different adapters - one with and one without audio.
Found the /boot/boot.ini and this without audio now work at generic 720p :)

sent from telefonino

sandeep.rao
Posts: 27
Joined: Sat Sep 05, 2015 11:29 pm
languages_spoken: english
ODROIDs: XU4, C1+
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by sandeep.rao »

XeoSal wrote: Headless
Odrobian 1.0 (Stable) - Best for networking & services
File Size: 106MB
https://www.mediafire.com/?c0bow2t1if25503

...
...
Here's also information for the root which is used by the headless image as default user and the desktop image as well (you're advised to change password immediately for security purposes especially on headless):
Username: root
Password: odroid

...
...

If this image receive attention from the community I will keep releasing and updating deb packages from mainline sources for latest applications and drivers. Have fun!
Flashed the image, resized storage, installed firmware - Working fine.

Code: Select all

root@dcgateway:~# free -m
             total       used       free     shared    buffers     cached
Mem:          1990        230       1760          5          3         26
-/+ buffers/cache:        200       1790
Swap:            0          0          0
root@dcgateway:~#
Only one issue is pending for now. Connect eth0 (LAN cable) and insert the dongle and then boot - both the interfaces come up.

Now after boot remove LAN cable only - Wireless interface also stops working though ifconfig lists it - Found that few others had reported similar issue.

Thanks for the image.

Quite a few had recommended to turn of power management for wlan0 for now have done that via a post-up in /etc/network/interfaces

Code: Select all

auto wlan0
iface wlan0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
wpa-conf /etc/network/wpa.conf
post-up iwconfig wlan0 power off

sputnik1969
Posts: 20
Joined: Mon Mar 30, 2015 6:54 am
languages_spoken: english, german
ODROIDs: C1
C2
XU3 lite
Location: Berlin, Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by sputnik1969 »

Every time i use the multimedia-keys (volume up/down) on my keyboard while kodi is running, screen turns black, movie continous playing but no more chance to to anything until turning device hard off...
device does not react on keyboard or mouse events

Hades
Posts: 8
Joined: Tue Oct 27, 2015 9:54 pm
languages_spoken: english, german
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by Hades »

Might be a stupid question but I was trying to flash the headless img using the steps outlined in the odroid wiki and could not get it to work - is there some magic behind this or another tutorial for someone who is used to the simple process of raspberries? :D
Last edited by Hades on Fri Oct 30, 2015 6:06 am, edited 1 time in total.

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by XeoSal »

Hades wrote:Might be a stupid question but I was trying to flash the headless img using the steps outlined in the odroid wiki and could not get it to work - is there some magic behind this or another tutorial for someone how is used to the simple process of raspberries? :D
This image can be flashed normally using the same way outlined in the odroid wiki as any other image, give some information: Are you trying to flash it on an eMMC or SD card?
Did you set the switch to boot from the actual storage device you are currently using (either eMMC or SD).
What do you see when you are booting, a black screen? Is your odroid's blue LED flashing?
sputnik1969 wrote:Every time i use the multimedia-keys (volume up/down) on my keyboard while kodi is running, screen turns black, movie continous playing but no more chance to to anything until turning device hard off...
device does not react on keyboard or mouse events
Yeah, you are right, the only way to control the volume is by using the controls of KODI itself on keyboard which are "+" and "-". I noticed that this is only happening on the XU4 image and not on the C1 so it's probably something related to the video driver.

Can you test this also on the official ubuntu image, it may be something related to compatibility between XU4 drivers against KODI version. :)

EDIT: I will diagnose the issue with my self, it happens because of the system volume changing animation appearing as a new layer upon the current KODI layer which seems to cause the bug and kernel panic (KODI volume control buttons will not cause an issue because they are on the same layer), I am not sure if ubuntu has the same behavior when changing system volume or not (will check soon). I guess that @odroid will have to take a look at this so we can identify the actual issue.
Last edited by XeoSal on Fri Oct 30, 2015 6:30 am, edited 4 times in total.

Hades
Posts: 8
Joined: Tue Oct 27, 2015 9:54 pm
languages_spoken: english, german
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by Hades »

I am trying to flash it onto a 8Gb eMMC module, switch is set appropriately to boot the XU4 from said eMMC module - during boot-up I can see the uBoot console through HDMI and the blue LED is showing the blinking heartbeat but the console is getting stuck at "freeing unused kernel memory"

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by XeoSal »

Hades wrote:I am trying to flash it onto a 8Gb eMMC module, switch is set appropriately to boot the XU4 from said eMMC module - during boot-up I can see the uBoot console through HDMI and the blue LED is showing the blinking heartbeat but the console is getting stuck at "freeing unused kernel memory"
This seems like a soft corrupted eMMC module, it's worth a try recovering your eMMC boot sectors using this method from Odroid Wiki.
XU3/XU4 eMMC Bootloader Recovery

Hades
Posts: 8
Joined: Tue Oct 27, 2015 9:54 pm
languages_spoken: english, german
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by Hades »

Recovered and refreshed the odrobian image - now it is working beautifully. Thank you so much for your help :)
Just one more question, is if intended that the boot process gets stuck when there is no ethernet cable plugged in? Or am I just too inpatient and there is a timeout for it (that might be manipulated?)

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by XeoSal »

Hades wrote:Recovered and refreshed the odrobian image - now it is working beautifully. Thank you so much for your help :)
Just one more question, is if intended that the boot process gets stuck when there is no ethernet cable plugged in? Or am I just too inpatient and there is a timeout for it (that might be manipulated?)
Having no Ethernet connection will slow the booting time indeed especially on first boot. If you are not planning to make use of it just disable the network manager and use the manual settings in /etc/network/interfaces and it will boot really fast. :)

abayoumy
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by abayoumy »

good work :)

only one issue

I have broken dep

Code: Select all

root@odroid:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  linux-libc-dev
The following NEW packages will be installed:
  linux-libc-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
Need to get 0 B/977 kB of archives.
After this operation, 3327 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 120136 files and directories currently installed.)
Preparing to unpack .../linux-libc-dev_3.16.7-ckt11-1+deb8u5_armhf.deb ...
Unpacking linux-libc-dev:armhf (3.16.7-ckt11-1+deb8u5) ...
dpkg: error processing archive /var/cache/apt/archives/linux-libc-dev_3.16.7-ckt11-1+deb8u5_armhf.deb (--unpack):
 trying to overwrite '/usr/include/linux/version.h', which is also in package kernel-headers 20151016-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-libc-dev_3.16.7-ckt11-1+deb8u5_armhf.deb

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by XeoSal »

abayoumy wrote:good work :)

only one issue

I have broken dep
I have just newly flashed this image on an SD card and checked the same situation but it doesn't get broken dep, I guess you need to verify the data written after flashing the image, try using the verify button as stated on the odroid wiki. :)

However, for your case I would suggest cleaning the apt cache then updating the repos and reinstalling the linux-libc-dev package again:

Code: Select all

odroid:# apt-get clean && apt-get update && apt-get install linux-libc-dev

abayoumy
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by abayoumy »

not work

this file is missing
/usr/include/linux/version.h

can you send it to my>

also i try to reinstall

Code: Select all

apt-get --reinstall install   kernel-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of kernel-headers is not possible, it cannot be downloaded.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libc6-dev : Depends: linux-libc-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

User avatar
meveric
Posts: 12102
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 89 times
Been thanked: 667 times
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by meveric »

You're reading it wrong:
It's not saying it's MISSING anything, it's saying someone installed a messed up package:
abayoumy wrote:

Code: Select all

dpkg: error processing archive /var/cache/apt/archives/linux-libc-dev_3.16.7-ckt11-1+deb8u5_armhf.deb (--unpack):
 trying to overwrite '/usr/include/linux/version.h', which is also in package kernel-headers 20151016-1
It says the package linux-libc-dev_3.16.7-ckt11-1+deb8u5_armhf.deb contains the file /usr/include/linux/version.h which is ALSO part of the file: kernel-headers 20151016-1
Since there are no files called "kernel-headers" in version 20151016-1 on a Debian system, It's very likely someone created a package kernel-headers manually and included files that not belong there.
Normal kernel header files would NEVER install anything into /usr/include/ so this package seems totally messed up.
And it's more likely that more of the system is messed up and probably has broken headers and/or other files.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by XeoSal »

You can't reinstall kernel headers regularly by apt-get that's way it says it cannot be downloaded, this image has a specific one that I have compiled and installed by default , I guess you have messed up some of its contents, I will upload it when I get back home then you'll have to install it manually. :)

I still recommend reflashing the image again verifying the data written.

User avatar
meveric
Posts: 12102
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 89 times
Been thanked: 667 times
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by meveric »

XeoSal wrote:You can't reinstall kernel headers regularly by apt-get that's way it says it cannot be downloaded, this image has a specific one that I have compiled and installed by default , I guess you have messed up some of its contents, I will upload it when I get back home then you'll have to install it manually. :)

I still recommend reflashing the image again verifying the data written.
You're getting it wrong.
It's not complaining that it can not install the kernel-headers.. and it doesn't WANT to install kernel-headers... It's complaining the files of the kernel-headers package are IN THE WAY. They are not where they should be.
best practise would be to UNINSTALL the kernel-headers package, since they are obviously faulty. That way linux-libc-dev can be installed normally.

@abayoumy
do a

Code: Select all

apt-get remove linux-headers
that should fix the issue and afterwards allow you to install linux-libc-dev normally.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

XeoSal
Posts: 925
Joined: Sun Aug 30, 2015 11:21 pm
languages_spoken: English
ODROIDs: C1, C1+, C2 & XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by XeoSal »

Oh, I see, sorry I was at work and I didn't pay attention, now I understand so according to @meveric here are the steps:

Code: Select all

odroid:# apt-get purge linux-headers
odroid:# apt-get install linux-libc-dev
I guess the next Odrobian 1.1 release will not have my own kernel-headers package installed by default and will be provided optionally. ;)
BTW, @abayoumy please specify whether you are using the headless version of this image or the desktop one otherwise just so I can make up my mind, because I haven't installed kernel-headers on the headless one so it may be other issue if you referring to it.

abayoumy
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Odrobian Jessie with MATE & KODI (or headless) for XU3/X

Post by abayoumy »

I'm using desktop ver
I reinstall the image again and start install application
after install SickRage i got same error !!!

Code: Select all

sudo apt-get install python-cheetah python-pip python-dev libssl-dev git -y
sudo git clone http://github.com/SiCKRAGETV/SickRage.git /opt/sickrage

also i cannot remove it !!!

Code: Select all

 apt-get purge linux-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
Virtual packages like 'linux-headers' can't be removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libc6-dev : Depends: linux-libc-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Locked

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest