I am trying to toggle GPIOs in J30. I am okay to use any GPIO listed below. Earlier I use /sys/class/gpio but looks like that has been removed now we should use libgpiod library (General Purpose Input Output Daemon) for GPIO operations
I tried turning ON multiple pins to output high. But none worked. For example, for GPIO35 as per Orin_Jetson_Series_Pinmux_Config_Template_2.0.xlsm pin is GPIO3_PH.00, I used,
gpioset gpiochip0 43=1
But nothing is reflecting in output.
When I searched Nvidia forum, many are saying to generate the DTSIfile from excel and add it to Linux? Since, I am using un-modifed DEV Kit it should work out of the box right?
Once you applied the desired customizations, create the dtsi files.
Then copy the pinmux.dtsi file to <l4t_top>/bootloader/generic/BCT/ directory and the gpio.dtsi file to <l4t_top>/bootloader/ directory.
After copying the files, update the PINMUX_CONFIG variable over the p3701.conf.common file that is located at <l4t_top> directory with the name of the pinmux dtsi file that was copied to <l4t_top>/bootloader/generic/BCT/ directory.
Flash your device with the flash.sh script that is located at the <l4t_top> directory.
Please, after performing these steps, save the flashing output log on a file and verify that the pinmux file mentioned on the log matches your custom pinmux dtsi file.