Ubuntu 20.04 (Focal Fossa)

tw_bolek
Posts: 8
Joined: Tue Nov 03, 2020 10:16 am
languages_spoken: english
ODROIDs: C4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tw_bolek »

I somehow managed to make EGL work via KMS/DRM using tobetter's oldest server image I could find, i.e. ubuntu-20.04-server-odroidc4-20200421.img.xz
Now I'm trying to make it work on any of the newer images and kernel versions, so far to no avail.

Another problem is that I have no sound. Can someone please tell me what should I do to enable sound in SDL2 via HDMI on the C4?
Currently, SDL's testaudioinfo shows that it has pulseaudio, alsa, sndio, dsp, disk and dummy drivers and that it is using alsa drivers, but it says "Found 0 output devices: No output devices found".

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

tw_bolek wrote:
Thu Nov 05, 2020 1:16 am
I somehow managed to make EGL work via KMS/DRM using tobetter's oldest server image I could find, i.e. ubuntu-20.04-server-odroidc4-20200421.img.xz
Now I'm trying to make it work on any of the newer images and kernel versions, so far to no avail.

Another problem is that I have no sound. Can someone please tell me what should I do to enable sound in SDL2 via HDMI on the C4?
Currently, SDL's testaudioinfo shows that it has pulseaudio, alsa, sndio, dsp, disk and dummy drivers and that it is using alsa drivers, but it says "Found 0 output devices: No output devices found".
What's your latest kernel package now? You should have 5.9 if updated recently.

tw_bolek
Posts: 8
Joined: Tue Nov 03, 2020 10:16 am
languages_spoken: english
ODROIDs: C4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tw_bolek »

tobetter wrote:
Thu Nov 05, 2020 1:35 am
What's your latest kernel package now? You should have 5.9 if updated recently.
I started with that image's default 5.4 kernel, then upgraded to 5.9. This at least makes audio devices discoverable. It sees three devices: SM1-ODROID-C4, SM1-ODROID-C4 (2) and SM1-ODROID-C4 (3). aplay -l also correctly discovers and lists playback devices.

However, I still can't get any sound out of it. SDL's audio tests say "Couldn't open SM1-ODROID-C4. ALSA: Couldn't set audio channels". aplay -D hw:0,0 testfile.wav returns "fe.dai-link-1: ASoC: no backend DAIs enabled for fe.dai-link-1. Unable to install hw params" So clearly ALSA setup is broken. But I don't know what to fix or reinstall.


EDIT: Problem solved. It took reinstalling odroid-alsa and then manually changing /etc/asound.cfg to point to the right device
Last edited by tw_bolek on Thu Nov 05, 2020 7:44 am, edited 1 time in total.

brad
Posts: 1351
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 113 times
Been thanked: 167 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by brad »

tw_bolek wrote:
Thu Nov 05, 2020 3:58 am
tobetter wrote:
Thu Nov 05, 2020 1:35 am
What's your latest kernel package now? You should have 5.9 if updated recently.
I started with that image's default 5.4 kernel, then successfully upgraded to 5.9. This at least makes audio devices discoverable. It sees three devices: SM1-ODROID-C4, SM1-ODROID-C4 (2) and SM1-ODROID-C4 (3).

aplay -l also correctly discovers and lists playback devices.

However, I still can't get any sound out of it. SDL's audio tests say "Couldn't open SM1-ODROID-C4. ALSA: Couldn't set audio channels".

aplay -D hw:0,0 testfile.wav returns "fe.dai-link-1: ASoC: no backend DAIs enabled for fe.dai-link-1. Unable to install hw params"

So clearly ALSA setup is broken. But I don't know what to fix or reinstall.
Try this it should reconfigure alsa properly

Code: Select all

$ sudo apt-get install --reinstall odroid-alsa

tw_bolek
Posts: 8
Joined: Tue Nov 03, 2020 10:16 am
languages_spoken: english
ODROIDs: C4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tw_bolek »

brad wrote:
Thu Nov 05, 2020 7:34 am
Try this it should reconfigure alsa properly

Code: Select all

$ sudo apt-get install --reinstall odroid-alsa
Thank you Brad! I edited my post just when you were posting yours. Reinstalling odroid-alsa indeed fixed it, but it also took manually modifying /etc/asound.cfg to be the same as here
https://wiki.odroid.com/odroid-n2/appli ... imal_image

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Plan for Ubuntu 20.10

My repository server, https://ppa.linuxfactory.or.kr has been updated with new packages for Ubuntu 20.10 as well as Linux kernel 5.9 and they are ready to run for you. But as I've mentioned in the thread, Ubuntu 20.10 repository will be used for new features and development before Ubuntu 21.04, so the system could be ruined any time if bad update happens. So if you are not enjoying installing new system, I hope you would not upgrade to Ubuntu 20.10.
viewtopic.php?p=310097#p310097

For Ubuntu 20.10, I've opened new thread and it will run for ODROID-N2/C4/HC4 - not sure for ODROID-C2/XU4 since no user ask me about them. So please keep posting your queries about Ubuntu 20.10 to thread and this thread is for Ubuntu 20.04 only.
viewtopic.php?f=52&t=40761

tw_bolek
Posts: 8
Joined: Tue Nov 03, 2020 10:16 am
languages_spoken: english
ODROIDs: C4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tw_bolek »

One last problem.....

On ubuntu-20.04-server-odroidc4-20201024.img.xz with kernel 5.9, I am trying to make Ralink RT5370 Wifi dongle work. Got the driver from here
https://www.mediatek.com/products/broadbandWifi/rt5370

but when trying to build it I get

ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.

I have no idea what to do now.....

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

tw_bolek wrote:
Fri Nov 06, 2020 9:47 am
One last problem.....

On ubuntu-20.04-server-odroidc4-20201024.img.xz with kernel 5.9, I am trying to make Ralink RT5370 Wifi dongle work. Got the driver from here
https://www.mediatek.com/products/broadbandWifi/rt5370

but when trying to build it I get

ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.

I have no idea what to do now.....
Have you installed the package linux-headers-$(uname -r) before compiling?

tw_bolek
Posts: 8
Joined: Tue Nov 03, 2020 10:16 am
languages_spoken: english
ODROIDs: C4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tw_bolek »

tobetter wrote:
Fri Nov 06, 2020 9:56 am
Have you installed the package linux-headers-$(uname -r) before compiling?
Yes, both linux-headers-5.9.0-odroid-all and linux-image-5.9.0-odroid-arm64 are installed.
Corresponding folders are in /usr/src

skye
Posts: 4
Joined: Mon Nov 02, 2020 11:45 am
languages_spoken: english
ODROIDs: ODROID C4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by skye »

Now I'm running Odroid C4 on Ubuntu for the first few days. The updated to Kernel 5.9.0 went smooth by dist-upgrade. Now comparing this to my previous installation of Ubuntu Mate I recognize the following:
  • The WiFi Dongle which I purchased from Hardkernel and which worked instantly on Ubuntu Mate doesn't work now. That's bad. It's recognized in the list of USB devices but not shown in

    Code: Select all

    ifconfig -a
  • Except for acceleration of graphics in Firefox the speed for videos didn't improve. I use a CCTV camera in conjunction with OpenCV and Python and the speed is just the same with stuttering video.
  • Gnome lags a lot compared to Mate so the user experience degraded.
  • I spent a lot of time fixing authorization problems: video, usb, network, xrdp. Some of that isn't very obvious and caused by polkit needing config files. None of that existed on Mate. I understand it's about security but hey, this is a SBC I use for development and testing.
I very likely will switch back to Mate - it would be so cool to have the GPU acceleration on that platform as it's more suitable to C4 I feel. Ubuntu Gnome demands more resources (and UX is lower - but this is a personal view).

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

skye wrote:
Fri Nov 06, 2020 10:38 am
Now I'm running Odroid C4 on Ubuntu for the first few days. The updated to Kernel 5.9.0 went smooth by dist-upgrade. Now comparing this to my previous installation of Ubuntu Mate I recognize the following:
  • The WiFi Dongle which I purchased from Hardkernel and which worked instantly on Ubuntu Mate doesn't work now. That's bad. It's recognized in the list of USB devices but not shown in

    Code: Select all

    ifconfig -a
  • Except for acceleration of graphics in Firefox the speed for videos didn't improve. I use a CCTV camera in conjunction with OpenCV and Python and the speed is just the same with stuttering video.
  • Gnome lags a lot compared to Mate so the user experience degraded.
  • I spent a lot of time fixing authorization problems: video, usb, network, xrdp. Some of that isn't very obvious and caused by polkit needing config files. None of that existed on Mate. I understand it's about security but hey, this is a SBC I use for development and testing.
I very likely will switch back to Mate - it would be so cool to have the GPU acceleration on that platform as it's more suitable to C4 I feel. Ubuntu Gnome demands more resources (and UX is lower - but this is a personal view).
Did you install the package mali-bifrost-wayland-driver package after installation?

This is likely experiment OS which is not very optimized for SoC yet since this is based on upstream kernel and add custom features/drivers for ODROID SBC. So the certain features would be no value than Hardkernel's stock OS image which is pretty much customized by Hardkernel team on top of Amlogic's BSP which is not in the mainline.

And I do not understand about the authorization problem, when the issue happens?

tw_bolek
Posts: 8
Joined: Tue Nov 03, 2020 10:16 am
languages_spoken: english
ODROIDs: C4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tw_bolek »

skye wrote:
Fri Nov 06, 2020 10:38 am
The WiFi Dongle which I purchased from Hardkernel and which worked instantly on Ubuntu Mate doesn't work now. That's bad. It's recognized in the list of USB devices but not shown in

Code: Select all

ifconfig -a

My RT5370 dongle (Odroid module 0) is also correctly recognized by lsusb which shows all the details - manufacturer, chipset, etc. But that's it. I managed to find two different drivers, but - as I wrote above - I can't compile any of them due to kernel configuration error.
Working Wifi module is the final thing to make this minimal Ubuntu server image fulfill all my needs. I hope I'll somehow manage to build the driver...

brad
Posts: 1351
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 113 times
Been thanked: 167 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by brad »

tw_bolek wrote:
Fri Nov 06, 2020 11:00 am
My RT5370 dongle (Odroid module 0) is also correctly recognized by lsusb which shows all the details - manufacturer, chipset, etc. But that's it. I managed to find two different drivers, but - as I wrote above - I can't compile any of them due to kernel configuration error.
Working Wifi module is the final thing to make this minimal Ubuntu server image fulfill all my needs. I hope I'll somehow manage to build the driver...
The RT5370 driver should be part of the kernel (the wifi part and not just the usb part) I wonder what is happening here maybe it is not included in the config CONFIG_RT2800USB_RT53XX (It is in mine but I did customize)

tw_bolek
Posts: 8
Joined: Tue Nov 03, 2020 10:16 am
languages_spoken: english
ODROIDs: C4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tw_bolek »

brad wrote:
Fri Nov 06, 2020 4:41 pm
The RT5370 driver should be part of the kernel (the wifi part and not just the usb part) I wonder what is happening here maybe it is not included in the config CONFIG_RT2800USB_RT53XX (It is in mine but I did customize)
Brad, you are absolutely right, again! RT5370 driver is supported by the kernel by default.

I somehow got mistaken and put on the wrong track by the device name which turned out to be wlx7cdd90892bdd.... Additionally, I needed to install linux-firmware as it wasn't able to find the firmware when I was trying to bring the wlan interface up. Then of course installing wpa_supplicant and all the manual configuration work (creating wpa_supplicant.conf, wpa_supplicant.service, dhclient.service), making the services start at boot with sysctl and now it works perfectly fine!
These users thanked the author tw_bolek for the post:
brad (Sat Nov 07, 2020 9:07 am)

RussianNeuroMancer
Posts: 32
Joined: Sat Mar 30, 2019 1:43 pm
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04 (Focal Fossa) + Linux 5.x Headless OS image

Post by RussianNeuroMancer »

tobetter wrote:
Thu Sep 03, 2020 7:30 pm
Also, it would be a good idea to report this issue to Neal Armstrong who is the maintainer of Amlogic SoC.
No answer, and issue is still reproducible with Linux 5.9. Anything else I could try?
Attachments
screenshot.png
screenshot.png (136.06 KiB) Viewed 712 times
photo.jpg
photo.jpg (444.47 KiB) Viewed 712 times

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Kernel upgrade notice:

After 2-3 hours later, new kernel package will be uploaded and it will install new kernel version 5.9.8. I've tested the kernel version 5.9.6 a lot since it makes ARM Mali driver stop working and have to spend some time to fix it.

Code: Select all

$ sudo apt update
$ sudo apt dist-upgrade
$ sudo reboot
If you are running Gnome Desktop with ARM Mali Wayland, you should run a couple of commands more after kernel update and this will rebuild the ARM Mali driver. This must be necessary because of a kernel change merged in 5.9.2.

Code: Select all

$ sudo apt install --reinstall mali-bifrost-dkms
$ sudo reboot
After rebooting, if you are not able to get Gnome Wayland Session, please check if mali_kbase driver is loaded or not.

Code: Select all

$ lsmod | grep mali
If you have any difficutlies after installing, please let me know.

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

Info on 20.08?
thanks

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Jhonny14 wrote:
Sat Nov 14, 2020 11:39 pm
Info on 20.08?
thanks
What's 20.08?

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

Ubuntu 20.08 is under 5.9.6?

User avatar
cdu13a
Posts: 323
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1, N2
Has thanked: 13 times
Been thanked: 100 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by cdu13a »

Jhonny14 wrote:
Sun Nov 15, 2020 1:57 am
Ubuntu 20.08 is under 5.9.6?
I think the confusion is that you may have meant Ubuntu 20.10 and not 20.08. Ubuntu releases twice a year with a x.04 in April and x.10 in October.

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

Yes I m confused

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Jhonny14 wrote:
Sun Nov 15, 2020 11:28 am
Yes I m confused
Maybe you are confused with Armbian, they have an image with the "20.08" which is based on Ubuntu 20.04.
viewtopic.php?p=311848#p311848

But this thread is not about Armbian, but yet another my custom Ubuntu 20.04 project. And in my project, the kernel version is upgraded to 5.9.8 a halfday ago.

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

question> the kernel of 20.04 is updated to 5.9.8 or just at the moment only the 20.10...

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Jhonny14 wrote:
Mon Nov 16, 2020 6:12 am
question> the kernel of 20.04 is updated to 5.9.8 or just at the moment only the 20.10...
20.04 from my package server has 5.9.8 now.

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

:) thanks

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

what are the steps to do to install 5.9.8, i could try it.....

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Jhonny14 wrote:
Mon Nov 16, 2020 4:37 pm
what are the steps to do to install 5.9.8, i could try it.....
Download and flash image from the link and follow the commands if you want to install Ubuntu Gnome Desktop as well.
viewtopic.php?p=309319#p309319

If you only need to have 5.9.8 kernel, just do update the packages with sudo apt update && sudo apt dist-upgrade.

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

how big is it the download with gnome desktop and what version is gnome? :-)

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Jhonny14 wrote:
Mon Nov 16, 2020 4:59 pm
how big is it the download with gnome desktop and what version is gnome? :-)
Refer to the link.
https://www.youtube.com/watch?v=4MfHMKcHaUc

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

your suggestion
//ppa.linuxfactory.or.kr/images/raw/arm64/focal/

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Jhonny14 wrote:
Mon Nov 16, 2020 5:45 pm
your suggestion
//ppa.linuxfactory.or.kr/images/raw/arm64/focal/
As I share the link where and which OS image you have to download and start, please refer to the link. And let me know if any issue happens what you are trying to do so.
viewtopic.php?p=309319#p309319

Also Gnome version comes from Canonical that orignally publish the OS images and packages for Ubuntu.

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

I tried it, it works, but the command ifconfig is not found, what to do
thanks

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Jhonny14 wrote:
Mon Nov 16, 2020 10:01 pm
I tried it, it works, but the command ifconfig is not found, what to do
thanks
Run sudo apt install net-tools.

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

how can i get it without a working usb connection?

brad
Posts: 1351
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 113 times
Been thanked: 167 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by brad »

ifconfig has been replaced with ip tool which is installed by default, what are you trying to do?

If you are trying to configure a wifi connection try to check nmcli command using the man page examples

man nmcli-examples

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

connecting a smartphone as a modem using the usb cable as in all android

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Jhonny14 wrote:
Mon Nov 16, 2020 10:21 pm
connecting a smartphone as a modem using the usb cable as in all android
Can you please open your own thread to get help? Since due to the many small different issues, this thread is getting lost.
We will help you in you create your own thread. :)

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

ok in a few minutes

Jhonny14
Posts: 34
Joined: Sat Nov 14, 2020 11:29 pm
languages_spoken: english, italian
ODROIDs: odroid c4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Jhonny14 »

Meanwhile I downloaded the desktop version 5.9.8 and it works also with internet. My question how can I change libreoffice as i want to use libreoffice 7?

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Jhonny14 wrote:
Thu Nov 19, 2020 4:17 am
Meanwhile I downloaded the desktop version 5.9.8 and it works also with internet. My question how can I change libreoffice as i want to use libreoffice 7?
http://ubuntuhandbook.org/index.php/202 ... -04-18-04/
These users thanked the author tobetter for the post:
Jhonny14 (Thu Nov 19, 2020 3:24 pm)

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

20201120

The new image with Linux kernel 5.9.8 is ready, download the image and flash with Etcher from your desktop or your ODROID-N2.
Ubuntu 20.04 (Focal Fossa) for ODROID-C4
Ubuntu 20.04 (Focal Fossa) for ODROID-HC4

Note:
  • The default user account and its password is odroid and odroid
For Ubuntu Gnome Desktop users:
Gnome Desktop with ARM Wayland GPU acceleration can be installed on top of this server image.

Code: Select all

$ sudo apt update
$ sudo apt install ubuntu-desktop mali-bifrost-wayland-driver
$ sudo reboot
In case ARM Mali Wayland does not run when you log in to Gnome Desktop with Wayland session, please run this command.

Code: Select all

$ sudo apt install --reinstall mali-bifrost-dkms
$ sudo reboot

Curmudgeon
Posts: 37
Joined: Thu Jan 01, 2015 11:07 pm
languages_spoken: english
ODROIDs: C1, N2, C4
Has thanked: 2 times
Been thanked: 3 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Curmudgeon »

tobetter wrote:
Sat Nov 21, 2020 1:57 am
20201120

The new image with Linux kernel 5.9.8 is ready, download the image and flash with Etcher from your desktop or your ODROID-N2.
Ubuntu 20.04 (Focal Fossa) for ODROID-C4
Ubuntu 20.04 (Focal Fossa) for ODROID-HC4

Note:
  • The default user account and its password is odroid and odroid
For Ubuntu Gnome Desktop users:
Gnome Desktop with ARM Wayland GPU acceleration can be installed on top of this server image.

Code: Select all

$ sudo apt update
$ sudo apt install ubuntu-desktop mali-bifrost-wayland-driver
$ sudo reboot
In case ARM Mali Wayland does not run when you log in to Gnome Desktop with Wayland session, please run this command.

Code: Select all

$ sudo apt install --reinstall mali-bifrost-dkms
$ sudo reboot
I tried the above image for Odroid-C4 but the installation of mali-bifrost-wayland-driver failed due to unmet dependencies,
"mali-bifrost-wayland-driver: Depends: mali-bifrost-dkms but it is not installable".

I also encountered the same failure when I tried to install the corresponding image for Odroid-N2.

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Curmudgeon wrote:
Wed Nov 25, 2020 8:51 am
I tried the above image for Odroid-C4 but the installation of mali-bifrost-wayland-driver failed due to unmet dependencies,
"mali-bifrost-wayland-driver: Depends: mali-bifrost-dkms but it is not installable".

I also encountered the same failure when I tried to install the corresponding image for Odroid-N2.
What errors do you have with command "sudo apt install mali-bifrost-dkms"? What's the output of "uname -a" ?

Curmudgeon
Posts: 37
Joined: Thu Jan 01, 2015 11:07 pm
languages_spoken: english
ODROIDs: C1, N2, C4
Has thanked: 2 times
Been thanked: 3 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Curmudgeon »

tobetter wrote:
Wed Nov 25, 2020 9:16 am
Curmudgeon wrote:
Wed Nov 25, 2020 8:51 am
I tried the above image for Odroid-C4 but the installation of mali-bifrost-wayland-driver failed due to unmet dependencies,
"mali-bifrost-wayland-driver: Depends: mali-bifrost-dkms but it is not installable".

I also encountered the same failure when I tried to install the corresponding image for Odroid-N2.
What errors do you have with command "sudo apt install mali-bifrost-dkms"? What's the output of "uname -a" ?
odroid@focal-server:~$ sudo apt install mali-bifrost-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mali-bifrost-dkms is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'mali-bifrost-dkms' has no installation candidate
odroid@focal-server:~$ uname -a
Linux focal-server 5.9.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.9.8-202011142254~focal (2020-11-14) aarch64 aarch64 aarch64 GNU/Linux
odroid@focal-server:~$

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Curmudgeon wrote:
Wed Nov 25, 2020 10:24 am
tobetter wrote:
Wed Nov 25, 2020 9:16 am
Curmudgeon wrote:
Wed Nov 25, 2020 8:51 am
I tried the above image for Odroid-C4 but the installation of mali-bifrost-wayland-driver failed due to unmet dependencies,
"mali-bifrost-wayland-driver: Depends: mali-bifrost-dkms but it is not installable".

I also encountered the same failure when I tried to install the corresponding image for Odroid-N2.
What errors do you have with command "sudo apt install mali-bifrost-dkms"? What's the output of "uname -a" ?
odroid@focal-server:~$ sudo apt install mali-bifrost-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mali-bifrost-dkms is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'mali-bifrost-dkms' has no installation candidate
odroid@focal-server:~$ uname -a
Linux focal-server 5.9.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.9.8-202011142254~focal (2020-11-14) aarch64 aarch64 aarch64 GNU/Linux
odroid@focal-server:~$
That's strange...maybe my image have a problem.
Can you please check if you have this line in the file /etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list? If the line or contrib is missing, please add and do run sudo apt update && sudo apt install mali-bifrost-wayland-driver

Code: Select all

deb http://ppa.linuxfactory.or.kr focal main non-free contrib

Curmudgeon
Posts: 37
Joined: Thu Jan 01, 2015 11:07 pm
languages_spoken: english
ODROIDs: C1, N2, C4
Has thanked: 2 times
Been thanked: 3 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by Curmudgeon »

Curmudgeon wrote:
Wed Nov 25, 2020 12:49 pm
tobetter wrote:
Wed Nov 25, 2020 11:16 am
Curmudgeon wrote:
Wed Nov 25, 2020 10:24 am
tobetter wrote:
Wed Nov 25, 2020 9:16 am
Curmudgeon wrote:
Wed Nov 25, 2020 8:51 am
I tried the above image for Odroid-C4 but the installation of mali-bifrost-wayland-driver failed due to unmet dependencies,
"mali-bifrost-wayland-driver: Depends: mali-bifrost-dkms but it is not installable".

I also encountered the same failure when I tried to install the corresponding image for Odroid-N2.
What errors do you have with command "sudo apt install mali-bifrost-dkms"? What's the output of "uname -a" ?
odroid@focal-server:~$ sudo apt install mali-bifrost-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mali-bifrost-dkms is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'mali-bifrost-dkms' has no installation candidate
odroid@focal-server:~$ uname -a
Linux focal-server 5.9.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.9.8-202011142254~focal (2020-11-14) aarch64 aarch64 aarch64 GNU/Linux
odroid@focal-server:~$
That's strange...maybe my image have a problem.
Can you please check if you have this line in the file /etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list? If the line or contrib is missing, please add and do run sudo apt update && sudo apt install mali-bifrost-wayland-driver

Code: Select all

deb http://ppa.linuxfactory.or.kr focal main non-free contrib
That's it! The line was present but missing the word "contrib". The mali-bifrost-wayland-driver has now installed without error.
Many thanks.

User avatar
tobetter
Posts: 6619
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 328 times
Been thanked: 921 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

Curmudgeon wrote:
Wed Nov 25, 2020 12:53 pm
That's it! The line was present but missing the word "contrib". The mali-bifrost-wayland-driver has now installed without error.
Many thanks.
Ah...Sorry...it's really my bad... :(
But glad to hear it works now. :)

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 2 guests