First of all, I would like to mention that I have been reading many topics to see if any answer could fit my needs, wich is not the case.
I successfully changed the pinmux of my Jetson Nano and the GPIO I needed (62 and 63) where perfectly modified when I booted the device.
Then I did the basic commands :
sudo apt update
sudo apt upgrade
Upgrading the system causes the kernel and the DTS to be patched, and it goes back to the default configuration.
I checked the upgradable packages before upgrading the system and I saw these 3 packages :
So I marked them as “hold” with the following command : sudo apt-mark hold nvidia-l4t-kernel
Then the DTB were the modified ones but I guess it’s not enough since my GPIOs went back to the default state and my changes are not applied anymore.
I read that this configuration is done in Cboot process and not in the kernel (which I don’t really understand). So my question is, how is it possible to update the pinmux after any upgrade of the system ? I tried to flash the DTB only with the command : sudo ./flash.sh -k DTB jetson-nano-emmc mmcblk0p1. Sadly it’s not working so I guess this command is not updating the Cboot part.
I’m using the L4T 32.4.4 version so I’m not supposed to modify U-boot anymore to get the job done for pinmux configuration.
Am I missing something on the pinmux modification ? Or do I just need to hold more packages (not sure wich ones)?
Thanks in advance for the help