Enable pwm gpio - #10238
#10238Conversation
📝 WalkthroughWalkthroughBoth BCM2711 kernel configurations now build the GPIO-based PWM driver as a loadable kernel module. ChangesGPIO PWM kernel configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
One thing I have to mention, which is not related to my changes or the goal of this PR, is that my package built using the following command, did not install cleanly.
The output looked like this: Problem is, that the kernel image is not called /boot/vmlinuz-7.1.3-edge-bcm2711 but instead /boot/vmlinux-7.1.3-edge-bcm2711. After renaming the file and re-running I did not investigate why this is happening, could well be a problem with my build system or my Armbian setup, but I am very sure it's not related to me enabling this one Kernel module. |
|
✅ This PR has been reviewed and approved — all set for merge! |
|
The name is decided by the build environment, not kbuild itself: @igorpecovnik — is this worth fixing? |
Low priority, but yes. |
Looking at my build system, I'm not sure if i'm understanding this correctly. It's an up-to-date Debian 13, I am using an account with sudo permissions, Docker is not installed, |
Description
As part of #9267 the build of pwm-gpio.ko was disabled. It's enabled by default by the Raspberry Pi Foundation Kernel and it is needed to use gpio-fan.ko, which is how I discovered it's missing. It was enabled in the Armbian Kernels up to 6.12.x (currently still available as "legacy"). However, in current and edge it's missing. This minor change enables it.
How Has This Been Tested?
Checklist:
Summary by CodeRabbit