(unknown)
Syed Kumail Hussain Sherazi <[email protected]> Tue, 27 Jan 2026 14:22:35 +0500
| Newsgroups | gmane.linux.kernel.kernelnewbies |
|---|---|
| Message-ID | <[email protected]> |
Hi everyone,
I'm working on a simple kernel module to get an idea of platform
drivers and devices. I created a
dtbo for my board (Beaglebone Black) and loaded it. When I install
my kernel module with insmod I
get an error from the pinmuxing driver. Here is the relevant dmesg
output:
[10971.691781] gpio_platform_drv: loading out-of-tree module
taints kernel.
[10971.699577] pinctrl-single 44e10800.pinmux: Invalid number
of rows: 0
[10971.708571] pinctrl-single 44e10800.pinmux: no pins entries
for gpio-irq-pin
C code for the kernel module is at this link:
https://hastebin.com/share/ejimanodir.cpp
And the dtbo source is at this link:
https://hastebin.com/share/xasizepicu.javascript
I assume the issue is with the dtbo but I might be wrong. Any help
might be appreciated.
Thanks,
Syed Kumail