About change gpio by change pinmuxfile

hi, I have some question to ask about I change the gpio,but now been effected

now, I want to change the direction of the gpio.

  1. I change the gpio01 from input to output,the chick the generate ,to create the dtsi ;
  2. I replace the two file such as flow

    3.I compile the dtb and move it to kernel path
  3. I flash it to the target board and load ok
    sudo ./flash.sh -r -k DTB jetson-nano-emmc mmcblk0p1
  4. reboot the board and I sight the gpio not been changed

hello anrui,

please check the device tree binary you’re flashed.
for example,

[ 260.8830 ] Writing partition DTB with tegra210-p3448-0000-p3449-0000-a02.dtb.encrypt
[ 260.9492 ] [................................................] 100%

then, please disassembler the dtb file into text file to review the settings,
for example, $ dtc -I dtb -O dts -o output.txt tegra210-p3448-0000-p3449-0000-a02.dtb
please share the GPIO3_PS.05 device tree configuration for reference,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.