Hi,
I’d like to build a kernel module on my zynthian (testing image). Is there a place where I can find current zynthian kernel headers (?Linux zynthian 5.15.70-v7l+ #1590 SMP Tue Sep 27 15:58:00 BST 2022 armv7l GNU/Linux)
Thanks.
Hi,
I’d like to build a kernel module on my zynthian (testing image). Is there a place where I can find current zynthian kernel headers (?Linux zynthian 5.15.70-v7l+ #1590 SMP Tue Sep 27 15:58:00 BST 2022 armv7l GNU/Linux)
Thanks.
apt install raspberrypi-kernel-headers
Thanks, that was my first try
But it seems that current image is running a custom kernel for zynthian, which is not the one provided by raspberry-pi-kernel-headers package.
root@zynthian:~# uname -a
Linux zynthian 5.15.70-v7l+ #1590 SMP Tue Sep 27 15:58:00 BST 2022 armv7l GNU/Linux
root@zynthian:~# dpkg -L raspberrypi-kernel-headers
/.
/lib
/lib/modules
/lib/modules/5.10.103+
/lib/modules/5.10.103-v7+
/lib/modules/5.10.103-v7l+
/usr
/usr/share
/usr/share/doc
/usr/share/doc/raspberrypi-kernel-headers
/usr/share/doc/raspberrypi-kernel-headers/changelog.Debian.gz
/usr/share/doc/raspberrypi-kernel-headers/copyright
/usr/src
/usr/src/linux-headers-5.10.103+
/usr/src/linux-headers-5.10.103+/.config
/usr/src/linux-headers-5.10.103+/Documentation
/usr/src/linux-headers-5.10.103+/Documentation/Kconfig
/usr/src/linux-headers-5.10.103+/Documentation/Makefile
...