How to compile with kernel 6.1? (noob question)

Hi.
ipq40xx and x86 targets have recently reached kernel 6.1 testing. I'd like to give it a try and compile images.
I have installed a building system and I know how to compile. Nevertheless I don't know where to select kernel 6.1 instead of 5.15. Can someone kindly give me a clue? Is is an option somewhere in kernel_menuconfig that I missed, or some config file to edit manually?

Search the forum for 6.1 kernel.

You have to enable "testing kernel" in the normal menuconfig.

CONFIG_TESTING_KERNEL=y

It is under "Global build settings" -> "Use the testing kernel version"

3 Likes

Found. I was looking for something like this. I knew I missed something that simple. I can see kernel 6.1 in kernel_menuconfig. I will compile this evening. Thank you.

Check your gcc version as well. I had to set it to gcc v13.x to get it to build.

I have already done some builds. I'm testing on x86: it boots. But I'm missing some parts, I'll improve in the next builds. This is just for testing/hobbying purpose.

EDIT : solved the issues, it was just some missing settings and modules. It works !