I am using colibri imx7d 1gb version with colibri evaluation board.
I was just testing out the gpio.
I want to set SODIMM 102 as high.
So i did the following things. But value is not setting high at all.
I did try with other gpio, but value remain 0.
root@colibri-imx7-emmc:/sys/class/gpio# uname -a
Linux colibri-imx7-emmc 4.1.44-2.7.4+gb1555bf #1 SMP Wed Oct 4 21:39:05 UTC 2017 armv7l GNU/Linux
root@colibri-imx7-emmc:/sys/class/gpio# echo 145 > export
root@colibri-imx7-emmc:/sys/class/gpio# ls
export gpio145 gpio42 gpiochip0 gpiochip128 gpiochip160 gpiochip192 gpiochip32 gpiochip64 gpiochip96 unexport
root@colibri-imx7-emmc:/sys/class/gpio# cd gpio145
root@colibri-imx7-emmc:/sys/class/gpio/gpio145# cat value
0
root@colibri-imx7-emmc:/sys/class/gpio/gpio145# cat direction
in
root@colibri-imx7-emmc:/sys/class/gpio/gpio145# echo "out" > direction
root@colibri-imx7-emmc:/sys/class/gpio/gpio145# cat direction
out
root@colibri-imx7-emmc:/sys/class/gpio/gpio145# echo 1 > value
root@colibri-imx7-emmc:/sys/class/gpio/gpio145# cat value
0
root@colibri-imx7:/sys/class/gpio# echo 145 > export
root@colibri-imx7:/sys/class/gpio# cd gpio145
root@colibri-imx7:/sys/class/gpio/gpio145# cat value
0
root@colibri-imx7:/sys/class/gpio/gpio145# cat direction
in
root@colibri-imx7:/sys/class/gpio/gpio145# echo "out" > direction
root@colibri-imx7:/sys/class/gpio/gpio145# echo 1 > value
root@colibri-imx7:/sys/class/gpio/gpio145# cat direction
out
root@colibri-imx7:/sys/class/gpio/gpio145# cat value
1
Do you have other modifications in the device tree? What carrier board are you using? Are you sure the pin is not tied to GND?