Install kernel 6.1.80 -> 6.6.56 issue

The kernel version of the device is installed as 6.1.80. I created an image by building openwrt 23.05 with kernel version 6.6.56, and attempted to upgrade using the image via luci. The booting was complete, but the network interface information disappeared, and when I checked, the version printed by uname -a was different from the version actually existing in /lib/modules/.

root@-:/# uname -a
Linux  6.1.80 #0 SMP PREEMPT Sat Oct 12 04:25:30 2024 aarch64 GNU/Linux

root@-:/# ls -al /lib/modules/
drwxr-xr-x    3 root     root            29 Mar 11 08:58 .
drwxr-xr-x   12 root     root           616 Mar 11 08:58 ..
drwxr-xr-x    2 root     root          4093 Mar 11 08:58 6.6.56

Is there any way to solve this?

Kernel 6.1 has never been released outside main snapshot and OpenWrt 23.05 have kernel 5.15. Kernel 6.6 was released with OpenWrt 24.10.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:

grafik

Remember to redact passwords, MAC addresses and any public IP addresses you may have:


ubus call system board
2 Likes

Openwrt does not support changing the kernel.
As OpenWrt is built to support many hardware architectures and is low-level hardware driver oriented, the system requires 100+ hardware related kernel patches, both for general Linux and possibly for the specific CPU target.

If you try to do major kernel upgrade over several major Linux versions, you will likely need to modify lots of patches and also lots of supporting drivers/daemons.

To put shortly, very likely you will not succeed in your endeavour.

4 Likes