We have developed an IOT Expansion Card to expand I/O of FX30 (3G and 4G).
We encounter a problem that the gpio8 (GPIO_4 of IOT connector) is not longer available and can’t be created (via export).
How can we bring back the gpio8? (and other gpio of expansion card if they also changed).
FX30 Cat-M 9.1:
root@9.1:~# ls /sys/class/gpio/
export gpio22 gpio29 gpio38 gpio45 gpio48 gpio51 gpio54 gpio57 gpiochip0 gpiochip1018 gpiochip836 gpiochip932 unexport
gpio2 gpio24 gpio32 gpio43 gpio46 gpio49 gpio52 gpio55 gpio58 gpiochip1 gpiochip200 gpiochip868 gpiochip964
gpio21 gpio25 gpio36 gpio44 gpio47 gpio50 gpio53 gpio56 gpio7 gpiochip1012 gpiochip804 gpiochip900 gpiochip996
root@9.1:~# echo 8 > /sys/class/gpio/export
root@9.1:~# echo 8 > /sys/class/gpio/unexport
Here no problem, all our program work properly.
FX30 Cat-M R14:
root@R14:~# export gpio53 gpioFX30-NETWORK_LED_RED gpioFX30S-PB_INPUT
gpio2 gpio54 gpioFX30-ON_OFF_MON_N gpioFX30S-ULPM_WAKE1_36
gpio21 gpio55 gpioFX30-PB_INPUT gpioFX30S-ULPM_WAKE1_38
gpio22 gpio56 gpioFX30-POWER_HOLD gpiochip0
gpio24 gpio57 gpioFX30-POWER_LED_GRN gpiochip1
gpio25 gpio58 gpioFX30-POWER_LED_MUX gpiochip1012
gpio29 gpio7 gpioFX30-POWER_LED_RED_N gpiochip1018
gpio32 gpioFX30-DIGITAL_INPUT1_N gpioFX30-SIGNAL_LED_GRN gpiochip200
gpio36 gpioFX30-DIGITAL_INPUT2_N gpioFX30-SIGNAL_LED_RED gpiochip804
gpio38 gpioFX30-DIGITAL_INPUT3_N gpioFX30-ULPM_WAKE1_36 gpiochip836
gpio43 gpioFX30-DIGITAL_OUTPUT3 gpioFX30-ULPM_WAKE1_38 gpiochip868
gpio44 gpioFX30-ETH_DISABLE_N gpioFX30-USER_LED_GRN gpiochip900
gpio45 gpioFX30-GPIO29 gpioFX30-USER_LED_RED gpiochip932
gpio46 gpioFX30-GPS_BIAS_EN gpioFX30S-DIGITAL_INPUT1_N gpiochip964
gpio47 gpioFX30-HUB_ENABLE gpioFX30S-DIGITAL_INPUT2_N gpiochip996
gpio48 gpioFX30-IOT_DETECT gpioFX30S-DIGITAL_INPUT3_N unexport
gpio49 gpioFX30-IO_PULLUP_EN1 gpioFX30S-GPIO29 v2
gpio50 gpioFX30-IO_PULLUP_EN2 gpioFX30S-HUB_ENABLE
gpio51 gpioFX30-IO_PULLUP_EN3 gpioFX30S-IOT_DETECT
gpio52 gpioFX30-NETWORK_LED_GRN gpioFX30S-ON_OFF_MON_N
ls /sys/class/gpio/
root@14:~# echo 8 > /sys/class/gpio/export
sh: write error: Operation not permitted
Here our programs can’t work properly due to missing gpio and inability to create it.
In addition, this is also reproducible on FX30 that use SWI R9.1 and upgraded to the SWI R14.
Best regards,
Guillaume