Any plan for basic mainline linux support?

Post Reply
User avatar
tobetter
Posts: 6642
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 331 times
Been thanked: 927 times
Contact:

Re: Any plan for basic mainline linux support?

Post by tobetter »

SirZevo wrote:
Wed Nov 18, 2020 3:01 am
tobetter wrote:
Wed Nov 18, 2020 2:54 am
Did you flash the image that I build version 20201024 from this link?
viewtopic.php?p=309320#p309320
Yes. I have the 4.9 kernel image on a SD card, so I downloaded the image above and flashed it directly to the eMMC with dd if=/tmp/ubuntu-20.04-server-odroidn2-20201024.img of=/dev/mmcblk0 status=progress
tobetter wrote:
Wed Nov 18, 2020 2:54 am
If you are not able to sshing to the OS freshly installed, I guess it boots failed at mouting the root file system. Do you flash the image to SD card or eMMC or USB storage? If you flashed to SD card, please let me know the brand/model of it.
The strange thing is that the blue heartbeat light blinks as usual and my router register the device.
If possible, use Etcher to flash the image. Also try to reboot after removing the SD card and boot from eMMC flashed with 20201024 image. Some SD card is not compatible with the 5.9 kernel, I know a couple of Samsung SD card does not work yet.

SirZevo
Posts: 34
Joined: Tue Sep 17, 2019 4:17 pm
languages_spoken: English and Spanish
ODROIDs: ODROID-N2
Has thanked: 5 times
Been thanked: 2 times

Re: Any plan for basic mainline linux support?

Post by SirZevo »

tobetter wrote:
Wed Nov 18, 2020 3:22 am
If possible, use Etcher to flash the image. Also try to reboot after removing the SD card and boot from eMMC flashed with 20201024 image. Some SD card is not compatible with the 5.9 kernel, I know a couple of Samsung SD card does not work yet.
I have never used Etcher on linux with command line. Is that even possible? I forgot to mention that I did shutdown after flashing, removed the SD card and turned on the power.
Last edited by SirZevo on Wed Nov 18, 2020 6:54 pm, edited 1 time in total.

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

SirZevo wrote:
Wed Nov 18, 2020 3:42 am
tobetter wrote:
Wed Nov 18, 2020 3:22 am
If possible, use Etcher to flash the image. Also try to reboot after removing the SD card and boot from eMMC flashed with 20201024 image. Some SD card is not compatible with the 5.9 kernel, I know a couple of Samsung SD card does not work yet.
I have never used Etcher on linux with command line. Is that even possible? I forgot to mention that I did shutdown after flashing, removed the SD card and turned on the power.
For Etcher, you need a desktop so run it from your PC or Ubuntu Mate on ODROID-N2. FYI, there is Hardkernel custom version of Etcher even can run on ARM64 ODROID itself.
viewtopic.php?p=308245#p308245

If the image is flashed properly, it should start and resize the partition in your eMMC, this may take sometime but not too long. Can you boot with other OS from SD and check if eMMC file system is currupted or not?

If you use the Netboot Installer from the Petitboot, you will install all packages up to date with 5.9 kernel while installing. You can consider this if the flashed image does not work.

SirZevo
Posts: 34
Joined: Tue Sep 17, 2019 4:17 pm
languages_spoken: English and Spanish
ODROIDs: ODROID-N2
Has thanked: 5 times
Been thanked: 2 times

Re: Any plan for basic mainline linux support?

Post by SirZevo »

tobetter wrote:
Wed Nov 18, 2020 9:12 am
For Etcher, you need a desktop so run it from your PC or Ubuntu Mate on ODROID-N2. FYI, there is Hardkernel custom version of Etcher even can run on ARM64 ODROID itself.
viewtopic.php?p=308245#p308245
Well, I have Etcher on my computer, but I can't write to eMMC with it as I don't have the eMMC Module Writer. I could install Ubuntu Mate on the SD card though and use the N2.
tobetter wrote:
Wed Nov 18, 2020 9:12 am
If the image is flashed properly, it should start and resize the partition in your eMMC, this may take sometime but not too long. Can you boot with other OS from SD and check if eMMC file system is currupted or not?
Since I don't get a signal on my 4K TV, I can't really tell what happens when I power on. I will probably give mainline a try in the future and if I face the same issue, I will check if the eMMC file system is corrupted.
tobetter wrote:
Wed Nov 18, 2020 9:12 am
If you use the Netboot Installer from the Petitboot, you will install all packages up to date with 5.9 kernel while installing. You can consider this if the flashed image does not work.
Since I did not get any signal on my 4K TV I flashed the 4.9 Kernel image which is working fine. For the time being, everything is fine and I will give mainline a go later on if I encounter some issues. Guess I have to buy an external monitor and UART module in the meantime :)

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

For the record, I've just finished to upload the new package of Linux kernel 5.10.0-rc4, it can boot from ODROID-N2/C4/HC4 and ARM Mali driver can run on it. Custom kernel source tree is uploaded to my Github branch, https://github.com/tobetter/linux/tree/odroid-5.10.y

Code: Select all

ii  linux-headers-5.10.0-odroid-arm64          5.10.0-202011190332~focal             arm64        Header files for Linux 5.10.0-odroid-arm64
ii  linux-headers-5.10.0-odroid-common         5.10.0-202011190332~focal             arm64        Common header files for Linux 5.10.0-odroid
ii  linux-headers-5.9.0-odroid-arm64           5.9.8-202011170243~focal              arm64        Header files for Linux 5.9.0-odroid-arm64
ii  linux-headers-5.9.0-odroid-common          5.9.8-202011170243~focal              arm64        Common header files for Linux 5.9.0-odroid
ii  linux-headers-generic                      5:2020.11-1+202011062247~focal        arm64        Generic Linux kernel headers
ii  linux-image-5.10.0-odroid-arm64            5.10.0-202011190332~focal             arm64        Linux 5.10 for 64-bit ARMv8 machines
ii  linux-image-5.9.0-odroid-arm64             5.9.8-202011170243~focal              arm64        Linux 5.9 for 64-bit ARMv8 machines
ii  linux-image-generic                        5:2020.11-1+202011062247~focal        arm64        Generic Linux kernel image
ii  linux-kbuild-5.10                          5.10.0-202011190332~focal             arm64        Kbuild infrastructure for Linux 5.10
ii  linux-kbuild-5.9                           5.9.8-202011180001~focal              arm64        Kbuild infrastructure for Linux 5.9
If you are running Ubuntu 20.04 from my server image (v20201024) or installed using Netboot Installer, Linux kernel 5.10.0-rc4 can be installed with this command. While testing the version, I've not observed a critical issue yet but 5.10 is still not stable version and do not upgrade if you hestitate to install new OS when kernel crashes.

Code: Select all

$ sudo apt update
$ sudo apt install linux-image-5.10.0-odroid-arm64 linux-headers-5.10.0-odroid-arm64
$ sudo reboot
These users thanked the author tobetter for the post (total 4):
superpowter77 (Thu Nov 19, 2020 5:30 am) • jonathon (Thu Nov 19, 2020 10:33 am) • istanbulls (Thu Nov 19, 2020 2:36 pm) • harddroid (Fri Nov 20, 2020 3:45 pm)

eruo1
Posts: 15
Joined: Fri Jan 24, 2020 10:22 am
languages_spoken: english
ODROIDs: n2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Post by eruo1 »

tobetter wrote:
Sat Oct 24, 2020 3:34 pm
20201024

The new image with Linux kernel 5.8.16 is ready, download the image and flash with Etcher.
Ubuntu 20.04 (Focal Fossa) for ODROID-N2/N2Plus

Note:
  • The default user account and its password is odroid and odroid
  • In case you like to run 5.9 kernel, install linux-image-5.9.0-odroid-arm64 package on this image
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
@tobetter, Thank you for this image. Could you make this image compatible with wireless logitech keyboard with editable config.ini file where I could change the display_autodetect to false. During the initial setup, the auto detected fonts size are too small to see. Thanks again.

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

eruo1 wrote:
Sat Nov 21, 2020 12:42 am
tobetter wrote:
Sat Oct 24, 2020 3:34 pm
20201024

The new image with Linux kernel 5.8.16 is ready, download the image and flash with Etcher.
Ubuntu 20.04 (Focal Fossa) for ODROID-N2/N2Plus

Note:
  • The default user account and its password is odroid and odroid
  • In case you like to run 5.9 kernel, install linux-image-5.9.0-odroid-arm64 package on this image
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
@tobetter, Thank you for this image. Could you make this image compatible with wireless logitech keyboard with editable config.ini file where I could change the display_autodetect to false. During the initial setup, the auto detected fonts size are too small to see. Thanks again.
Logitech driver is included already, AFAIK. I can use K400. What's the model of your keyboard?
The 'config.ini' is supported with the Linux 4.9 and that to manage the Hardkernel custom kernel features. So 5.x kernel does not have it and display_autodetect is also the same.

Are you going to change the resolution or want to increase the default text size in the current resolution?

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

Re: Any plan for basic mainline linux support?

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-N2/N2Plus

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
These users thanked the author tobetter for the post:
istanbulls (Sat Nov 21, 2020 2:53 am)

eruo1
Posts: 15
Joined: Fri Jan 24, 2020 10:22 am
languages_spoken: english
ODROIDs: n2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Post by eruo1 »

eruo1 wrote:
Sat Nov 21, 2020 12:42 am
tobetter wrote:
Sat Oct 24, 2020 3:34 pm
20201024

The new image with Linux kernel 5.8.16 is ready, download the image and flash with Etcher.
Ubuntu 20.04 (Focal Fossa) for ODROID-N2/N2Plus

Note:
  • The default user account and its password is odroid and odroid
  • In case you like to run 5.9 kernel, install linux-image-5.9.0-odroid-arm64 package on this image
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
@tobetter, Thank you for this image. Could you make this image compatible with wireless logitech keyboard with editable config.ini file where I could change the display_autodetect to false. During the initial setup, the auto detected fonts size are too small to see. Thanks again.
Thanks for your prompt response. I have a k400 as well, but it is not recognized after reboot. I have to unplug and plug it to be recognized. With respect to the fonts, I am only concerned during the initial setup when the fonts are not legible. I use a projector and the 2160p fonts are too small. I am able to change the resolution/font size once I am in Ubuntu desktop.

By the way, the 20201120 image is not updating. I get an error that the repository is not updated.

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

eruo1 wrote:
Sat Nov 21, 2020 2:46 am
Thanks for your prompt response. I have a k400 as well, but it is not recognized after reboot. I have to unplug and plug it to be recognized. With respect to the fonts, I am only concerned during the initial setup when the fonts are not legible. I use a projector and the 2160p fonts are too small. I am able to change the resolution/font size once I am in Ubuntu desktop.

By the way, the 20201120 image is not updating. I get an error that the repository is not updated.
Let me check the K400 again if it does not work after reboot.
What's the "initial setup"? Do you mean the Petitboot or Ubuntu login screen?
Please try to download the 20201120 image, but if you already use my OS image...I think you do not need to flash the image again. Just do a couple of commands, this is quite enough to upgrade.

Code: Select all

$ sudo apt update
$ sudo apt dist-upgrade

eruo1
Posts: 15
Joined: Fri Jan 24, 2020 10:22 am
languages_spoken: english
ODROIDs: n2
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Post by eruo1 »

Thank you @tobetter. I was able to partially resolve the logitech not connecting issue. The 20201120 image is not updating / upgrading. It is showing reading package lists error, write error - no space left on device, error saving source cache, and the package lists or status could not be parsed or opened.

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

eruo1 wrote:
Sun Nov 22, 2020 2:30 am
Thank you @tobetter. I was able to partially resolve the logitech not connecting issue. The 20201120 image is not updating / upgrading. It is showing reading package lists error, write error - no space left on device, error saving source cache, and the package lists or status could not be parsed or opened.
I've seen you post from Ubuntu 20.10 thread, I am checking the image if I made a mistake and will update it later ASAP.

mlakis
Posts: 7
Joined: Thu Jul 30, 2020 3:02 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Post by mlakis »

After update to 5.9 kernel, I've noticed performance degradation. Even the cursor does not move smoothly. After giving some time I decided to run glmark2-es2-wayland benchmark and noticed that while it's running, the cursor turns to super smooth! When I stop the benchmark the mouse cursor again becomes sluggish. I am running a Gnome session with Wayland.

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: 114 times
Been thanked: 167 times
Contact:

Re: Any plan for basic mainline linux support?

Post by brad »

mlakis wrote:
Mon Nov 23, 2020 7:05 am
After update to 5.9 kernel, I've noticed performance degradation. Even the cursor does not move smoothly. After giving some time I decided to run glmark2-es2-wayland benchmark and noticed that while it's running, the cursor turns to super smooth! When I stop the benchmark the mouse cursor again becomes sluggish. I am running a Gnome session with Wayland.
This sounds like frequency scaling is being too aggressive (either cpu or mali), I do need to setup a new standard Focal later so I might check with the default setup to see if mali scaling is turned on.
These users thanked the author brad for the post:
mlakis (Mon Nov 23, 2020 4:34 pm)

mlakis
Posts: 7
Joined: Thu Jul 30, 2020 3:02 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Post by mlakis »

brad wrote:
Mon Nov 23, 2020 7:20 am
mlakis wrote:
Mon Nov 23, 2020 7:05 am
After update to 5.9 kernel, I've noticed performance degradation. Even the cursor does not move smoothly. After giving some time I decided to run glmark2-es2-wayland benchmark and noticed that while it's running, the cursor turns to super smooth! When I stop the benchmark the mouse cursor again becomes sluggish. I am running a Gnome session with Wayland.
This sounds like frequency scaling is being too aggressive (either cpu or mali), I do need to setup a new standard Focal later so I might check with the default setup to see if mali scaling is turned on.
I have a monitor with 2560x1440 resolution and the performance degradation maybe is more evident.

LostMyDroid
Posts: 49
Joined: Tue Jan 13, 2015 10:06 am
languages_spoken: english
ODROIDs: N-2
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Any plan for basic mainline linux support?

Post by LostMyDroid »

aull77 wrote:
Sat Sep 05, 2020 5:00 pm
tobetter wrote:
Wed Sep 02, 2020 11:35 pm
20200902

The new image with Linux kernel 5.8.x is ready.
Ubuntu 20.04 (Focal Fossa) for ODROID-N2 and ODROID-N2Plus

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
Tried to install with linux 5.8 a fresh start. Looks like the mali-wayland driver is causing an endless password loop and not accepting the password at all. Terminal accepts the password and can see that the typed password is correct so not sure what is happening. Is this happening to anyone else too?
Yes I have the same problem

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

LostMyDroid wrote:
Tue Nov 24, 2020 9:04 am
aull77 wrote:
Sat Sep 05, 2020 5:00 pm
tobetter wrote:
Wed Sep 02, 2020 11:35 pm
20200902

The new image with Linux kernel 5.8.x is ready.
Ubuntu 20.04 (Focal Fossa) for ODROID-N2 and ODROID-N2Plus

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
Tried to install with linux 5.8 a fresh start. Looks like the mali-wayland driver is causing an endless password loop and not accepting the password at all. Terminal accepts the password and can see that the typed password is correct so not sure what is happening. Is this happening to anyone else too?
Yes I have the same problem
You should not stop searching the answer around the question?
viewtopic.php?p=305504#p305504

LostMyDroid
Posts: 49
Joined: Tue Jan 13, 2015 10:06 am
languages_spoken: english
ODROIDs: N-2
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Any plan for basic mainline linux support?

Post by LostMyDroid »

I am sorry but I am given the option after I select user Odroid to log into Gnome or Ubuntu. I don't see Ubuntu-Wayland

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

LostMyDroid wrote:
Wed Nov 25, 2020 5:25 am
I am sorry but I am given the option after I select user Odroid to log into Gnome or Ubuntu. I don't see Ubuntu-Wayland
If you are not able too "Wayland" option on the welcome screen, it must be the Mali Bifrost driver is not installed. Please run "lsmod | grep mali" and check if you have "mali_kbase". If you do not have and unsure, run these lines.

Code: Select all

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

LostMyDroid
Posts: 49
Joined: Tue Jan 13, 2015 10:06 am
languages_spoken: english
ODROIDs: N-2
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Any plan for basic mainline linux support?

Post by LostMyDroid »

Thanks. There seems to be a missing package

Code: Select all

odroid@focal-server:~$ lsmod | grep mali
odroid@focal-server:~$ sudo apt update
[sudo] password for odroid: 
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
Get:4 http://ppa.linuxfactory.or.kr focal InRelease [21.1 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [561 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages [649 kB]
Fetched 1345 kB in 4s (344 kB/s)    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
61 packages can be upgraded. Run 'apt list --upgradable' to see them.
odroid@focal-server:~$ sudo apt install --reinstall mali-bifrost-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 61 not upgraded.
Need to get 434 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ppa.linuxfactory.or.kr focal/contrib arm64 mali-bifrost-dkms arm64 24.0+202011130753~focal [434 kB]
Fetched 434 kB in 3s (144 kB/s)             
(Reading database ... 121793 files and directories currently installed.)
Preparing to unpack .../mali-bifrost-dkms_24.0+202011130753~focal_arm64.deb ...
Error! There are no instances of module: mali-bifrost
24.0 located in the DKMS tree.
dpkg: warning: old mali-bifrost-dkms package pre-removal script subprocess retur
ned error exit status 3
dpkg: trying script from the new package instead ...
dpkg: ... it looks like that went OK
Unpacking mali-bifrost-dkms (24.0+202011130753~focal) over (24.0+202011130753~fo
cal) ...
Setting up mali-bifrost-dkms (24.0+202011130753~focal) ...
/usr/lib/dkms/common.postinst mali-bifrost 24.0+202011130753~focal /usr/share/ma
li-bifrost-dkms arm64 
Removing old mali-bifrost-24.0+202011130753~focal DKMS files...

------------------------------
Deleting module version: 24.0+202011130753~focal
completely from the DKMS tree.
------------------------------
Done.
Loading new mali-bifrost-24.0+202011130753~focal DKMS files...
Building for 5.8.0-odroid-arm64
Building for architecture arm64
Module build for kernel 5.8.0-odroid-arm64 was skipped since the
kernel headers for this kernel does not seem to be installed.
Removing old mali-bifrost-24.0+202011130753~focal DKMS files...

------------------------------
Deleting module version: 24.0+202011130753~focal
completely from the DKMS tree.
------------------------------
Done.
Loading new mali-bifrost-24.0+202011130753~focal DKMS files...
Building for 5.8.0-odroid-arm64
Module build for kernel 5.8.0-odroid-arm64 was skipped since the
kernel headers for this kernel does not seem to be installed.
Just so I am sure I have downloaded the right image. The previous link appears to point to an N2+ image is that correct for the N2 which I have?

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

LostMyDroid wrote:
Wed Nov 25, 2020 10:15 pm
Thanks. There seems to be a missing package

Code: Select all

odroid@focal-server:~$ lsmod | grep mali
odroid@focal-server:~$ sudo apt update
[sudo] password for odroid: 
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
Get:4 http://ppa.linuxfactory.or.kr focal InRelease [21.1 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [561 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages [649 kB]
Fetched 1345 kB in 4s (344 kB/s)    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
61 packages can be upgraded. Run 'apt list --upgradable' to see them.
odroid@focal-server:~$ sudo apt install --reinstall mali-bifrost-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 61 not upgraded.
Need to get 434 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ppa.linuxfactory.or.kr focal/contrib arm64 mali-bifrost-dkms arm64 24.0+202011130753~focal [434 kB]
Fetched 434 kB in 3s (144 kB/s)             
(Reading database ... 121793 files and directories currently installed.)
Preparing to unpack .../mali-bifrost-dkms_24.0+202011130753~focal_arm64.deb ...
Error! There are no instances of module: mali-bifrost
24.0 located in the DKMS tree.
dpkg: warning: old mali-bifrost-dkms package pre-removal script subprocess retur
ned error exit status 3
dpkg: trying script from the new package instead ...
dpkg: ... it looks like that went OK
Unpacking mali-bifrost-dkms (24.0+202011130753~focal) over (24.0+202011130753~fo
cal) ...
Setting up mali-bifrost-dkms (24.0+202011130753~focal) ...
/usr/lib/dkms/common.postinst mali-bifrost 24.0+202011130753~focal /usr/share/ma
li-bifrost-dkms arm64 
Removing old mali-bifrost-24.0+202011130753~focal DKMS files...

------------------------------
Deleting module version: 24.0+202011130753~focal
completely from the DKMS tree.
------------------------------
Done.
Loading new mali-bifrost-24.0+202011130753~focal DKMS files...
Building for 5.8.0-odroid-arm64
Building for architecture arm64
Module build for kernel 5.8.0-odroid-arm64 was skipped since the
kernel headers for this kernel does not seem to be installed.
Removing old mali-bifrost-24.0+202011130753~focal DKMS files...

------------------------------
Deleting module version: 24.0+202011130753~focal
completely from the DKMS tree.
------------------------------
Done.
Loading new mali-bifrost-24.0+202011130753~focal DKMS files...
Building for 5.8.0-odroid-arm64
Module build for kernel 5.8.0-odroid-arm64 was skipped since the
kernel headers for this kernel does not seem to be installed.
Just so I am sure I have downloaded the right image. The previous link appears to point to an N2+ image is that correct for the N2 which I have?
Only single image for ODROID-N2 and N2Plus. So it's ok.
Looks like you have not installed the Linux header files, kernel headers for this kernel does not seem to be installed.
Please try this command.

Code: Select all

$ sudo apt install linux-headers-$(uname -r)
$ sudo apt install --reinstall mali-bifrost-dkms mali-bifrost-wayland-driver

mlakis
Posts: 7
Joined: Thu Jul 30, 2020 3:02 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Post by mlakis »

With latest updates and on 5.9 kernel, export MOZ_ENABLE_WAYLAND=1 added on /usr/bin/firefox, on Ubuntu Wayland Session, Firefox seems unable to enable WebGL. On stdout it prints:

Code: Select all

Can't find symbol 'eglGetNativeClientBufferANDROID'.
Can't find symbol 'eglQuerySurfacePointerANGLE'.
Can't find symbol 'eglDupNativeFenceFDANDROID'.
Can't find symbol 'eglCreateStreamKHR'.
Can't find symbol 'eglDestroyStreamKHR'.
Can't find symbol 'eglQueryStreamKHR'.
Can't find symbol 'eglStreamConsumerGLTextureExternalKHR'.
Can't find symbol 'eglStreamConsumerAcquireKHR'.
Can't find symbol 'eglStreamConsumerReleaseKHR'.
Can't find symbol 'eglQueryDisplayAttribEXT'.
Can't find symbol 'eglQueryDeviceAttribEXT'.
Can't find symbol 'eglStreamConsumerGLTextureExternalAttribsNV'.
Can't find symbol 'eglCreateStreamProducerD3DTextureANGLE'.
Can't find symbol 'eglStreamPostD3DTextureANGLE'.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to create EGLContext!: 0x300c (t=0.732243) [GFX1-]: Failed to create EGLContext!: 0x300c
If such issues should be reported as separate topics in forum please comment.

Thanks!

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

mlakis wrote:
Thu Nov 26, 2020 1:24 am
With latest updates and on 5.9 kernel, export MOZ_ENABLE_WAYLAND=1 added on /usr/bin/firefox, on Ubuntu Wayland Session, Firefox seems unable to enable WebGL. On stdout it prints:

Code: Select all

Can't find symbol 'eglGetNativeClientBufferANDROID'.
Can't find symbol 'eglQuerySurfacePointerANGLE'.
Can't find symbol 'eglDupNativeFenceFDANDROID'.
Can't find symbol 'eglCreateStreamKHR'.
Can't find symbol 'eglDestroyStreamKHR'.
Can't find symbol 'eglQueryStreamKHR'.
Can't find symbol 'eglStreamConsumerGLTextureExternalKHR'.
Can't find symbol 'eglStreamConsumerAcquireKHR'.
Can't find symbol 'eglStreamConsumerReleaseKHR'.
Can't find symbol 'eglQueryDisplayAttribEXT'.
Can't find symbol 'eglQueryDeviceAttribEXT'.
Can't find symbol 'eglStreamConsumerGLTextureExternalAttribsNV'.
Can't find symbol 'eglCreateStreamProducerD3DTextureANGLE'.
Can't find symbol 'eglStreamPostD3DTextureANGLE'.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to create EGLContext!: 0x300c (t=0.732243) [GFX1-]: Failed to create EGLContext!: 0x300c
If such issues should be reported as separate topics in forum please comment.

Thanks!
Yes, please...since I am seeing already many unrelated posts to this thread. You have your own thread already regarding to Wayland...so...keep it up there.

LostMyDroid
Posts: 49
Joined: Tue Jan 13, 2015 10:06 am
languages_spoken: english
ODROIDs: N-2
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Any plan for basic mainline linux support?

Post by LostMyDroid »

Thanks Tobetter that worked to enable access to Wayland. However when I tried to change the time zone it will not accept my password in the Authentication window

EDIT : the command
sudo usermod -aG sudo odroid

fixed matters
Last edited by LostMyDroid on Thu Nov 26, 2020 2:06 am, edited 1 time in total.

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

LostMyDroid wrote:
Thu Nov 26, 2020 1:53 am
Thanks Tobetter that worked to enable access to Wayland. However when I tried to change the time zone it will not accept my password in the Authentication window
Can we jump to here if your question is more than Linux kernel support? ;)
viewtopic.php?f=182&t=37109

jonathon
Posts: 68
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 17 times
Contact:

Re: Any plan for basic mainline linux support?

Post by jonathon »

Loving sensors support with 5.9.11! :D
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

jonathon wrote:
Thu Nov 26, 2020 6:55 am
Loving sensors support with 5.9.11! :D
Do you use my branch or your own from upsteam branch?

jonathon
Posts: 68
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 17 times
Contact:

Re: Any plan for basic mainline linux support?

Post by jonathon »

tobetter wrote:
Thu Nov 26, 2020 9:35 am
Do you use my branch or your own from upsteam branch?
Tracking your odroid-5.9.y branch (and currently combining with chewiit's amlogic-5.9.y, I need to test exactly which patches are still needed e.g. for audio jack output).
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

jonathon
Posts: 68
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 17 times
Contact:

Re: Any plan for basic mainline linux support?

Post by jonathon »

jonathon wrote:
Thu Nov 26, 2020 10:07 am
tobetter wrote:
Thu Nov 26, 2020 9:35 am
Do you use my branch or your own from upsteam branch?
Tracking your odroid-5.9.y branch (and currently combining with chewiit's amlogic-5.9.y, I need to test exactly which patches are still needed e.g. for audio jack output).
Switched over to just odroid-5.9.y and everything seems to be working fine under ALARM. :shock: 8-)
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

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

Re: Any plan for basic mainline linux support?

Post by tobetter »

jonathon wrote:
Sat Nov 28, 2020 10:34 am
jonathon wrote:
Thu Nov 26, 2020 10:07 am
tobetter wrote:
Thu Nov 26, 2020 9:35 am
Do you use my branch or your own from upsteam branch?
Tracking your odroid-5.9.y branch (and currently combining with chewiit's amlogic-5.9.y, I need to test exactly which patches are still needed e.g. for audio jack output).
Switched over to just odroid-5.9.y and everything seems to be working fine under ALARM. :shock: 8-)
The audio in my branches are being worked for long...but chewitt's is not??

jonathon
Posts: 68
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 17 times
Contact:

Re: Any plan for basic mainline linux support?

Post by jonathon »

tobetter wrote:
Sat Nov 28, 2020 11:46 am
The audio in my branches are being worked for long...but chewitt's is not??
I think chewitt's branch was taking a different approach - there was a merge conflict in (what I think are) some of the audio driver sources (e.g. line 892-894). I don't know now which bits of which branches jgmdev's fork (used for linux-amlogic-panfrost-59) was merging in, but I'm gathering that those patches aren't needed any more. :D
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

Pawn
Posts: 3
Joined: Thu Sep 10, 2020 10:39 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Post by Pawn »

tobetter wrote:
Sat Nov 21, 2020 1:56 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-N2/N2Plus

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
Hi ! Thank's for your amazing work ! I have some trouble running this image. The following command failed:

Code: Select all

$ sudo apt install mali-bifrost-wayland-driver
I got this error :

Code: Select all

$ mali-bifrost-wayland-driver : Depends: mali-bifrost-dkms but it is not installable.
$ E: Unable to correct problems, you have held broken packages.
So I tried to manually install mali-bifrost-dkms package, but it seems that the package doesn't exist for this version :

Code: Select all

$ 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
I have already installed linux-headers package. Has anyone run into the same problem?

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

Re: Any plan for basic mainline linux support?

Post by Curmudgeon »

Pawn wrote:
Mon Nov 30, 2020 5:56 pm
tobetter wrote:
Sat Nov 21, 2020 1:56 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-N2/N2Plus

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
Hi ! Thank's for your amazing work ! I have some trouble running this image. The following command failed:

Code: Select all

$ sudo apt install mali-bifrost-wayland-driver
I got this error :

Code: Select all

$ mali-bifrost-wayland-driver : Depends: mali-bifrost-dkms but it is not installable.
$ E: Unable to correct problems, you have held broken packages.
So I tried to manually install mali-bifrost-dkms package, but it seems that the package doesn't exist for this version :

Code: Select all

$ 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
I have already installed linux-headers package. Has anyone run into the same problem?
See viewtopic.php?f=202&t=38557&sid=910d99d ... &start=200 around 25 November.
These users thanked the author Curmudgeon for the post:
Pawn (Wed Dec 02, 2020 5:16 pm)

Pawn
Posts: 3
Joined: Thu Sep 10, 2020 10:39 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Post by Pawn »

Curmudgeon wrote:
Tue Dec 01, 2020 4:28 am
See viewtopic.php?f=202&t=38557&sid=910d99d ... &start=200 around 25 November.
Thank you ! It's working now !

Skym
Posts: 1
Joined: Thu Dec 03, 2020 8:02 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Post by Skym »

Hi,

Can I ask dev to help enable the kernel CONFIG settings here?

I want to use BBR Congestion Control, but I found kernel config is not set.

grep 'CONFIG_TCP_CONG_BBR' /boot/config-$(uname -r)
# CONFIG_TCP_CONG_BBR is not set

I use the N2 board, but I think it might be possible to enable it on all devices.

Thanks for your time !

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest