Kenrel headers for /5.15.147 to install wireguard

Hi all,
I have installed the image from https://github.com/radxa-build/radxa-cubie-a5e/tags and it is working fine from SSD, the problem is that I want to install wrireguard on it and the module isn’t there, the kernel headers are not there either.
where can I find the package with the kernel headers ?

root@cubie-a5e:/tmp# modprobe wireguard
modprobe: FATAL: Module wireguard not found in directory /lib/modules/5.15.147

Anyone has the wireguard module to share ?

Thanks

Hey @aleroot,
Were you able to boot from NVMe using the radxa-build images? If so, could you please share what you flashed to the NOR chip?

Regarding the kernel module, you’ll need to either compile it yourself using the Tina SDK or use the pre-compiled ones available here.

@Ali thanks for the link, at the end I have just finished compile all the modules and they are all working now.

I had flashed this one.

Thanks

Perfect, yes this image works for me as well. However, I’m experiencing some strange issues with reboot/shutdown. Based on the logs, it seems to be a kernel-related problem, and I’ve noticed two possible causes: Wi-Fi module issues and a watchdog timer 10-minute timeout.
Although the Wi-Fi was functioning normally, I tried blacklisting it just in case. No luck. I also reduced the timeout value to fit within the register range; this fixed the red error, but I still can’t reboot or shut down.

I’m not very knowledgeable in this area. Do you have any suggestions?

I have noticed the issue as well and I think the cause of this issue may be a bug within the rtw89 Linux kernel driver for the onboard Realtek RTL8852BE Wi-Fi 6 module. I haven’t tried anything but probably updating this could help resolve the issue. In case you fix it let me know, thanks.

The only related wifi kernel module I could find were
aic8800_bsp aic8800_fdrv aic8800_btlpm
blocking them didn’t help me solving the issue, so probably we should have some other issues…

@ali you are right. Looking at the dmesg I can see there are many issues with power regulators and other stuff, I think the Device Tree (DTS) would need to be upgraded for the power management IC (AXP2101/AXP2202).

1 Like

For anyone reading this in the future: I tested this release (maybe ther’re newer versions with reading this comment) and it boots perfectly from NVMe without any issues. I used rsetup to write the bootloader into the SPI NOR and dd to write to the NVMe. remove the SD card and enjoy booting from NVMe.

1 Like