How to set the GPIO after FLASH

Hi

I’m adjusting my device tree compiling only the DTB with the follow line, and adding in the extlinux.conf the line: FD /boot/mydtb.dtb

make -C kernel/kernel-4.9/ ARCH=arm64 O=TEGRA_KERNEL_OUT LOCALVERSION=-tegra CROSS_COMPILE={TOOLCHAIN_PREFIX} -j8 --output-sync=target dtbs

But now the problem is that I need to set a GPIO12 as output. with Jetson NANO, modifying the file tegra210-porg-gpio-p3448-0002-b00 was enough.

But is not working.

I want to know how to modify the PINMUX and put it inside the DTB or operating system uploading by SSH the dtb or config. without a USB cable.

hello BARO,

please refer to Pinmux and GPIO Configuration, it’s pinmux configuration that you’ll need to flash board configuration file.
however,
please check developer guide, Configuring the 40-Pin Expansion Header.
you may use the Jetson-IO python tool to simplify the pinmux configuration.
thanks