Sorry for my simple question but the problem is very basic, also I didn’t solve it for a day.
I cannot use gpio to blink a led. I tried to use GPIO Tool but not succeed, and also tried to open via console as described at websites but I could not solved the issue.
I realized the problem is the pin numbers. in board I am using x27.21 GND and x27.18 for GPIO6,
echo 6 > /sys/class/gpio/export
echo “out” > /sys/class/gpio/gpio6/direction
echo 1 > /sys/class/gpio/gpio6/value
it now should make the led turn on bu it doesn’t !!!
when I type
- gpio-0 (usb_host_vbus ) out lo
- gpio-4 (Wake-Up ) in hi
- gpio-6 (sysfs ) out lo
- gpio-8 (sysfs ) out lo
- gpio-25 (phy-reset ) out lo
Please just give me an example to only turn on a led at this context with very basic.
my environment: SoC → apalis imx6 ; board → ixora carrier board