gkkpch
October 20, 2022, 2:57pm
#1
Which Khadas SBC do you use?
VIM3L
Which system do you use? Android, Ubuntu, OOWOW or others?
self built
Problem
With u-boot version 2015.01-geddbbf5. I used a “gpio clear” command to set GPIOH_4 low.
With mainline u-boot version v2021.04 this does not work, see below.
Both versions were generated with Fenix.
Mainline error:
gpio clear GPIOH_4
GPIO: 'GPIOH_4' not found"
Command 'gpio' failed: Error -22"
Btw. this did not work with Armbian’s mainline u-boot either.
Is there an alternative way to set GPIOH_4 low?
Thanks,
Gé
numbqq
October 21, 2022, 1:45pm
#2
Hello @gkkpch
We will check and update here next week.
gkkpch
October 31, 2022, 3:19pm
#3
Any update for this issue yet?
numbqq
November 1, 2022, 12:54am
#4
Hello @gkkpch
@Frank will follow up and feedback here.
gkkpch
December 9, 2022, 8:23pm
#5
Still waiting
But, could this also be achieved with a dt overlay?
numbqq
December 10, 2022, 8:12am
#6
Hello @gkkpch
Sorry, we will double check next week.
Frank
December 12, 2022, 3:01am
#7
@gkkpch
GPIOH_4 in mainline is gpio20
=> gpio set 20 1
gpio: pin 20 (gpio 20) value is 1
1 Like
gkkpch
December 12, 2022, 8:15am
#8
Thanks for this! I can now finish the part.