Ubuntu 18.04 RK image

Moderators: mdrjr, odroid

Ubuntu 18.04 RK image

Unread postby mad_ady » Tue Aug 14, 2018 3:28 am

Hello everyone. I've migrated to ubuntu 18.04 on my N1 by using a arm64 rootfs. It's fine for server use, but I'd like to ask for advice on one topic - for a desktop image would it be worth to grab an ubuntu for a different Rockchip platform - on the hope that mali userspace and vpu would work out of the box? If yes, can anyone suggest such a distro?
Thanks!
User avatar
mad_ady
 
Posts: 4704
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Ubuntu 18.04 RK image

Unread postby meveric » Tue Aug 14, 2018 4:16 am

Mali GPU is a binary blob.. the packages for Debian will work on Ubuntu as well, as they are the same.
VPU is opensource and can be build directly from rockchip repository.
There's nothing that should stop you from using Ubuntu 18.04 as an OS as all drivers are available :)
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.
User avatar
meveric
 
Posts: 9308
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

Re: Ubuntu 18.04 RK image

Unread postby mad_ady » Tue Aug 14, 2018 5:23 am

Thanks!
Is there some repo I should add to the system to benefit from potential mali updates, or should I do a one-time install only?
What about vpu? Should I look into mainline ffmpeg an Oversun's kodi build?
User avatar
mad_ady
 
Posts: 4704
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Ubuntu 18.04 RK image

Unread postby OverSun » Tue Aug 14, 2018 6:03 am

mainline ffmpeg, mainline kodi as well. I didn't modify vanilla kodi v18 since it all moves to support everything out of the box heavily.
you just need correct compile options. look for everything related to rockchip when you compile ffmpeg and kodi
User avatar
OverSun
 
Posts: 1386
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english

Re: Ubuntu 18.04 RK image

Unread postby rooted » Thu Aug 16, 2018 2:25 am

Indeed, I'm a bit disappointed by Hardkernel going to a different SoC for the N2 but I still hold out hope.

The rockchip is so well supported.
User avatar
rooted
 
Posts: 5676
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: Ubuntu 18.04 RK image

Unread postby DarkBahamut » Thu Aug 16, 2018 6:57 am

I feel like this thread has read my mind. ;)

I was thinking about deploying my N1 in place of my XU4 now as I'm starting to use nextcloud so the onboard SATA is quite an interesting use case for that. I've always preferred Ubuntu but I figured the GPU drivers would be an issue. Hadn't considered they'd just be the same! Might be time to move over :)
DarkBahamut
 
Posts: 319
Joined: Tue Jan 19, 2016 10:19 am
languages_spoken: english
ODROIDs: XU4, N1

Re: Ubuntu 18.04 RK image

Unread postby memeka » Thu Aug 16, 2018 7:14 am

in case you haven't found thsi yet... https://github.com/rockchip-linux/libmali
User avatar
memeka
 
Posts: 4055
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: Ubuntu 18.04 RK image

Unread postby hominoid » Fri Aug 17, 2018 11:44 am

Wow, this is all great news. I'm going to have to find some time to get it running on mine.
hominoid
 
Posts: 188
Joined: Tue Feb 28, 2017 3:55 am
Location: Lake Superior Basin, USA
languages_spoken: english
ODROIDs: C2, XU4, MC1, N1

Re: Ubuntu 18.04 RK image

Unread postby phaseshifter » Tue Oct 09, 2018 8:36 pm

@ mad_ady how are you going with the ubuntu image..it would be great if we all had a copy to flash..thank`s ..phase...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!
phaseshifter
 
Posts: 2967
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: Ubuntu 18.04 RK image

Unread postby mad_ady » Tue Oct 09, 2018 8:47 pm

In fact, I'm thinking of returning to the stock Debian. Mostly because the current ubuntu/custom kernel I'm running has problems rebooting. I played with a custom kernel because I wanted to run docker/lxc on top of it (had an idea about running an openwrt router image inside a container, but I no longer need it). I may want to run a custom kernel still if I can get a bit of time to add IR blaster support to it.
Also, the N1's role will change for me. It used to be a NAS, but now it will become a NAS, media player and home assistant.

Before returning to Debian, I might play with it a little longer, and if I'm happy with the results I'll share an image.
User avatar
mad_ady
 
Posts: 4704
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Ubuntu 18.04 RK image

Unread postby phaseshifter » Wed Oct 10, 2018 1:08 am

that would be great if you could...thank you for the support any way.
just knowing that it can be done is great in the fact that h-k might but i doubt put out an image themselves ....
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!
phaseshifter
 
Posts: 2967
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well


Return to Ubuntu/Debian

Who is online

Users browsing this forum: No registered users and 2 guests