Thanks to Stephen’s advise , I’ve managed to get access to U-Boot command line.
I have enabled the gpio command (CONFIG_CMD_GPIO=y) in the U-Boot configuration.
I have enabled the used gpios in the /arch/arm/dts/rk3399pro-rockpi-n10-linux.dts
&gpio0 {
status = "okay";
};
&gpio1 {
status = "okay";
};
&gpio2 {
status = "okay";
};
However, I still can’t access GPIOs from U-Boot.
gpio status -a
returns empty line.
TIA & Regards,
Wojtek