I need to set GPIO1 to GPIO10 and GPIO12 to be input ports, and GPIO11 and GPIO13 to be output ports. I have followed the link below, but these gpio ports did not change.
- Change Pinmux and generate DT files.
- Copied the dtsi file to source and build it.
- Copied the dtb file to the releases and full flash to Nano board.
The Nano board boot up fine. When I checked the GPIO pins using the following, for example:
echo 63 > /sys/class/gpio/export //since gpio5 is PH.07, from (7x8) +7 = 63
After read the “direction” file, it said output; the pinmux was set to input. Also, gpio 4, 6 and 8 port are not exportable, it said “busy…” Do I need to disable some nodes for all 13 ports to set correctly? Why are gpio3, 5 said output and gpio11 and gpio13 said input when I set them differently?
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/adaptation_and_bringup_nano.html#wwpID0E0EQ0HA.