gkkpch Posted October 17, 2022 Posted October 17, 2022 Hi, We're swapping the Khadas Fenix 4.9 and uboot v2015-01?? for the Armbian 5.10.y and corresponding mainline u-boot. In the "legacy" version we were able to use the u-boot script (then a dedicated boot.ini) for setting a gpio pin low like this gpio clear GPIOH_4 Unfortunately Armbian's mainline u-boot version does not recognize GPIOH_4 as a valid gpio pin name. Anyone able to help? Did the naming change? Gé 0 Quote
gkkpch Posted October 18, 2022 Author Posted October 18, 2022 Additional information: Old u-boot is Khadas version "2015.01-geddbbf5", generated from Khadas Fenix New u-boot is Armbian version "2022.01-armbian" Error messages when issuing "gpio clear GPIOH_4" "GPIO: 'GPIOH_4' not found" "Command 'gpio' failed: Error -22" I do realise, that this was implemented in a different way with the legacy u-boot, I just wonder why it does not work with mainline. From the include files in include/dt-bindings/gpio it seems that GPIOH_4 has been defined. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.