uboot : gpio value

edited October 2019 in AML-S805X-AC
i'm tring to acces gpios value in uboot without succes

=> gpio status -a
Bank aobus-banks:
aobus-banks0: input: 0 [ ]
aobus-banks1: input: 1 [ ]
aobus-banks2: input: 1 [ ]
aobus-banks3: input: 1 [ ]
aobus-banks4: input: 1 [ ]
aobus-banks5: input: 1 [ ]
aobus-banks6: input: 1 [ ]
aobus-banks7: input: 1 [ ]
aobus-banks8: input: 1 [ ]
aobus-banks9: input: 1 [ ]
Error -22
Bank periphs-banks:
periphs-banks0: input: 1 [ ]
periphs-banks1: input: 1 [ ]
periphs-banks2: input: 1 [ ]
periphs-banks3: input: 1 [ ]
periphs-banks4: input: 1 [ ]
periphs-banks5: input: 1 [ ]
periphs-banks6: input: 1 [ ]
periphs-banks7: input: 1 [ ]
periphs-banks8: input: 1 [ ]
periphs-banks9: input: 1 [ ]
periphs-banks10: input: 1 [ ]
periphs-banks11: input: 1 [ ]
periphs-banks12: input: 1 [ ]
periphs-banks13: input: 1 [ ]
periphs-banks14: input: 1 [ ]
periphs-banks15: input: 1 [ ]
periphs-banks16: input: 0 [ ]
periphs-banks17: input: 1 [ ]
periphs-banks18: input: 1 [ ]
periphs-banks19: input: 0 [ ]
periphs-banks20: input: 1 [ ]
periphs-banks21: input: 0 [ ]
periphs-banks22: input: 1 [ ]
periphs-banks23: input: 1 [ ]
periphs-banks24: input: 1 [ ]
periphs-banks25: input: 1 [ ]
periphs-banks26: input: 1 [ ]
periphs-banks27: input: 1 [ ]
periphs-banks28: input: 1 [ ]
periphs-banks29: input: 1 [ ]
periphs-banks30: input: 1 [ ]
periphs-banks31: input: 1 [ ]
periphs-banks32: input: 1 [ ]
periphs-banks33: input: 1 [ ]
periphs-banks34: input: 0 [ ]
periphs-banks35: input: 1 [ ]
periphs-banks36: input: 1 [ ]
periphs-banks37: input: 0 [ ]
periphs-banks38: input: 0 [ ]
periphs-banks39: input: 0 [ ]
periphs-banks40: input: 1 [ ]
periphs-banks41: input: 1 [ ]
periphs-banks42: input: 1 [ ]
periphs-banks43: input: 1 [ ]
periphs-banks44: input: 1 [ ]
periphs-banks45: input: 1 [ ]
periphs-banks46: input: 1 [ ]
periphs-banks47: input: 1 [ ]
periphs-banks48: input: 1 [ ]
periphs-banks49: input: 1 [ ]
periphs-banks50: input: 1 [ ]
periphs-banks51: input: 1 [ ]
periphs-banks52: input: 1 [ ]
periphs-banks53: input: 1 [ ]
periphs-banks54: input: 1 [ ]
periphs-banks55: input: 1 [ ]
periphs-banks56: input: 1 [ ]
periphs-banks57: input: 1 [ ]
periphs-banks58: input: 1 [ ]
periphs-banks59: input: 1 [ ]
periphs-banks60: input: 1 [ ]
periphs-banks61: input: 1 [ ]
periphs-banks62: input: 1 [ ]
periphs-banks63: input: 1 [ ]
periphs-banks64: input: 1 [ ]
periphs-banks65: input: 1 [ ]
periphs-banks66: input: 1 [ ]
periphs-banks67: input: 1 [ ]
periphs-banks68: input: 1 [ ]
periphs-banks69: input: 1 [ ]
periphs-banks70: input: 1 [ ]
periphs-banks71: input: 1 [ ]
periphs-banks72: input: 1 [ ]
periphs-banks73: input: 1 [ ]
periphs-banks74: input: 1 [ ]
periphs-banks75: input: 1 [ ]
periphs-banks76: input: 1 [ ]
periphs-banks77: input: 0 [ ]
periphs-banks78: input: 1 [ ]
periphs-banks79: input: 1 [ ]
periphs-banks80: input: 1 [ ]
periphs-banks81: input: 1 [ ]
periphs-banks82: input: 1 [ ]
periphs-banks83: input: 1 [ ]
periphs-banks84: input: 1 [ ]
periphs-banks85: input: 0 [ ]
periphs-banks86: input: 1 [ ]
periphs-banks87: input: 1 [ ]
periphs-banks88: input: 1 [ ]
periphs-banks89: input: 1 [ ]
periphs-banks90: input: 1 [ ]
periphs-banks91: input: 1 [ ]
periphs-banks92: input: 1 [ ]
periphs-banks93: input: 1 [ ]
periphs-banks94: input: 1 [ ]
periphs-banks95: input: 1 [ ]
periphs-banks96: input: 0 [ ]
periphs-banks97: input: 1 [ ]
periphs-banks98: input: 0 [ ]
periphs-banks99: input: 0 [ ]

How can i read input gpio value ? 
I want to check one pin to start or not  eMMC USB Drive Mode
Sign In or Register to comment.