Ubuntu 20.04

Post Reply
highwaychile
Posts: 2
Joined: Tue Oct 13, 2015 7:53 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Ubuntu 20.04

Post by highwaychile »

Hi,

Does anybody know when we can expect an official release by hardkernel of Ubuntu 20.04 for odroid N2? Do you think it will contain hardware acceleration for running Kodi?
Thank you in advance!

User avatar
odroid
Site Admin
Posts: 34906
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 954 times
Been thanked: 772 times
Contact:

Re: Ubuntu 20.04

Post by odroid »

Probably one or two months later.
Because there are some wrong/bad libraries and gcc-9 dependencies, we need more time to solve the GPU/VPU related issues.

For Kodi video player application, consider using CoreELEC since our Kodi porting on Ubuntu has many issues we can't resolve.
These users thanked the author odroid for the post:
m8kbv (Wed Jun 24, 2020 9:16 pm)

User avatar
alanplum241276
Posts: 19
Joined: Tue Apr 23, 2019 9:53 pm
languages_spoken: English
ODROIDs: N2, XU4
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by alanplum241276 »

I'm looking for just Ubuntu Server 20.04 minimal for my N2.

Can I do-release-upgrade on the N2 or will that do nasty things to my already running 18.04 minimal?

I see there are other distributions available out there, but would much rather stick with HK if possible.

igorpec
Posts: 644
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 32 times
Been thanked: 84 times
Contact:

Re: Ubuntu 20.04

Post by igorpec »

We will release Ubuntu 20.04 based Armbian in about two weeks. https://www.armbian.com/odroid-n2/

If you need faster, you can DIY https://github.com/armbian/build
stock kernel, 5.4.y LTS or 5.6.y / 5.7. soon
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

DanDroid
Posts: 16
Joined: Sun Mar 31, 2019 3:58 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 19 times
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by DanDroid »

The 20.04 build works well! Only thing that's not yet working for me is analogue audio and DRM (widevine support in Firefox).

m8kbv
Posts: 104
Joined: Thu Nov 14, 2019 6:27 pm
languages_spoken: English
ODROIDs: 2x Odroid N2 4GB
Odroid Go Advance
Location: Poland
Has thanked: 28 times
Been thanked: 14 times
Contact:

Re: Ubuntu 20.04

Post by m8kbv »

Is there a chance to run DRM in Ubuntu? It could be very useful. :)

igorpec
Posts: 644
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 32 times
Been thanked: 84 times
Contact:

Re: Ubuntu 20.04

Post by igorpec »

The 20.04 build works well!
that's not yet working
Armbian is focused to stable base, other things - such as multimedia - comes last.

I think for that you need (old) stock kernel based images. On modern kernel some features are not yet ported. (not sure about the state of analogue audio, whether it is just disabled or there is no driver yet).
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

m8kbv
Posts: 104
Joined: Thu Nov 14, 2019 6:27 pm
languages_spoken: English
ODROIDs: 2x Odroid N2 4GB
Odroid Go Advance
Location: Poland
Has thanked: 28 times
Been thanked: 14 times
Contact:

Re: Ubuntu 20.04

Post by m8kbv »

odroid wrote:
Tue Apr 28, 2020 5:39 pm
Probably one or two months later.
Because there are some wrong/bad libraries and gcc-9 dependencies, we need more time to solve the GPU/VPU related issues.
Hi!
Any progress on the official ubuntu 20 04? :)
Regards.

User avatar
odroid
Site Admin
Posts: 34906
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 954 times
Been thanked: 772 times
Contact:

Re: Ubuntu 20.04

Post by odroid »

We need a few more weeks. Sorry.

m8kbv
Posts: 104
Joined: Thu Nov 14, 2019 6:27 pm
languages_spoken: English
ODROIDs: 2x Odroid N2 4GB
Odroid Go Advance
Location: Poland
Has thanked: 28 times
Been thanked: 14 times
Contact:

Re: Ubuntu 20.04

Post by m8kbv »

odroid wrote:
Thu Jun 25, 2020 8:46 am
We need a few more weeks. Sorry.
OK thanks for the information ;)

chatplosion
Posts: 6
Joined: Wed Jan 29, 2020 3:35 pm
languages_spoken: german, english
ODROIDs: Odroid-N2 4GB-RAM CoreELEC
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 20.04

Post by chatplosion »

I thank you for your nonstop work.
Hopefully you are able to integrate full hardware graphic acceleration.

User avatar
tobetter
Posts: 5518
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 221 times
Been thanked: 648 times
Contact:

Re: Ubuntu 20.04

Post by tobetter »

chatplosion wrote:
Wed Jul 01, 2020 8:24 am
I thank you for your nonstop work.
Hopefully you are able to integrate full hardware graphic acceleration.
You can try Gnome Desktop with Wayland alternatively if your target platform is not tied to X11 features.
viewtopic.php?f=182&t=37109
These users thanked the author tobetter for the post:
istanbulls (Wed Jul 01, 2020 11:05 pm)

User avatar
istanbulls
Posts: 255
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID-N2, ODROID C4
Location: Istanbul-Turkey
Has thanked: 140 times
Been thanked: 28 times
Contact:

Re: Ubuntu 20.04

Post by istanbulls »

tobetter wrote:
Wed Jul 01, 2020 8:40 am
chatplosion wrote:
Wed Jul 01, 2020 8:24 am
I thank you for your nonstop work.
Hopefully you are able to integrate full hardware graphic acceleration.
You can try Gnome Desktop with Wayland alternatively if your target platform is not tied to X11 features.
viewtopic.php?f=182&t=37109
I would definitely recommend.
The best desktop experience I've ever had on N2.
If it had multiple audio support, it could have been a complete 1080p media manager.
I really enjoy using the advice of dear @odroidn2user.
viewtopic.php?f=202&t=38557#p290808

User avatar
CoolGames
Posts: 98
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 14 times
Been thanked: 14 times
Contact:

Audio working Re: Ubuntu 20.04

Post by CoolGames »

istanbulls wrote:
Wed Jul 01, 2020 11:09 pm
tobetter wrote:
Wed Jul 01, 2020 8:40 am
chatplosion wrote:
Wed Jul 01, 2020 8:24 am
I thank you for your nonstop work.
Hopefully you are able to integrate full hardware graphic acceleration.
You can try Gnome Desktop with Wayland alternatively if your target platform is not tied to X11 features.
viewtopic.php?f=182&t=37109
I would definitely recommend.
The best desktop experience I've ever had on N2.
If it had multiple audio support, it could have been a complete 1080p media manager.
I really enjoy using the advice of dear @odroidn2user.
viewtopic.php?f=202&t=38557#p290808
Check this link as well as I found multiple Audio working in "Hardware" setting not previous "output"
Look here for Analog Audio
Look here for Analog Audio
Select Audio - Screenshot at 2020-06-27 09-25-02.png (74.99 KiB) Viewed 2459 times

User avatar
istanbulls
Posts: 255
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID-N2, ODROID C4
Location: Istanbul-Turkey
Has thanked: 140 times
Been thanked: 28 times
Contact:

Re: Audio working Re: Ubuntu 20.04

Post by istanbulls »

CoolGames wrote:
Wed Jul 01, 2020 11:39 pm
Check this link as well as I found multiple Audio working in "Hardware" setting not previous "output"

Select Audio - Screenshot at 2020-06-27 09-25-02.png
7.1 and 5.1 have been available since the first release, but the audio channels are not in the right place. only the right and left speakers are in the right place, the other speakers are in the wrong position.
It seems that only 5.1 speakers are turned on for the AVR for 5.1 and 7.1.

User avatar
CoolGames
Posts: 98
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 14 times
Been thanked: 14 times
Contact:

Re: Audio working Re: Ubuntu 20.04

Post by CoolGames »

istanbulls wrote:
Wed Jul 01, 2020 11:55 pm
CoolGames wrote:
Wed Jul 01, 2020 11:39 pm
Check this link as well as I found multiple Audio working in "Hardware" setting not previous "output"

Select Audio - Screenshot at 2020-06-27 09-25-02.png
7.1 and 5.1 have been available since the first release, but the audio channels are not in the right place. only the right and left speakers are in the right place, the other speakers are in the wrong position.
It seems that only 5.1 speakers are turned on for the AVR for 5.1 and 7.1.

I am just beginning to understand signals for audio and video so my comments may be naive.
I have devices on other systems that are valid 5.1 and 7.1 so I assume that I can test for their presence to verify without actual 5.1 and 7.1 devices.
Same is true for HDMI-CEC that being absent seems to block seeing video when Odroid N2 Mate is active video to HDMI1.

Someday when I am older my system will be a full 7.1 4K Midi & media center with Ubuntu Studio !
Literally sound and images bouncing off the walls from every direction aka 3D Dome.

I may have it wrong but I only hear the connected 2 HDMI speakers but 5.1 and 7.1 tests can be displayed.
I may have it wrong but I only hear the connected 2 HDMI speakers but 5.1 and 7.1 tests can be displayed.
Pulse test 7.1 - Screenshot at 2020-07-02 07-51-31.png (196.88 KiB) Viewed 2388 times

alpe
Posts: 111
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1, N2 4GB
Location: Rio de Janeiro, Brazil
Has thanked: 31 times
Been thanked: 9 times
Contact:

Re: Ubuntu 20.04

Post by alpe »

This has been added:
https://wiki.odroid.com/odroid-n2/os_im ... u/20200715

How can I upgrade to this? Or it isn't possible and have to be flashed again?

User avatar
CoolGames
Posts: 98
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 14 times
Been thanked: 14 times
Contact:

Upgrade - Lost Audio - Re: Ubuntu 20.04

Post by CoolGames »

alpe wrote:
Thu Jul 16, 2020 5:35 am
This has been added:
https://wiki.odroid.com/odroid-n2/os_im ... u/20200715

How can I upgrade to this? Or it isn't possible and have to be flashed again?

I did this and now there is no audio so MAYBE I will be reflashing eMMC
to start over with released image with older 4.9 kernel from the wiki instead of the development 5.7.8 netboot install


Watch this space before proceeding

I usually do

Code: Select all

sudo apt update
sudo apt upgrade
$ uname -a
Linux cooldroidn2 5.7.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.7.8-202007151852~focal (2020-07-15) aarch64 aarch64 aarch64 GNU/Linux
leetdavy@cooldroidn2:~$ aplay -l
aplay: device_list:274: no soundcards found...
leetdavy@cooldroidn2:~$ 
MAYBE: Tomorrow I start over with fresh wiki ubuntu-20.04-4.9-minimal-odroid-n2-20200715.img.xz
MAYBE: Tomorrow I start over with fresh wiki ubuntu-20.04-4.9-minimal-odroid-n2-20200715.img.xz
Lost after upgrade - Screenshot at 2020-07-15 17-00-16.png (43.84 KiB) Viewed 1864 times

alpe
Posts: 111
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1, N2 4GB
Location: Rio de Janeiro, Brazil
Has thanked: 31 times
Been thanked: 9 times
Contact:

Re: Upgrade - Lost Audio - Re: Ubuntu 20.04

Post by alpe »

CoolGames wrote:
Thu Jul 16, 2020 6:09 am
alpe wrote:
Thu Jul 16, 2020 5:35 am
This has been added:
https://wiki.odroid.com/odroid-n2/os_im ... u/20200715

How can I upgrade to this? Or it isn't possible and have to be flashed again?

I did this and now there is no audio so MAYBE I will be reflashing eMMC
to start over with released image with older 4.9 kernel from the wiki instead of the development 5.7.8 netboot install


Watch this space before proceeding

I usually do

Code: Select all

sudo apt update
sudo apt upgrade
$ uname -a
Linux cooldroidn2 5.7.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.7.8-202007151852~focal (2020-07-15) aarch64 aarch64 aarch64 GNU/Linux
leetdavy@cooldroidn2:~$ aplay -l
aplay: device_list:274: no soundcards found...
leetdavy@cooldroidn2:~$ 
Lost after upgrade - Screenshot at 2020-07-15 17-00-16.png

Code: Select all

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm9
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Didn't update to 20.04. Maybe because I prevent updates for packages I build myself?

User avatar
odroid
Site Admin
Posts: 34906
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 954 times
Been thanked: 772 times
Contact:

Re: Ubuntu 20.04

Post by odroid »

We are building a Ubuntu 20.04 Mate image now.
Give us a few more days.
These users thanked the author odroid for the post:
istanbulls (Thu Jul 16, 2020 9:55 pm)

User avatar
CoolGames
Posts: 98
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 14 times
Been thanked: 14 times
Contact:

Re: [Solved] - Lost Audio - Re: Ubuntu 20.04

Post by CoolGames »

alpe wrote:
Thu Jul 16, 2020 9:33 am
CoolGames wrote:
Thu Jul 16, 2020 6:09 am
alpe wrote:
Thu Jul 16, 2020 5:35 am
This has been added:
https://wiki.odroid.com/odroid-n2/os_im ... u/20200715

How can I upgrade to this? Or it isn't possible and have to be flashed again?

Code: Select all

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm9
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Didn't update to 20.04. Maybe because I prevent updates for packages I build myself?
Need to take one step back !
tobetter wrote:
Thu Jul 16, 2020 7:08 pm
Important Notice

I've released the kernel package (5.7.8) supporting ODROID-N2Plus yesterday and found that the version disables the audio supports which is not expected. Instead of fixing the bug from the 5.7.8, actually this issue starts from 5.7.6, I've built another kernel package with Linux kernel 5.7.5 and uploaded. If you already have installed the kernel package 5.7.8 and having an audio issue, please revert the package to 5.7.5 with this command.

Code: Select all

$ sudo apt update
$ sudo apt install linux-image-5.7.0-odroid-arm64=5.7.5-202007161502~focal
Sorry for my bad. :(

alpe
Posts: 111
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1, N2 4GB
Location: Rio de Janeiro, Brazil
Has thanked: 31 times
Been thanked: 9 times
Contact:

Re: [Solved] - Lost Audio - Re: Ubuntu 20.04

Post by alpe »

CoolGames wrote:
Thu Jul 16, 2020 9:18 pm
alpe wrote:
Thu Jul 16, 2020 9:33 am
CoolGames wrote:
Thu Jul 16, 2020 6:09 am
alpe wrote:
Thu Jul 16, 2020 5:35 am
This has been added:
https://wiki.odroid.com/odroid-n2/os_im ... u/20200715

How can I upgrade to this? Or it isn't possible and have to be flashed again?

Code: Select all

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm9
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Didn't update to 20.04. Maybe because I prevent updates for packages I build myself?
Need to take one step back !
What do you mean? run 'sudo apt update'?
I did that before running 'upgrade'. I just didn't added it to my post.

User avatar
CoolGames
Posts: 98
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 14 times
Been thanked: 14 times
Contact:

Re: [Solved] - Lost Audio - Re: Ubuntu 20.04

Post by CoolGames »

alpe wrote:
Fri Jul 17, 2020 2:02 am
CoolGames wrote:
Thu Jul 16, 2020 9:18 pm


Need to take one step back !
What do you mean? run 'sudo apt update'?
I did that before running 'upgrade'. I just didn't added it to my post.

I would expect a fragmented result by using upgrade over fresh developmental software.
There could be a simple direct path from 18.04 LTS to 20.04 LTS using upgrade when you modify the repository source base.
Skip to below code for using do-release-upgrade as a possible path to Focal 20.04 LTS albeit with 4.9 kernel.


I have not recently done a distribution upgrade on Odroid N2 but use the petitboot netboot install for fresh development install.
Also since the wiki kernel is 4.9 not 5.7 the distribution upgrade path may not be correct if what you want is the latest development kernel and Mate desktop that I prefer.



The netboot install is more complicated path but once understood becomes fun and prestigious.
There is also this command needed for currently interim audio fix.

Code: Select all

sudo apt install linux-image-5.7.0-odroid-arm64=5.7.5-202007161502~focal

Linux System Management 101: Do Release Upgrade.

Here is how a distribution system would get kernel and packages for latest version.

Code: Select all

sudo do-release-upgrade -d
or before upgrade edit the source list version then update and upgrade.

Code: Select all

sudo sed -i 's/bionic/focal/g' /etc/apt/sources.list

Hope this helps clarify the process of getting the results I've been able to achieve.

Lee
These users thanked the author CoolGames for the post:
odroid (Fri Jul 17, 2020 9:20 am)

alpe
Posts: 111
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1, N2 4GB
Location: Rio de Janeiro, Brazil
Has thanked: 31 times
Been thanked: 9 times
Contact:

Re: Ubuntu 20.04

Post by alpe »

Did that and the system didn't come back up.
Ended up flashing the 20.04 img.

Every time I call "sudo reboot" the system don't start up again. I have to cut power, and then plug again.
Anyone seeing this issue too?

User avatar
odroid
Site Admin
Posts: 34906
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 954 times
Been thanked: 772 times
Contact:

Re: Ubuntu 20.04

Post by odroid »

alpe wrote:
Fri Jul 17, 2020 10:12 am
Did that and the system didn't come back up.
Ended up flashing the 20.04 img.

Every time I call "sudo reboot" the system don't start up again. I have to cut power, and then plug again.
Anyone seeing this issue too?
It is a known issue in the SD-card related drivers while the eMMC could reboot though.
We are trying to find a root cause now. Give us several days,
These users thanked the author odroid for the post:
alpe (Fri Jul 17, 2020 11:49 am)

alpe
Posts: 111
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1, N2 4GB
Location: Rio de Janeiro, Brazil
Has thanked: 31 times
Been thanked: 9 times
Contact:

Re: Ubuntu 20.04

Post by alpe »

odroid wrote:
Fri Jul 17, 2020 10:42 am
alpe wrote:
Fri Jul 17, 2020 10:12 am
Did that and the system didn't come back up.
Ended up flashing the 20.04 img.

Every time I call "sudo reboot" the system don't start up again. I have to cut power, and then plug again.
Anyone seeing this issue too?
It is a known issue in the SD-card related drivers while the eMMC could reboot though.
We are trying to find a root cause now. Give us several days,
No problem. :)

The kodi-fbdev package on the n2 focal repositoy is 17.7. On the wiki it says it should be 18.5.

Code: Select all

$ sudo apt-cache policy kodi-fbdev
kodi-fbdev:
  Installed: (none)
  Candidate: 2:17.7+hk2-odroidc2ubuntu23
  Version table:
     2:17.7+hk2-odroidc2ubuntu23 700
        700 http://deb.odroid.in/n2 focal/main arm64 Packages
        100 /var/lib/dpkg/status
It is a problem here or on the repo?

dbod
Posts: 80
Joined: Fri Apr 26, 2019 10:03 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by dbod »

I did an apt update today and now there is no more output on the HDMI port. It boots and I can login via ssh though.

Gesendet von meinem Pixel 4 XL mit Tapatalk


Shoog
Posts: 2
Joined: Sat Jul 18, 2020 2:05 am
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 20.04

Post by Shoog »

I can confirm that this image has broken HDMI support. I have created a few different versions of this image to check that its not the burn or media used but all result in my TV going from black screen to blue screen (lost communication). I originally thought that the boot had failed but when I checked my router the N2 had been allocated an IP.
Since the SSH is disabled by default I cannot interact with my N2 at all.

Frustrating waste of a day getting to this stage.

Shoog

User avatar
tobetter
Posts: 5518
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 221 times
Been thanked: 648 times
Contact:

Re: Ubuntu 20.04

Post by tobetter »

@Shoog, @dbod, Can you please let me know what's the kernel version installed on your N2?

dbod
Posts: 80
Joined: Fri Apr 26, 2019 10:03 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by dbod »

Linux openhab 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux

Gesendet von meinem Pixel 4 XL mit Tapatalk


User avatar
tobetter
Posts: 5518
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 221 times
Been thanked: 648 times
Contact:

Re: Ubuntu 20.04

Post by tobetter »

dbod wrote:
Sat Jul 18, 2020 6:28 am
Linux openhab 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux

Gesendet von meinem Pixel 4 XL mit Tapatalk
Wait, is it the kernel for ODROID-N2?
It says, '4.19.118' and 'armv7l', not 'aarch64'. ODROID-N2 never had '4.19' kernel yet.

Shoog
Posts: 2
Joined: Sat Jul 18, 2020 2:05 am
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 20.04

Post by Shoog »

I used the image :

ubuntu-20.04-4.9-minimal-odroid-n2-20200715_2.img.xz

I have no way of accessing more information as I have no access to the box once booted.

Shoog

dbod
Posts: 80
Joined: Fri Apr 26, 2019 10:03 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by dbod »

@tobetter: You are right. That was the data for my Raspberry Pi.

The N2 kernel is

Linux odroid 4.9.219-72 #1 SMP PREEMPT Mon Apr 13 13:55:42 -03 2020 aarch64 aarch64

Gesendet von meinem Pixel 4 XL mit Tapatalk


dbod
Posts: 80
Joined: Fri Apr 26, 2019 10:03 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by dbod »

BTW: The system seems to crash after a while. I had to restart it this morning.

Gesendet von meinem Pixel 4 XL mit Tapatalk


wallyz21
Posts: 139
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 10 times
Been thanked: 16 times
Contact:

Re: Ubuntu 20.04

Post by wallyz21 »

Just noticed the ubuntu-20.04-4.9-mate-odroid-n2-20200716.img.xz (MATE) image on the Wiki site.

It mentions the kernal is 4.9!?!?

Isn't that a little low for 20.04. I thought 20.04 shipped with kernel 5.4 and above!
Walter Zambotti
N2 - Ubuntu Mate Desktop

mad_ady
Posts: 8331
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 574 times
Been thanked: 438 times
Contact:

Re: Ubuntu 20.04

Post by mad_ady »

It's using the kernel base from amlogic, with all their custom drivers, not the one from Ubuntu.

odroidn2user
Posts: 303
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 80 times
Been thanked: 78 times
Contact:

Re: Ubuntu 20.04

Post by odroidn2user »

wallyz21 wrote:
Wed Jul 22, 2020 1:05 pm
Just noticed the ubuntu-20.04-4.9-mate-odroid-n2-20200716.img.xz (MATE) image on the Wiki site.

It mentions the kernal is 4.9!?!?

Isn't that a little low for 20.04. I thought 20.04 shipped with kernel 5.4 and above!
As mad_ady says... Hardware manufacturers, Amlogic is the supplier of the processor/chipset on the N2, develop 'driver support' on their own kernel sources.
In the case of Amlogic, that is 4.9.

Most hardware manufacturers work like that. They fork a kernel version, develop/add support for their hardware, release the kernel with the hardware.

Now, kernel 5.8rc is available for the N2, if you look around on the forum. This is largely through volunteer effort, but the majority of the work required to get hardware support on the mainline kernels (like 5.4 in ubuntu) has been done. But this is still an ongoing effort.

DanDroid
Posts: 16
Joined: Sun Mar 31, 2019 3:58 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 19 times
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by DanDroid »

Ubuntu 20.04 with a 5.x kernel works fine over here. The only thing that keeps me from using it is a lack of DRM support/widevine. Has anyone found a solution?
These users thanked the author DanDroid for the post:
m8kbv (Mon Aug 03, 2020 12:47 am)

Richard Schaefer
Posts: 22
Joined: Wed Oct 11, 2017 9:40 am
languages_spoken: english
ODROIDs: C1, C2, HC1, XU4, N2
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by Richard Schaefer »

I tried to install:
ubuntu-20.04-4.9-minimal-odroid-n2-20200715_2.img.xz
It does not complete the boot ... I am not sure what to do ...
When the eMMC card is placed in USB holder and mounted on another linux machine both partitions are available AND mountable!

Code: Select all

Disk /dev/sdd: 58.2 GiB, 62537072640 bytes, 122142720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x03823826

Device     Boot  Start     End Sectors  Size Id Type
/dev/sdd1         2048  264191  262144  128M  c W95 FAT32 (LBA)
/dev/sdd2       264192 7804927 7540736  3.6G 83 Linux
I typed the help and df commands at the prompt after booting seemed to hang.
Tailed output from boot:

Code: Select all

Net:   dwmac.ff3f0000
reboot_mode(0xff80023c)=0x0
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0 
HDMI cable is NOT connected
SF: 3932160 bytes @ 0x130000 Read: OK
SF: 3211264 bytes @ 0x4f0000 Read: OK
SF: 131072 bytes @ 0x110000 Read: OK
card out
** Bad device mmc 1 **
ee_gate_off ...
## Booting kernel from Legacy Image at 04000000 ...
   Image Name:   
   Image Type:   AArch64 Linux Kernel Image (gzip compressed)
   Data Size:    3782483 Bytes = 3.6 MiB
   Load Address: 01080000
   Entry Point:  01080000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03080000 ...
   Image Name:   
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    2993854 Bytes = 2.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
load dtb from 0x1000000 ......
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
libfdt fdt_path_offset() returned FDT_ERR_BADPATH
   Uncompressing Kernel Image ... OK
   kernel loaded at 0x01080000, end = 0x01987008
   Loading Ramdisk to 3d525000, end 3d7ffebe ... OK
   Loading Device Tree to 000000001ffeb000, end 000000001ffff23b ... OK

Starting kernel ...

uboot time: 4625812 us
codec_mm_module_init
clkmsr ffd18004.meson_clk_msr: failed to get msr ring reg0
cvbs_out: error: failed to get vdac_config
cvbs_out: chrdev devno 264241152 for disp
meson-pwm ff802000.pwm: pwm pinmux : can't get pinctrl
meson-pwm ffd1b000.pwm: pwm pinmux : can't get pinctrl
ff803000.serial: clock gate not found
meson-remote ff808040.rc: don't find the node <led_blink>
meson-remote ff808040.rc: don't find the node <led_blink_frq>
amvideocap_probe,amvideocap
use cma buf.
di_get_vpu_clkb: get clk vpu error.

/ # help
Built-in commands:
------------------
        . : [ [[ alias bg break cd chdir command continue echo eval exec
        exit export false fg getopts hash help history jobs kill let
        local printf pwd read readonly return set shift source test times
        trap true type ulimit umask unalias unset wait
/ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
none                   1650512         0   1650512   0% /dev
/ #

User avatar
tobetter
Posts: 5518
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 221 times
Been thanked: 648 times
Contact:

Re: Ubuntu 20.04

Post by tobetter »

Richard Schaefer wrote:
Tue Aug 04, 2020 12:16 am
I tried to install:
ubuntu-20.04-4.9-minimal-odroid-n2-20200715_2.img.xz
It does not complete the boot ... I am not sure what to do ...
When the eMMC card is placed in USB holder and mounted on another linux machine both partitions are available AND mountable!

Code: Select all

Disk /dev/sdd: 58.2 GiB, 62537072640 bytes, 122142720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x03823826

Device     Boot  Start     End Sectors  Size Id Type
/dev/sdd1         2048  264191  262144  128M  c W95 FAT32 (LBA)
/dev/sdd2       264192 7804927 7540736  3.6G 83 Linux
I typed the help and df commands at the prompt after booting seemed to hang.
Tailed output from boot:

Code: Select all

Net:   dwmac.ff3f0000
reboot_mode(0xff80023c)=0x0
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0 
HDMI cable is NOT connected
SF: 3932160 bytes @ 0x130000 Read: OK
SF: 3211264 bytes @ 0x4f0000 Read: OK
SF: 131072 bytes @ 0x110000 Read: OK
card out
** Bad device mmc 1 **
ee_gate_off ...
## Booting kernel from Legacy Image at 04000000 ...
   Image Name:   
   Image Type:   AArch64 Linux Kernel Image (gzip compressed)
   Data Size:    3782483 Bytes = 3.6 MiB
   Load Address: 01080000
   Entry Point:  01080000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03080000 ...
   Image Name:   
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    2993854 Bytes = 2.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
load dtb from 0x1000000 ......
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
libfdt fdt_path_offset() returned FDT_ERR_BADPATH
   Uncompressing Kernel Image ... OK
   kernel loaded at 0x01080000, end = 0x01987008
   Loading Ramdisk to 3d525000, end 3d7ffebe ... OK
   Loading Device Tree to 000000001ffeb000, end 000000001ffff23b ... OK

Starting kernel ...

uboot time: 4625812 us
codec_mm_module_init
clkmsr ffd18004.meson_clk_msr: failed to get msr ring reg0
cvbs_out: error: failed to get vdac_config
cvbs_out: chrdev devno 264241152 for disp
meson-pwm ff802000.pwm: pwm pinmux : can't get pinctrl
meson-pwm ffd1b000.pwm: pwm pinmux : can't get pinctrl
ff803000.serial: clock gate not found
meson-remote ff808040.rc: don't find the node <led_blink>
meson-remote ff808040.rc: don't find the node <led_blink_frq>
amvideocap_probe,amvideocap
use cma buf.
di_get_vpu_clkb: get clk vpu error.

/ # help
Built-in commands:
------------------
        . : [ [[ alias bg break cd chdir command continue echo eval exec
        exit export false fg getopts hash help history jobs kill let
        local printf pwd read readonly return set shift source test times
        trap true type ulimit umask unalias unset wait
/ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
none                   1650512         0   1650512   0% /dev
/ #
I think you have placed the boot select switch to SPI and you are now in the Petitboot. Place the switch to MMC if you like to boot from eMMC directly.
These users thanked the author tobetter for the post:
Richard Schaefer (Wed Aug 05, 2020 11:34 am)

Richard Schaefer
Posts: 22
Joined: Wed Oct 11, 2017 9:40 am
languages_spoken: english
ODROIDs: C1, C2, HC1, XU4, N2
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by Richard Schaefer »

Actually I used rufus to image the eMMC card ... that did not work ... I changed to echer and it's now booting.
These users thanked the author Richard Schaefer for the post:
odroid (Tue Aug 04, 2020 9:37 am)

alvarow
Posts: 49
Joined: Wed Apr 10, 2019 10:44 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 22 times
Been thanked: 1 time
Contact:

Re: [Solved] - Lost Audio - Re: Ubuntu 20.04

Post by alvarow »

So, I tried

Code: Select all

sudo do-release-upgrade -d
and it whined about third party repositories and asked me to run

Code: Select all

ppa-purge
... I do have a PPA for Wireguard... but if that is the case, I am also wondering about the Odroid repository ... would that also, no longer be in use, going forward?

Thanks

nspader
Posts: 106
Joined: Fri Mar 11, 2016 1:41 am
languages_spoken: english
ODROIDs: Odroid-C2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by nspader »

I had the same ppa issue...purged all including odroid figuring I could install again after and still fails on below...

Code: Select all

Welcome to Ubuntu 18.04.5 LTS
odroid:~$ sudo do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1554 B]
Get:2 Upgrade tool [1333 kB]
Fetched 1334 kB in 0s (0 B/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
extracting 'focal.tar.gz'

Reading cache

Checking package manager

Continue running under SSH?

This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in case of failure it
is harder to recover.

If you continue, an additional ssh daemon will be started at port
'1022'.
Do you want to continue?

Continue [yN] y

Starting additional sshd

To make recovery in case of failure easier, an additional sshd will
be started on port '1022'. If anything goes wrong with the running
ssh you can still connect to the additional one.
If you run a firewall, you may need to temporarily open this port. As
this is potentially dangerous it's not done automatically. You can
open the port with e.g.:
'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT'

To continue please press [ENTER]

Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://archive.canonical.com/ubuntu bionic InRelease
Hit http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done

Updating repository information
Hit http://archive.canonical.com/ubuntu focal InRelease
Hit http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Fetched 0 B in 0s (0 B/s)

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done

Calculating the changes

Calculating the changes

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

This was caused by:
* Upgrading to a pre-release version of Ubuntu
This is most likely a transient problem,
please try again later.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.


Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
odroid:~$

alvarow
Posts: 49
Joined: Wed Apr 10, 2019 10:44 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 22 times
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04

Post by alvarow »

that's a bummer ... not looking into reflashing :-/

mad_ady
Posts: 8331
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 574 times
Been thanked: 438 times
Contact:

Re: Ubuntu 20.04

Post by mad_ady »

Isn't 20.04 LTS not yet recommended automatically for LTS installs? I think it will be available in a few weeks...

User avatar
odroid
Site Admin
Posts: 34906
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 954 times
Been thanked: 772 times
Contact:

Re: Ubuntu 20.04

Post by odroid »

We've tested upgrading to 20.04 from freshly flashed 18.04.4 image.
It worked fine at least.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: Joe_90 and 1 guest