Kernel headers for raspbian 5.15.30 / bullseye?

Not a linux expert.  Struggling to build wifi driver for Rpi 2.  
Updated everything.  Running: 
> Linux raspberrypi 5.15.30-v7+ #1536 SMP Mon Mar 28 13:43:34 BST 2022 armv7l GNU/Linux
Which corresponds to bullseye debian release?
I can only find kernel headers for 5.10.103.  I linked to those from under the /usr/lib/modules/5.15.30* directories, and eventually got the driver to build for platform CONFIG_PLATFORM_ARM_RPI.  However, it fails at install time.
> pi@raspberrypi:~ $ sudo modprobe -a 88XXau
> modprobe: ERROR: could not insert '88XXau': Exec format error
I'm assuming it's built for the wrong arch,  or the 5.10 headers are incompatible with the 5.15 kernel? 
Help?
Thanks.
Tagged:

Comments

Sign In or Register to comment.