-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bookworm kernel headers for camera driver kernel module #6326
Comments
simplified version linked here: |
@davidplowman any experience w this? thanks! |
Sorry, I'm afraid I don't know anything about this. Other folk who monitor these issues would know more. |
The rule is at https://github.com/raspberrypi/linux/blob/rpi-6.6.y/scripts/Makefile.lib#L429-L445 For some reason that doesn't appear to have been copied through to the version in /usr/lib/linux-kbuild-6.6.47+rpt/scripts, which is part of the package linux-kbuild-6.6.47+rpt and symlinked into /usr/src/linux-headers-6.6.47+rpt-rpi-[v8|2712]. @XECDesign how is linux-kbuild-6.6.47+rpt built, and is it sourcing a stock kernel tree rather than our tree? |
I suspect it's here somewhere, which runs without any rpi patches applied. So yeah, I think you've hit the nail on the head and it's a packaging issue. I'm not sure what the best way of fixing it is, but I'll give it a go. |
any quick workaround you can think of? |
I believe I have a fix which should be in the next apt kernel update. It also makes the |
LINK TO FORUM:
https://forums.raspberrypi.com/viewtopic.php?p=2248093#p2248093
for a custom camera driver I'm trying to build a dkms module.
For sake of simplicity, let's reproduce it with the imx219 driver.
basically I have a folder structure like this:
on older kernel versions, this command worked fine for me. (6.1.y headers + imx219.c from that kernel)
more info:
I'm using pi4b, 64bit, bookworm. kernel 6.6.31.
contents of the files:
Kbuild
The text was updated successfully, but these errors were encountered: