BeagleY-AI build kernel modules - how?

Hi all,

I have to rebuild one IMU device driver and also add a new driver to the BeagleY-AI. How can I do that? I tried to find a debian source package for the kernel “” but found none.

Is there a way just to (re)build single, local kernel modules for which I have the sources given a currently installed kernel or do I really have to rebuild and replace the whole kernel?


At The Kernel — BeagleBoard Documentation I find this:

When compiling on the Bone, all you need to do is load the Kernel Headers for the version of the kernel you’re running:

bone$ sudo apt install linux-headers-$(uname -r)

Does this also apply to BeagleY-AI?

Correct, or use the kernel module thru CONFIG_KHEADERS which is enabled…