Newer kernel than 5.4.61+?

Hi,

anyone managed to run branch at least 5.10.x?
i need to have wireguard installed which is not the case with current version where i can’t get my hands on kernel headers and get around dkms.

I’ve also found here on forum some mentions about smauel’s 6.1 but haven’t found any links or other resouces, where should i look?

https://forum.clockworkpi.com/t/bookworm-6-6-31-for-the-uconsole-and-devterm/

Uhhh, I’m sure that’s a CM4 build. OP’s looking for an R-01 (RISC-V) build.

1 Like

indeed, we’re talking about RISC-V kernel, not the ARM one. this is the point where i am usually getting blocked xD. i’ve seen topic Upstream R01 kernel but besies that i have a feeling we’re tied to whatever patches Allwinner decides to release. Which sucks. I am not an bleeding edge’r, but years spent on Gentoo taught me a lesson ;p. Especially when R01 has 1G of ram - every optimization counts. Not to mention that wireguard is as essential for me as nano is for ubuntu’ers

Currently using sameul’s 5.9 linux and u-boot is probably your best option, in case you want to give it a shot. You’ll need to port the display driver and add a few hacks though. I think there must have been someone done this and failed in the forum.

Due to a platform limit, the devicetree must be provided by platform firmware(u-boot etc.) so the memory information is correctly reflected. That means you cannot simply boot latest linux with dtbs shipped along. Both u-boot and linux must be updated/modded simultaneously.

I couldn’t get latest mainline linux boot with one of my D1 board, not R01 though. It’s stuck, and not showing any relevant debug message. So I gave up.

Could you point me to said 5.9? Hope sources/ headers are available because in case of wireguard there’s still need to compile kernel module against running kernel and headers are needed for that matter.

As for DT - i tought initially to simply reuse existing blob or in worst case scenario decompile blob to source and back to blob.
Surely i won’t get away with gpio breakout because UART and reset signal are crucial for that matter.

Oops, my memory was wrong. It’s 5.19. Here’s the github link. You can try the 6.1 one as well(branch d1/wip).

1 Like