Call for test the XU4 Linux Kernel 6.1 LTS

Post Reply
User avatar
odroid
Site Admin
Posts: 42184
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3615 times
Been thanked: 2004 times
Contact:

Call for test the XU4 Linux Kernel 6.1 LTS

Post by odroid »

A long, long time ago, in August of 2014, we launched the world's first true HMP octa-core powered ARM single board computer.
Although our XU4 series has been on the market for almost 10 years, it is still a steady seller with thousands of units shipped every month.

Ubuntu 14.04 with kernel 3.10 was released in 2014,
Since then, we have continuously updated kernels to 4.4, 4.9, 4.14 and 5.4 versions, and today we are releasing version 6.1.
The latest Kernel 6.1 LTS source code is available here : https://github.com/hardkernel/linux/tre ... dxu4-6.1.y

We also made trial Ubuntu Mate and Minimal OS images based on Kernel 6.1.
https://odroid.in/ubuntu_22.04lts/testing/xu4/
Mirror : https://dn.odroid.com/5422/ODROID-XU3/U ... ernel_6.1/

Update : September 5th
We've fixed a few kernel issues and made new images with wiki pages.
Mate Desktop :
https://wiki.odroid.com/odroid-xu4/os_i ... e/20230905
Minimal :
https://wiki.odroid.com/odroid-xu4/os_i ... l/20230905


OS features
- Kernel 6.1.45 LTS (maintained until end of '2026)
- Ubuntu 22.04.3 point release
- OpenGL ES 3.x GPU driver for X11 and DRM
- GPU HW accelerated Chromium browser
- GPU HW accelerated Qt libraries
- Exynos-5422 specific GPIO drivers for I2C, SPI, UART, I2S and ADC
- WiFi Module 1,2,3,4,5,5A,5B and 5BK drivers
- RTL8153 onboard GbE driver
- Cooling fan control PWM driver
- Customized drivers for ODROID-Vu series display resolutions and touchscreen controllers
- Customized SPI-LCD drivers for OGST and CloudShell enclosures

xu4_mate.png
xu4_mate.png (2.17 MiB) Viewed 37509 times

We've ported and implemented as many features as we can remember, but there are sure to be a lot of missing parts and bugs.
Therefore, we need help from many users to polish the ported kernel. Please join the debug party.

To share your test results, feel free to post a new topic on the specific sub-forum. viewforum.php?f=225
These users thanked the author odroid for the post (total 5):
stmicro (Mon Aug 21, 2023 11:52 am) • mctom (Mon Aug 21, 2023 8:49 pm) • meveric (Tue Aug 29, 2023 6:32 am) • AreaScout (Fri Sep 08, 2023 2:04 am) • toshik (Fri Oct 27, 2023 12:02 pm)

User avatar
rooted
Posts: 10573
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 818 times
Been thanked: 724 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by rooted »

Building now, will be testing on the CS2. If anything noteworthy appears will post in the appropriate subforum, thanks.
These users thanked the author rooted for the post:
odroid (Fri Aug 18, 2023 2:24 pm)

User avatar
odroid
Site Admin
Posts: 42184
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3615 times
Been thanked: 2004 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by odroid »

Side note,
After updating to 6.1.45-12, I could use the following WiFi chipsets.

- RTL8191SU
- RTL8812AU
- RTL8811AU
- RTL8821CU
- RT5370
- RT5572

User avatar
rooted
Posts: 10573
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 818 times
Been thanked: 724 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by rooted »

Can confirm WiFi Modules 0/5/5BK all functional.

stmicro
Posts: 260
Joined: Tue Apr 28, 2015 4:23 pm
languages_spoken: english, chinese
ODROIDs: Many Odroids and Rpis.
Location: shenzhen china
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by stmicro »

Good job. continuous updates for 10 years are very impressive.
My old HC1 home server uptime is near 900 days with Kernel 4.14 on ancient Ubuntu 18.04. :o
It is time to upgrade. i'll cleanly install Ubuntu 22.04 minimal trial image a couple of weeks later.

User avatar
rooted
Posts: 10573
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 818 times
Been thanked: 724 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by rooted »

stmicro wrote:Good job. continuous updates for 10 years are very impressive.
My old HC1 home server uptime is near 900 days with Kernel 4.14 on ancient Ubuntu 18.04. :o
It is time to upgrade. i'll cleanly install Ubuntu 22.04 minimal trial image a couple of weeks later.
It's been great on my server thus far, it was running a really old Debian install with a kernel I compiled years ago.

User avatar
odroid
Site Admin
Posts: 42184
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3615 times
Been thanked: 2004 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by odroid »

We've fixed a few kernel issues and made new images with WiKi pages.
Mate Desktop :
https://wiki.odroid.com/odroid-xu4/os_i ... e/20230905
Minimal :
https://wiki.odroid.com/odroid-xu4/os_i ... l/20230905

koerhen
Posts: 2
Joined: Thu Sep 14, 2023 7:11 pm
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by koerhen »

Odroid XU4 Cloudshell 2 - TFT screen not working since installing the 6.1. kernel.

Code: Select all

uname -a
Linux odroid 6.1.52-14 #1 SMP PREEMPT Mon Sep 11 18:16:30 UTC 2023 armv7l armv7l armv7l GNU/Linux

driver are loaded:

Code: Select all

lsmod | grep tft
fb_hktft32             16384  1
fbtft                  32768  1 fb_hktft32

i2c are detected:
i2cdetect -l
i2c-0	i2c       	s3c2410-i2c                     	I2C adapter
i2c-1	i2c       	exynos5-i2c                     	I2C adapter
i2c-2	i2c       	s3c2410-i2c                     	I2C adapter
i2c-4	i2c       	exynos5-i2c                     	I2C adapter


config.ini is adapted to work with overlay_profile=hktft_cs_ogst following the previous kernel settings:

Code: Select all

; Device Tree Overlay
overlay_resize=16384
overlay_profile=hktft_cs_ogst
overlays="spi0 i2c0 i2c1 uart0"

[overlay_custom]
overlays="i2c0 i2c1"

[overlay_hktft32]
overlays="hktft32 ads7846"

[overlay_hktft35]
overlays="hktft35 sx865x-i2c1"

[overlay_hktft_cs_ogst]
overlays="hktft-cs-ogst i2c0 i2c1"

but screen is off and is not showing anything during boot and afterwards.

User avatar
odroid
Site Admin
Posts: 42184
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3615 times
Been thanked: 2004 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by odroid »

koerhen wrote:
Thu Sep 14, 2023 7:20 pm
but screen is off and is not showing anything during boot and afterwards.
Try this as discussed here. viewtopic.php?p=374131#p374131.

Code: Select all

; Device Tree Overlay
overlay_resize=16384
overlay_profile=
overlays="spi0 i2c0 i2c1 uart0 hktft-cs-ogst"

koerhen
Posts: 2
Joined: Thu Sep 14, 2023 7:11 pm
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by koerhen »

Thanks. Actually from the linked discussion I tried the command:

echo 1 > /sys/class/backlight/fb_hktft32/bl_power

which did the job. TFT is working now.
These users thanked the author koerhen for the post:
odroid (Thu Sep 14, 2023 10:39 pm)

User avatar
rooted
Posts: 10573
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 818 times
Been thanked: 724 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by rooted »

I updated the fan script to support this kernel since my fan was acting crazy by default.

https://github.com/f1vefour/odroid-xu4-fan-control
These users thanked the author rooted for the post:
mdrjr (Wed Oct 11, 2023 6:43 am)

AnotherLinuxUser
Posts: 23
Joined: Tue Jul 11, 2023 4:37 am
languages_spoken: English, Spanish
Has thanked: 1 time
Been thanked: 10 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by AnotherLinuxUser »

I'd like to first say that the Ubuntu Mate image with the new 6.1 LTS kernel is pretty amazing. Great work indeed!

I do have a question though surrounding the Xorg desktop session. I stumbled across a Phoronix post today and apparently OpenGL ES 3.0 shader support has been added to Xorg's GLAMOR for 2D acceleration (https://www.phoronix.com/news/GLAMOR-GLES3-Shaders). It seems like OpenGL ES 3.0 shaders in GLAMOR may offer superior performance than OpenGL ES 2.0; I build Xorg and test it out on my Odroid XU4 sometime and see how well it performs. I was wondering though if there were a possibility that Xorg would eventually be updated to include this change later on the in the future. I understand if not though as the Ubuntu image is an LTS release after all.

dapobe
Posts: 1
Joined: Sat Oct 21, 2023 3:05 am
languages_spoken: english, spanish, catalan
ODROIDs: XUA4, C4, HC1
Has thanked: 0
Been thanked: 0
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by dapobe »

Hello

I'm using this image (ubuntu-22.04-6.1-minimal-odroid-xu4-20230905.img.xz) but the user / password is wrong.

The password for user "root" is not "odroid" as is mentioned in the wiki (https://wiki.odroid.com/odroid-xu4/os_i ... l/20230905)

I'm using an HC1 via SSL.

Thank you.

mzubaidi
Posts: 10
Joined: Sun Oct 22, 2023 10:57 am
languages_spoken: english
ODROIDs: XU3 XU4
Has thanked: 4 times
Been thanked: 0
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by mzubaidi »

this doesn't boot on XU3 circa 2014

Bernini
Posts: 20
Joined: Sun Nov 26, 2017 3:56 am
languages_spoken: english, french, italian
ODROIDs: Odroid XU4
Has thanked: 16 times
Been thanked: 0
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by Bernini »

Thanks for the images and the 6.1 kernel guys... This is truly impressive. Makes me even more happier that I went with an Odroid device years ago :-).

I'm seeing this though after pulling the 20230905 image from the German mirror:

Code: Select all

$ LANG=C md5sum -c ubuntu-22.04-6.1-minimal-odroid-xu4-20230905.img.xz.md5sum 
md5sum: ubuntu-22.04-6.1-minimal-odroid-xu4-20230805.img.xz: No such file or directory
ubuntu-22.04-6.1-minimal-odroid-xu4-20230805.img.xz: FAILED open or read
md5sum: WARNING: 1 listed file could not be read
The checksum file points to 20230805 which is nonexistent. The hash does match though. A bit weird?

mdrjr
Site Admin
Posts: 12093
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 8 times
Been thanked: 151 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by mdrjr »

We accidentally renamed the file.
Md5 should match the xz file.

I will reupload tomorrow

mdrjr
Site Admin
Posts: 12093
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 8 times
Been thanked: 151 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by mdrjr »

Fixed now :) Thanks for the report.

AlexDeLorenzo.dev
Posts: 7
Joined: Mon Dec 04, 2023 2:03 pm
languages_spoken: english
ODROIDs: XU4, XU3-Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by AlexDeLorenzo.dev »

Is installing linux-odroid-5422-next enough to test out the kernel without having to reflash?

Also, is Odroid going to try mainline the 6.1 kernel changes upstream?

mdrjr
Site Admin
Posts: 12093
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 8 times
Been thanked: 151 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by mdrjr »

AlexDeLorenzo.dev wrote:
Mon Dec 04, 2023 2:11 pm
Is installing linux-odroid-5422-next enough to test out the kernel without having to reflash?

Also, is Odroid going to try mainline the 6.1 kernel changes upstream?
No, please reflash to make sure it will all work correctly, or flash another microsd/eMMC just to be sure.
There are way too many changes between amlogic 4.9 and upstream 6.1
(Small stuff, like audio, device names, etc) and those can cause a issue.

At this moment, no, since there are still way too many bits missing.

AlexDeLorenzo.dev
Posts: 7
Joined: Mon Dec 04, 2023 2:03 pm
languages_spoken: english
ODROIDs: XU4, XU3-Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by AlexDeLorenzo.dev »

mdrjr wrote:
Mon Dec 04, 2023 10:55 pm
AlexDeLorenzo.dev wrote:
Mon Dec 04, 2023 2:11 pm
Is installing linux-odroid-5422-next enough to test out the kernel without having to reflash?

Also, is Odroid going to try mainline the 6.1 kernel changes upstream?
No, please reflash to make sure it will all work correctly, or flash another microsd/eMMC just to be sure.
There are way too many changes between amlogic 4.9 and upstream 6.1
(Small stuff, like audio, device names, etc) and those can cause a issue.

At this moment, no, since there are still way too many bits missing.
Cool, thanks for the info! Does the 6.1 image work on XU3-Lite as well as XU4?

mdrjr
Site Admin
Posts: 12093
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 8 times
Been thanked: 151 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by mdrjr »

AlexDeLorenzo.dev wrote:
Tue Dec 05, 2023 8:20 am
mdrjr wrote:
Mon Dec 04, 2023 10:55 pm
AlexDeLorenzo.dev wrote:
Mon Dec 04, 2023 2:11 pm
Is installing linux-odroid-5422-next enough to test out the kernel without having to reflash?

Also, is Odroid going to try mainline the 6.1 kernel changes upstream?
No, please reflash to make sure it will all work correctly, or flash another microsd/eMMC just to be sure.
There are way too many changes between amlogic 4.9 and upstream 6.1
(Small stuff, like audio, device names, etc) and those can cause a issue.

At this moment, no, since there are still way too many bits missing.
Cool, thanks for the info! Does the 6.1 image work on XU3-Lite as well as XU4?
Yes, it should work with all products with Exynos 5422

AlexDeLorenzo.dev
Posts: 7
Joined: Mon Dec 04, 2023 2:03 pm
languages_spoken: english
ODROIDs: XU4, XU3-Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by AlexDeLorenzo.dev »

mzubaidi wrote:
Sun Oct 22, 2023 11:21 am
this doesn't boot on XU3 circa 2014
Got my XU3-Lite to boot to login via UART, but the 6.1 minimal image refuses to connect to, and have SSH listen on, the LAN. LAN port doesn't even light up.
mdrjr wrote:
Tue Dec 05, 2023 8:42 am
Yes, it should work with all products with Exynos 5422
Awesome. Impressive that these boards are still receiving updates, many ARM SoCs get abandoned by their manufacturers.

mdrjr
Site Admin
Posts: 12093
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 8 times
Been thanked: 151 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by mdrjr »

AlexDeLorenzo.dev wrote:
Thu Dec 07, 2023 11:42 am
mzubaidi wrote:
Sun Oct 22, 2023 11:21 am
this doesn't boot on XU3 circa 2014
Got my XU3-Lite to boot to login via UART, but the 6.1 minimal image refuses to connect to, and have SSH listen on, the LAN. LAN port doesn't even light up.
mdrjr wrote:
Tue Dec 05, 2023 8:42 am
Yes, it should work with all products with Exynos 5422
Awesome. Impressive that these boards are still receiving updates, many ARM SoCs get abandoned by their manufacturers.
Can you post the whole boot log? From.power on to console ?

User avatar
mad_ady
Posts: 11937
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, N2L, H2, H3+, Go, Go Advance, M1, M1S
Location: Bucharest, Romania
Has thanked: 662 times
Been thanked: 1256 times
Contact:

Re: Call for test the XU4 Linux Kernel 6.1 LTS

Post by mad_ady »

I remember that xu3 has a 100Mbps nic and a different driver. What does ip addr show show?

Post Reply

Return to “Linux Kernel 6.1 Development Party”

Who is online

Users browsing this forum: No registered users and 1 guest