Guilherme Posted Wednesday at 12:46 AM Posted Wednesday at 12:46 AM I need to compile a driver on the raspberry my kernel is 6.6.78-current-bcm2711 I need to download linux-headers-6.6.78 can someone help 0 Quote
Werner Posted Wednesday at 03:39 AM Posted Wednesday at 03:39 AM apt-cache search linux-headers If not there, use the build framework to create your own set of kernel packages including headers: https://docs.armbian.com/Developer-Guide_Build-Preparation/ 0 Quote
Igor Posted Wednesday at 05:53 AM Posted Wednesday at 05:53 AM 5 hours ago, Guilherme said: 6.6.78-current-bcm2711 I need to download linux-headers-6.6.78 can someone help https://netcup-03.armbian.com/apt/pool/main/l/linux-headers-legacy-bcm2711/ Try with: sudo apt install linux-headers-legacy-bcm2711 0 Quote
Guilherme Posted Wednesday at 12:14 PM Author Posted Wednesday at 12:14 PM I've tried this one and it didn't work because it returns saying that it's legacy and it didn't work see /home/custela/uv4l2# insmod uv4l2.ko insmod: ERROR: could not insert module uv4l2.ko: Invalid module format /home/custela/uv4l2# dmesg [ 782.935603] uv4l2: disagrees about version of symbol module_layout /home/custela/uv4l2# modinfo uv4l2.ko filename: /home/custela/uv4l2/uv4l2.ko author: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> license: GPL srcversion: 8A60DC9287145B2DA7A51CE depends: videobuf2-v4l2,videodev,videobuf2-common,videobuf2-vmalloc name: uv4l2 vermagic: 6.6.78-legacy-bcm2711 SMP preempt mod_unload modversions aarch64 /home/custela/uv4l2# uname -r 6.6.78-current-bcm2711 /home/custela/uv4l2# 0 Quote
Werner Posted Wednesday at 12:57 PM Posted Wednesday at 12:57 PM Ah. I guess at time of installation 6.6.y was current but since 6.12 is now available as new lts it has been moved to legacy. Therefore the name is different. Simplest to get matching packages is IMHO using the framework to create a set of packages and install them via dpkg. 0 Quote
Igor Posted 18 hours ago Posted 18 hours ago Yes, you need to install matching kernel and headers, otherwise it won't work. Remove CURRENT kernels by hand, install LEGACY and then proceed with headers installation. This will work. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.