I used the L4T 32.6 on my Xavier AGX before and the following controlled GPIO pin Q2 perfectly fine:
> echo "420" > /sys/class/gpio/export > cat /sys/class/gpio/gpio420/direction in
This did not work on L4T35.1.0 anymore and so i read a lot and found out that the “gpio base number” has changed from 288 to 305, so after recalculating everything ill tried
> echo "437" > /sys/class/gpio/export > cat /sys/class/gpio/PQ.02/direction in
Which is probably what i should do now. Unfortunately i have to use a propritary, pre-compiled library which has the old behavior hard-coded.
- Is it possible (and how) to set the “GPIO base number” from 305 back to 288 (e.g. via kernel-patch or devicetree change)
- Is it possible (and how) to get the old folder-names back when exporting a GPIO (
PQ.02has to be