Carrier board: our carrier board
We got some issues about gpio setting.
I want to change the default status of some gpio pins below into default output high from u-boot
I downloaded the TX2-NX u-boot source code ,changed some setting in pxe_utils.c
pxe_utils.c (31.3 KB)
After I flashed my u-boot, I used putty catch the boot log to verified my changed.
It changed the gpio status correctly into output-high and I use command
echo 394 > ./export
The direction is out-put high, but the status I measured by using multimeter is Not high.
So I do some command as bellow
echo in > ./gpio394/direction
echo out > ./gpio394/direction
echo 0 > ./gpio394/value
echo 1 > ./gpio394/value
This time the LED light I connected on this gpio had light up, and the status I measured by using multimeter is correctly high.
My question are
1.How to change the TX2-NX gpio status in u-boot and how this problem appeared like I written above?
2.How to change the TX2-NX gpio status in dts-file?
Both of two problems does not appear on Nano and Xavier-NX module.
If you have any idea about my question, please contact me thanks.