anrui
January 25, 2022, 8:37am
1
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.
I change the gpio01 from input to output,the chick the generate ,to create the dtsi ;
I replace the two file such as flow
3.I compile the dtb and move it to kernel path
I flash it to the target board and load ok
sudo ./flash.sh -r -k DTB jetson-nano-emmc mmcblk0p1
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,
thanks
system
Closed
February 23, 2022, 5:10am
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.