xilinx uboot gpio ctrl

张鹏 sd20 at qxwlan.com
Thu Jun 30 02:36:06 CEST 2022


Hi,
    https://github.com/Xilinx/u-boot-xlnx



My device is ad9361+7z035,when I tested the led, I found that the gpio pin value cannot be changed.


leds(gpio) : 58 59 60 61 (Works no problem in linux system) 

cmd:
  gpio s 58   
  gpio: pin 58 (gpio 58) value is 1
   Warning: value of pin is still 0

 gpio status -a  58
   58: output: 0 [ ]



When using gpio command to set gpio58, its mode is changed from input to output, but the pin value is always 0.















More information about the U-Boot mailing list