nerves-project / nerves_system_bbb

Base Nerves system configuration for the BeagleBone-based boards
Apache License 2.0
36 stars 39 forks source link

Revert Linux kernel to 5.10.100 and upgrade to 5.10.120 #267

Closed fhunleth closed 2 years ago

fhunleth commented 2 years ago

The update to Linux 5.15 rotated the "gpiochip" numbering. 0->4, 1->0, 2->1, 3-2. On devices with labelled GPIOs, this looks like it could be figured out automatically. However, there are lots of hardcoded GPIO numberings and this breaks those whether they're using sysfs's GPIO interface or cdev.

Also, from looking at the Beaglebone's Linux repositories for Debian, it looks like they haven't upgraded to Linux 5.15.

Fixes #266