How to update the Kernel?

Post Reply
DarthKeizer
Posts: 10
Joined: Fri Jul 15, 2022 6:57 pm
languages_spoken: english
ODROIDs: ODROID-C4
Has thanked: 3 times
Been thanked: 0
Contact:

How to update the Kernel?

Post by DarthKeizer »

Hi guys,
I have tried everything i know of:
  • Update the repo to jammy and update full-upgrade
  • sudo ubuntu-mainline-kernel.sh -i , this script iver tried
  • apt-cache search linux-image and installing the latest from there.
screenshot below:

Image

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

Re: How to update the Kernel?

Post by odroid »

Our latest official Kernel version is the same 4.9.312 as you found to support the GPU & VPU HW acceleration.
https://wiki.odroid.com/odroid-c4/os_im ... l/20220705

If you don't need the HW VPU (4K video playback) acceleration, freshly flash @tobetter's Ubuntu 22.04 image which supports the upstream Kernel 5.18 since Kernel updating path from 4.9 to 5.1x is not available.
viewtopic.php?f=52&t=44177
These users thanked the author odroid for the post:
DarthKeizer (Wed Jul 20, 2022 2:58 am)

DarthKeizer
Posts: 10
Joined: Fri Jul 15, 2022 6:57 pm
languages_spoken: english
ODROIDs: ODROID-C4
Has thanked: 3 times
Been thanked: 0
Contact:

Re: How to update the Kernel?

Post by DarthKeizer »

odroid wrote:
Mon Jul 18, 2022 10:22 am
Our latest official Kernel version is the same 4.9.312 as you found to support the GPU & VPU HW acceleration.
https://wiki.odroid.com/odroid-c4/os_im ... l/20220705

If you don't need the HW VPU (4K video playback) acceleration, freshly flash @tobetter's Ubuntu 22.04 image which supports the upstream Kernel 5.18 since Kernel updating path from 4.9 to 5.1x is not available.
viewtopic.php?f=52&t=44177
Okay so just download the 22.04 and flash it and im good to go?

DarthKeizer
Posts: 10
Joined: Fri Jul 15, 2022 6:57 pm
languages_spoken: english
ODROIDs: ODROID-C4
Has thanked: 3 times
Been thanked: 0
Contact:

Re: How to update the Kernel?

Post by DarthKeizer »

odroid wrote:
Mon Jul 18, 2022 10:22 am
Our latest official Kernel version is the same 4.9.312 as you found to support the GPU & VPU HW acceleration.
https://wiki.odroid.com/odroid-c4/os_im ... l/20220705

If you don't need the HW VPU (4K video playback) acceleration, freshly flash @tobetter's Ubuntu 22.04 image which supports the upstream Kernel 5.18 since Kernel updating path from 4.9 to 5.1x is not available.
viewtopic.php?f=52&t=44177
How can I upgrade to 22.04 from my 20.04 build?

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

Re: How to update the Kernel?

Post by mad_ady »

You can do sudo do-release-upgrade -d, but you may need to manually re-enable hardkernel's repos after the upgrade.
These users thanked the author mad_ady for the post:
DarthKeizer (Wed Jul 20, 2022 10:30 pm)

DarthKeizer
Posts: 10
Joined: Fri Jul 15, 2022 6:57 pm
languages_spoken: english
ODROIDs: ODROID-C4
Has thanked: 3 times
Been thanked: 0
Contact:

Re: How to update the Kernel?

Post by DarthKeizer »

mad_ady wrote:
Wed Jul 20, 2022 4:14 am
You can do sudo do-release-upgrade -d, but you may need to manually re-enable hardkernel's repos after the upgrade.
Thanks, sorry for being such a noob!. Where are those repos located at, so i can copy and paste?

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

Re: How to update the Kernel?

Post by mad_ady »

After the upgrade you'll need to update the files in /etc/apt/sources.list.d/*. Uncomment the lines containing "jammy" and run sudo apt-get update; sudo apt-get dist-upgrade to finish.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests