So I needed to update my pinmux to enable I2S3 but it doesn’t seem to work. First of all, the pin states are incorrect when I export GPIO in user space (direction)
Here are the steps I did:
Backup my existing system.img via
sudo ./flash.sh -r -k APP -G backup.img jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
Exported .dtsi from Excel Pinmux (obviously I enabled I2S3 in the Excel, it was GPIO before) and made .cfg file via
Moved my backup to bootloader as system.img
mv backup.img.raw bootloader/system.img
Moved .cfg file to BCT folder and flashed the whole Jetson TX2NX
sudo ./flash.sh -r -k APP jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
After the flash there were stock kernel and stock DTB, so I used
flash.shscript to flash them one by one.
sudo ./flash.sh -r -k kernel -K kernel/Image jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
sudo ./flash.sh -r -k kernel-dtb -d kernel/dtb/tegra186-p3636-0001-p3509-0000-a01.dtb jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
So if I export the GPIO, which I know, should have direction output. cat /sys/class/gpio/gpio417/direction says it’s
What am I doing wrong here? I am not overriding any of those pins in DTS.