I’m looking to build an image for duo256m that uses a newer kernel. I understand that not everything functions on the new kernel, but I still want to try the latest support as documented here: Home · sophgo/linux Wiki · GitHub .
Eventually I would try to build a ubuntu distro with a newer kernel. My limited understanding is that I should tell the duo-buildroot-sdk v2 to use a newer kernel source when compiling the kernel. I would really appreciate anyone’s guidance on this step.
I’ve used Debian 13 on NFS root for testing, and OpenWRT on mainline Linux kernel (6.6 and 6.12). It makes development much quicker to load kernel and root filesystem over NFS, not SD. This is especially true when experimenting with customer kernels.
I’ve gotten mainline to boot but only with the device tree from the buildroot sdk v2 and it doesnt find the SD card. Separately I have gotten a bootstrapped debian booted using the 2.0.1 FIT image with the 5.10 kernel. It required adding CONFIG_CGROUPS=y and CONFIG_AUTOFS4_FS=y to the kernel compile options but I believe that should also cover the Ubuntu use case as it is built on Debian.
Thank you all for the inputs! Seems that a newer kernel is possible but I should definitely get a deeper understanding of the migration work remaining.
Also indeed, I don’t need to use Ubuntu, debian is perfectly fine.