[FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2015]

Moderators: odroid, mdrjr

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby silverman » Wed Feb 03, 2016 10:01 pm

@memeka - are you still working on this? Or is this project dead? Would appreciate if you could let me know coz i am still on Gotham on my XU :(
silverman
 
Posts: 55
Joined: Wed Mar 26, 2014 6:18 am
languages_spoken: english
ODROIDs: XU Lite

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jpearn » Thu Feb 11, 2016 3:34 pm

Well we are in EOL corner now :(
jpearn
 
Posts: 8
Joined: Sat Feb 01, 2014 6:29 am
languages_spoken: english
ODROIDs: U2

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby silverman » Thu Feb 11, 2016 7:42 pm

Yeah i know. But this looked like a promising update as it neared EOL.
silverman
 
Posts: 55
Joined: Wed Mar 26, 2014 6:18 am
languages_spoken: english
ODROIDs: XU Lite

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby Nuems » Fri Feb 12, 2016 12:16 am

We might easily beat the one year mark waiting for this image. It's a real pity.
Nuems
 
Posts: 98
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german, some spanish
ODROIDs: xu, c1

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jpearn » Thu Mar 31, 2016 7:47 am

1 year today from [30/03/2015] :)
jpearn
 
Posts: 8
Joined: Sat Feb 01, 2014 6:29 am
languages_spoken: english
ODROIDs: U2

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby cflash » Sat May 07, 2016 5:30 pm

Memeka, please! we need you!
cflash
 
Posts: 4
Joined: Wed Nov 19, 2014 4:29 pm
languages_spoken: english, russian
ODROIDs: xu3 lite

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby AleksBak » Thu Jun 09, 2016 3:54 pm

memeka wrote:Release notes:

v. 30032015

(upload in progress)
...

Could you please complete the process of uploading this image (v. 30032015) ? If you have it once created, it is a big plus for you! :!: If you still show this image to other people, they will be even more grateful!! :!: :!: For example, I would be happy!!! :!: :!: :!: Especially because Odroid-XU has an old board. Sincerely.
AleksBak
 
Posts: 33
Joined: Sun May 18, 2014 1:06 pm
Location: Baku
languages_spoken: english
ODROIDs: Odroid-XU+E

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Mon Apr 10, 2017 8:39 pm

Sorry for the disappointment to all people that have waited on this image.
But since I had a bit of time last couple of days, I have updated to Ubuntu 16.04 LTS and I am now trying Kodi 18 agile + Netflix.

Are there people still using the XU? Interested in a well deserved update?

IMG_0233.JPG
(69.49 KiB) Downloaded 117 times

IMG_0234.JPG
(71.97 KiB) Downloaded 117 times
Attachments
IMG_0236.JPG
(76.11 KiB) Downloaded 117 times
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby cflash » Sat Apr 15, 2017 8:47 pm

MemeKa, welcome back! :D
At least i would be most gratefull for this long-long awaited release from you!
cflash
 
Posts: 4
Joined: Wed Nov 19, 2014 4:29 pm
languages_spoken: english, russian
ODROIDs: xu3 lite

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jpearn » Thu Apr 27, 2017 2:36 am

Yes please on the update !
jpearn
 
Posts: 8
Joined: Sat Feb 01, 2014 6:29 am
languages_spoken: english
ODROIDs: U2

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jacakk » Thu Jun 08, 2017 2:45 am

memeka wrote:Sorry for the disappointment to all people that have waited on this image.
But since I had a bit of time last couple of days, I have updated to Ubuntu 16.04 LTS and I am now trying Kodi 18 agile + Netflix.

Are there people still using the XU? Interested in a well deserved update?

IMG_0233.JPG

IMG_0234.JPG[/attachment
[attachment=0]IMG_0236.JPG

Yes... there are still interested people! :D
jacakk
 
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
Location: Poland
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jacakk » Thu Jun 08, 2017 2:48 am

Is there any chance for Ubuntu 16.04 LTS?

I was asking for it... but no answer... :(
viewtopic.php?f=61&t=23991
jacakk
 
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
Location: Poland
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Thu Jun 08, 2017 8:52 am

no, debian stretch
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jpearn » Fri Jun 16, 2017 5:52 am

Debian stretch works for me !
jpearn
 
Posts: 8
Joined: Sat Feb 01, 2014 6:29 am
languages_spoken: english
ODROIDs: U2

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jacakk » Sat Jun 17, 2017 5:43 am

memeka wrote:no, debian stretch

maybe we can help you?
jacakk
 
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
Location: Poland
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Sat Jun 17, 2017 6:55 am

Just waiting for Debian stretch to be released :)
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jacakk » Wed Jun 21, 2017 2:00 am

memeka wrote:Just waiting for Debian stretch to be released :)


but it has been released recently... :D
https://wiki.debian.org/DebianStretch

--- edit ---
ohhh... sorry.
1 day after your last message :D
jacakk
 
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
Location: Poland
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Wed Jun 21, 2017 9:44 am

will release it in the next month :)
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jacakk » Sun Jul 09, 2017 6:02 am

memeka wrote:will release it in the next month :)

Can't wait :D
jacakk
 
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
Location: Poland
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jpearn » Mon Jul 24, 2017 4:35 am

Stick me down for beta testing if needed !
jpearn
 
Posts: 8
Joined: Sat Feb 01, 2014 6:29 am
languages_spoken: english
ODROIDs: U2

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jacakk » Sun Aug 06, 2017 6:18 pm

memeka wrote:will release it in the next month :)

Any news? :D
jacakk
 
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
Location: Poland
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Mon Aug 28, 2017 2:52 pm

sorry went in holiday :D will get back to this after refreshing the xu4 image :(
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby randomuser » Sun Sep 17, 2017 11:38 pm

Any news? I would like an updated image for my odroid XU and XU4. Or if anyone has any suggestions for an image to use. It's so sad my less than 5 year old dev boards are EOL with no recent OS support to look forward too. But I have a 10 year old Dell D620 that can run Ubuntu 16 as well as Fedora 24 and Windows 10.. I know it is not a fair comparison but it feels like a 10 year old laptop is still going to have a chance to be useful and safe in 5 years. Where my collection of arm boards is going to be a joke to try to make any use of as time goes by.
randomuser
 
Posts: 3
Joined: Tue Sep 17, 2013 2:26 pm
languages_spoken: english
ODROIDs: Odroid-XU

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby lribeiro » Sat Oct 07, 2017 11:10 pm

Hi Guys,

Any update on what's the work required to get debian stretch in good shape for the XU?

Memeka, can you share any details on your progress? Any WIP I could get my hands on and improve?
lribeiro
 
Posts: 4
Joined: Sun Jun 08, 2014 12:56 am
languages_spoken: english
ODROIDs: XU-Lite, U3

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Mon Jan 01, 2018 5:08 pm

debian stretch / ubuntu 16.04 has issues with the MFC hardware video decoder - for some reason it cannot load the firmware. I think it's because systemd.
Even with debian jessie, after upgrading all packages from backports repository, MFC stops working.

So it’s gonna be Debian Jessie, since it’s supported until 2020. 14.04 support ends in 2019...
Maybe devuan might work, but their stable now is still Jessie... so no point...

I tried patching latest FFMPEG 3.4.1 to work with the XU decoder, but no dice. I made it work until MFC returns some decoded frames, but polling fails and ffmpeg gets stuck in some kind of an infinite loop - probably waiting for MFC frame (i can break it with CTRL-C) :(
Maybe someone with more knowledge can help (@Oversun?), here are some logs:

- FFMPEG log: http://paste.debian.net/1003124/
- MFC log: http://paste.debian.net/1003123/

So it seems like Kodi Krypton will be the latest that will work on the XU, although I still need to test if things work fine...
(this also means that no netflix plugin from leia... at least not work hardware decoding. software decoding works ok).

So, for those still interested ... would they like Leia alpha with software decoding on stretch/ubuntu 16.04/ubuntu 18.04, or Krypton with hw decoding on Debian jessie?
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby Nuems » Mon Jan 01, 2018 6:47 pm

First of all: Thank you for still thinking about this.
Choice of OS/OS release and Kodi version is somewhat tricky:
a) Kodi
Having a few days off, I've been playing with my Jessie/Wayland/Jarvis installation recently which is more or less in the state you described in the dashboard thread ages ago (apart from Jarvis, obviously). It's usable, but there's still an issue with screen flickering in the top right quarter of the screen which is not Kodi-related (it also becomes apparent when you move/resize windows in that area). AFAIK, Kodi temporarily dropped Wayland support for Krypton, so a solution with Wayland would require Leia.
OTOH, the fan is really a pain when not using hardware decoding. So, unless someone comes up with an idea for the MFC issues, the way to go would be a solution with hybris-based, hardware accelerated Krypton on Jessie and possibly Wayland without Kodi.
b) OS/release
Currently, I'm running Jessie and fortunately, I haven't run into those MFC FW loading issue yet, however, I've only installed selected packages from backports. But then again, some parts of the development stack in Jessie are really old (e.g. the meson build system). This makes trying new things pretty difficult.
But as I've first noticed here, there may be a general problem with "our" hybris-based solution and systemd: systemd wants /dev/log to be a softlink to /run/systemd/journal/syslog whereas we used to create a directory /dev/log which hosts softlinks to /dev/log_event etc. For me, Kodi doesn't work without those links and so I'm using a fairly dirty workaround. (Wayland works fine without them, though, and it's very possible that I've mesed up something along the way). If this issue persists, Devuan would be a way out after all. I also wonder whether the FW loading issues might be related to newer versions of systemd in connection with the old 3.4.y kernel.
Nuems
 
Posts: 98
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german, some spanish
ODROIDs: xu, c1

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Mon Jan 01, 2018 7:49 pm

can you please post here a weston log? i want to see the extension support of the drivers and don't have wayland installed anymore :)
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby Nuems » Mon Jan 01, 2018 8:50 pm

Here you go (and never mind the date/time - weston is autostarted by systemd before the correct date and time are set):
Code: Select all
root@odroid-xu:~# cat /var/log/weston.log
Date: 2012-01-01 CET
[01:00:22.018] weston 1.7.0
               http://wayland.freedesktop.org
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.7.0
               Build: 1.7.0 configure.ac: bump to version 1.7.0 for release (2015-02-13 20:47:09 -0800)
[01:00:22.018] OS: Linux, 3.4.104-Linux-Bridging-2017, #1 SMP PREEMPT Tue Jan 17 19:57:15 CET 2017, armv7l
[01:00:22.028] Using config file '/root/.config/weston.ini'
[01:00:22.033] Loading module '/usr/local/lib/weston/wayland-backend.so'
[01:00:22.369] launching '/usr/local/libexec/weston-keyboard'
[01:00:23.740] Loading module '/usr/local/lib/weston/gl-renderer.so'
[01:00:23.776] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[01:00:23.776] Creating 1920x1080 wayland output at (0, 0)
[01:00:23.887] EGL version: 1.4 Android META-EGL
[01:00:23.887] EGL vendor: Android
[01:00:23.887] EGL client APIs: OpenGL_ES
[01:00:23.887] EGL extensions: EGL_KHR_image EGL_KHR_image_base
               EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image
               EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync
               EGL_ANDROID_image_native_buffer EGL_HYBRIS_native_buffer2
               EGL_HYBRIS_WL_acquire_native_buffer EGL_WL_bind_wayland_display
               EGL_EXT_swap_buffers_with_damage
               EGL_WL_create_wayland_buffer_from_image
[01:00:23.887] GL version: OpenGL ES 2.0 (OpenGL ES 2.0 build 1.10@2209507)
[01:00:23.887] GLSL version: OpenGL ES GLSL ES 1.00 build 1.10@2209507
[01:00:23.887] GL vendor: Imagination Technologies
[01:00:23.887] GL renderer: PowerVR SGX 544MP
[01:00:23.887] GL extensions: GL_EXT_debug_marker GL_OES_rgb8_rgba8
               GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float
               GL_OES_texture_half_float GL_OES_element_index_uint
               GL_OES_mapbuffer GL_OES_fragment_precision_high
               GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image
               GL_OES_EGL_image_external GL_OES_required_internalformat
               GL_OES_depth_texture GL_OES_get_program_binary
               GL_OES_packed_depth_stencil GL_OES_standard_derivatives
               GL_OES_vertex_array_object GL_OES_egl_sync GL_OES_texture_npot
               GL_EXT_discard_framebuffer GL_EXT_blend_minmax
               GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
               GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888
               GL_EXT_texture_rg GL_IMG_shader_binary
               GL_IMG_texture_compression_pvrtc
               GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_npot
               GL_IMG_texture_format_BGRA8888 GL_IMG_read_format
               GL_IMG_program_binary GL_IMG_uniform_buffer_object
               GL_IMG_multisampled_render_to_texture
[01:00:23.887] GL ES 2 renderer features:
               read-back format: RGBA
               wl_shm sub-image to texture: no
               EGL Wayland extension: yes
[01:00:23.887] Chosen EGL config details:
               RGBA bits: 8 8 8 8
               swap interval range: 0 - 5
[01:00:23.892] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               presentation clock: CLOCK_MONOTONIC_RAW, id 4
[01:00:23.895] Loading module '/usr/local/lib/weston/desktop-shell.so'
[01:00:23.902] Loading module '/usr/local/lib/weston/shell-helper.so'
[01:00:24.074] launching '/usr/local/libexec/weston-desktop-shell'

Nuems
 
Posts: 98
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german, some spanish
ODROIDs: xu, c1

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby Nuems » Mon Jan 01, 2018 9:25 pm

Second thoughts on a new image:
Obviously, the whole situation around the XU's graphics is a dead end road. I wonder if the MFC woes you talked about could possibly be resolved with the experimental/abandoned 3.14 kernel. If so, MFC accelerated ffmpeg would allow for a fast transcoding media server which (apart from other server tasks) might be an interesting project for the XU. There are so many other cheap Odroids/ARM-boards which can run current Kodi versions so that optimizing a new release for either Krypton or Leia might be like reinventing the wheel whereas HW accelerated ffmpeg could be something that sets it apart from non-XU devices.
Nuems
 
Posts: 98
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german, some spanish
ODROIDs: xu, c1

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Mon Jan 01, 2018 10:15 pm

I think MFC works in current mainline.
The problem is no PVR graphics there :(
This is why we’re stuck with 3.4...
But as a headless server with transcoding mainline should be a solution...
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby Nuems » Mon Jan 01, 2018 11:49 pm

I don't know about mainline and MFC, however, according to ArchLinuxArm, both HDMI and USB3 don't work in mainline. I could live without PVR (see above) and possibly without HDMI, however, not having USB3 (and hence neither GBit network nor fast disks) would be a major setback. On the other hand, I think that the 3.13/3.14 kernels had some kind of video output, and, according to https://github.com/hardkernel/linux/com ... 9bea1553c1 , there also seems to be MFC support in that kernel. That's why I thought of it, but I haven't tried it.
Nuems
 
Posts: 98
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german, some spanish
ODROIDs: xu, c1

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby Nuems » Wed Jan 03, 2018 8:59 pm

I researched and tested some more:
a) The problem memeka described regarding newer distros, mfc etc. are definitely connected to the combination of systemd and the old kernel 3.4.y: systemd in Jessie-backports already requires at least kernel 3.13. In addition, firmware loading seems to have changed in recent systemd versions.
b) As this Debian image (cf. this thread) proved to be somewhat problematic for me (at least when using it from sdcard), I decided to start from scratch with debootstrap.

As a result I've currently got (and if anyone's interested, I'd share - for once, I've remembered to make tarball-snapshots again and again :) *):
1) A tiny fresh Debian 8.10 rootfs without kernel
2) A somewhat bigger console rootfs with kernel 3.4.104 with working sound (aplay, mpg123) based on 1)
3) A desktop rootfs with LXDE running atop exynos5-hwcomposer and fbdev based on 2). Software-rendered glxgears run at 143 fps.
I might redo my wayland installation starting from 2) because my existing image is really dirty and this might be a good starting point for starting over.

Forget the following, see next post
This is what's not working yet:
Kernel 3.13. I followed the instructions posted by suriyan (however, I compiled natively) and building the kernel with odroidxu_defconfig wasn't a problem. The kernel also starts booting, but it can't find init. This isn't really surprising because suriyan's instructions don't include anything about initrd/uInitrd! First I just tried booting without any reference to init, which didn't work. Then I remembered the early systemd days on wheezy and boldly put "init=/lib/systemd/systemd" at the end of the line
Code: Select all
setenv bootcmd(...)
. That didn't work either. I also tried an XU4-inspired line without success:
Code: Select all
setenv bootcmd "fatload mmc 0:1 0x40008000 zImage-3.13.11-suriyan-git+; fatload mmc 0:1 0x42000000 uInitrd; fatload mmc 0:1 0x44000000 exynos5410-odroidxu.dtb; bootz 0x40008000 0x42000000 0x44000000"


So I'm a bit lost here and any help would be appreciated, because booting 3.13+ seems necessary for anything more up-to-date than Jessie
What do I have to put into boot.ini in order to boot the XU with kernel 3.13 (zIamge), (u)Initrd and dtb?
EDIT: Or without (u)Initrd - just something that works ;)


*I don't really mean to hijack memeka's thread. If there's any interest, I'll start a new thread in "Other OS".
Last edited by Nuems on Wed Jan 03, 2018 10:44 pm, edited 1 time in total.
Nuems
 
Posts: 98
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german, some spanish
ODROIDs: xu, c1

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby Nuems » Wed Jan 03, 2018 10:42 pm

Forget all that about booting problems with 3.13.
The problem was that (for whatever reason) uboot and my kernel disagreed about device naming: While my "fatload" commands didn't change much, my kernel calls the sdcard /dev/mmcblk1 while /dev/mmcblk0 is the emmc module. So I tried to boot Debian off my android filesystem.. Ok, in that case failure may occur ;)
Long story short: I've got Debain 8.10+X+LXDE with kernel 3.13. I need to check a few things and then I'll try to debootstrap Debian 9.
So long.
Nuems
 
Posts: 98
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german, some spanish
ODROIDs: xu, c1

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Thu Jan 04, 2018 5:46 am

This might help:
https://patchwork.openembedded.org/patch/90605/
With this patch, MFC might work on newer systemd
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby Nuems » Sun Jan 07, 2018 8:00 am

OK, after looking at a few other things [see below] I had a look at this patch and tried it. Because it's from the openembedded environment, including lines for a bitbake recipe/other meta data, and refering to systemd-219, I decided to apply it manually to the source package of Stretch's systemd-232. I debootstrapped a stretch rootfs, installed build tools and build dependencies for systemd and built the whole thing (everything inside a chroot). I was rather skeptical but actually I was able to rebuild all the packages created from the systemd source package. I then reinstalled those of them that dpkg showed as already installed.
After leaving the chroot, I created a bootable sdcard with kernel 3.4.104 (which actually isn't 100% compliant with systemd-232's requirements - small wonder when the minimum version has to be bypassed) on the first partition and the stretch rootfs+modules/firmware on the second one. And voila - it boots, loads mfc firmware and creates /dev/videoX devices.
So far, so good. While I haven't seen any horrible messages on the serial console yet, I expect them to come in sooner or later. I must admit I'm totally ignorant of possible consequences of this hack. It's rather like: "Oh well, if it works for OE, it's good enough for me (until it crashes or causes the Maya apocalypse)."

Now before I move on, I'd like to ask/remark two or three things - maybe someone's reading...
1) The original discussion about using libhybris on the XU was in 2013/2014 and several things had to be built from their git repositories because the distro versions didn't exist or were too old. At least the latter isn't true any more and personally I prefer a system in which installed packages/libraries etc. are clear to the entire system so that tools like debuild won't complain. In my experience, you quickly end up with a fairly unusable system when you randomly install some things from distro repositories but others to /usr/local. So as a consequence I'd prefer to use distro packages wherever possibly or at least let's build deb-archives if that's not too complicated.
2) As a consequence from 1), we should look at the launchpad libhybris ppa instead of libhybris-git so that we get cleanly installable packages. We can still use other configure options etc. I think it makes a lot of sense when the EGL/GLES stuff is correctly installed and referenced - it's central to the whole thing.
3) Formerly we used Qt up to 5.4.1. Unfortunately, the Qt based DEs usually require Qt 5.7+. There's light at the end of the tunnel, though, as someone has put up some Arch/AUR pkgbuilds for Qt 5.8+qt-wayland-hybris+qt-qpa-hwcomposer - more or less what we need. There might be a catch, though: the qml-compositor doesn't seem to be included any longer (at least not in stock qt-wayland), but I haven't had a close look yet. I guess I need an Arch chroot to use makepkg --allsources in order to fetch everything.
4) I still wonder whether we should use Stretch or Ubuntu 16.04. Stretch uses systemd-232, Ubuntu 16.04 is on systemd-229 - so the patch should also work there. I've already mentioned the launchpad libhybris ppa: Yesterday I built libhybris with their source package on Debian 8 (however, I disabled all the mir stuff). Obviously there were some warnings about my system version, but apart from that the built was ok. After installation there was also an appropriate-looking file /var/lib/dpkg/info/libhybris.shlibs. However, later on when building weston from Stretch sources, debuild complained about not being able to identify the packages providing libEGL.so etc. Creating debian/local.shlibs fixed that problem, but I wouldn't want to do that for every package looking for EGL/GLES and friends. I don't really know what the problem was yesterday, however, I simply assume it shouldn't occur on Ubuntu if the ppa is any good...
5) Another question about cairo:
In the past, we configured cairo without EGL/GLES2 support. May I ask why? The whole purpose of this exercise seems to be hw-acceleration for graphics, so would it be naive to enable it wherever possible? I guess I'll just try that, but not tonight - it's almost midnight in my timezone and I've watched far too much compiler-tv for today ;)

EDIT: And if it all works out and we get the best XU image ever - can we put anbox on that libhybris zombie and run a virtual Android 7.1.1? That would be the ultimate joke...
Nuems
 
Posts: 98
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german, some spanish
ODROIDs: xu, c1

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Wed Jan 17, 2018 11:59 am

I am trying a ubuntu 16.04 image, with systemd 229
I successfully applied the patches manually, but I still can't get MFC firmware to load :(

EDIT: changed init system from systemd to upstart, and reverted to older udev, and now MFC firmware loads...
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Wed Jan 17, 2018 6:48 pm

So, here is Ubuntu 16.04 + Kodi 17.6 hw accelerated + Plex server + Plex addon:

User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jpearn » Sat Jan 20, 2018 10:53 pm

memeka wrote:So, here is Ubuntu 16.04 + Kodi 17.6 hw accelerated + Plex server + Plex addon:


Looks good, have you uploaded anywhere so we can try ?!
jpearn
 
Posts: 8
Joined: Sat Feb 01, 2014 6:29 am
languages_spoken: english
ODROIDs: U2

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby memeka » Sun Jan 21, 2018 9:15 am

I am working to clean up a bit the image, do auto resize on first boot, and will upload it soon (probably next weekend).
User avatar
memeka
 
Posts: 3895
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [FINALUPDATE] XU Ubuntu 14.04 Trusty Dev Center [30/03/2

Unread postby jpearn » Mon Mar 05, 2018 5:56 pm

Still looking forward to this, keep wiping the dust off it every now and again !
jpearn
 
Posts: 8
Joined: Sat Feb 01, 2014 6:29 am
languages_spoken: english
ODROIDs: U2

Previous

Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 1 guest