Hello
Our board:
root@verdin-imx8mp-15289951:~# cat /sys/devices/soc0/machine
Toradex Verdin iMX8M Plus on Verdin Development Board
We have some difficulties to set gpio.
With the torizon 6.8 minimal image everything works as expected:
root@verdin-imx8mp-15289951:~# uname -a
Linux verdin-imx8mp-15289951 6.1.142-6.8.3+git.7e69c33e4858 #1 SMP PREEMPT Fri Jun 27 10:07:41 UTC 2025 aarch64 GNU/Linux
gpioset gpiochip2 19=1
gives 1.8V on pin34 (SODIMM_34)
gpioset gpiochip2 19=0
gives 0.0V on pin34 (SODIMM_34)
gpioset gpiochip2 25=1
gives 1.8V on pin30 (SODIMM_30)
gpioset gpiochip2 25=0
gives 0.0V on pin30 (SODIMM_30)
With the Torizon 7.3 minimal image, all this no longer works and we don’t know why:
root@verdin-imx8mp-15289951:~# uname -a
Linux verdin-imx8mp-15289951 6.6.94-7.3.0 #1 SMP PREEMPT Wed Jun 25 09:14:55 UTC 2025 aarch64 GNU/Linux
First of all, the gpiochip must be selected with -c in gpioset, if not here is an error:
gpioset gpiochip2 19=1
invalid line value: ‘gpiochip2’
Is this normal?
Secondly, the gpios cannot be set:
pkill gpioset;gpioset -zc gpiochip2 19=1
gives 0.6V on pin34 (SODIMM_34)
pkill gpioset;gpioset -zc gpiochip2 19=0
gives 0.6V on pin34 (SODIMM_34)
pkill gpioset;gpioset -zc gpiochip2 25=1
gives 1.8V on pin30 (SODIMM_30)
pkill gpioset;gpioset -zc gpiochip2 25=0
gives 1.8V on pin30 (SODIMM_30)
But with gpioinfo it looks good:
gpioinfo | grep -i sodimm_34
line 19: “SODIMM_34” output
gpioinfo | grep -i sodimm_30
line 25: “SODIMM_30” output
We don’t know how to proceed at the moment and would be glad of any advice.
Best regards
René