How to type file: /sys/class/gpio/export ?

Hi,

On target Sitara AM3359 Starter Kit, I run the following command:

root@am335x-evm:/# cat /sys/class/gpio/export
cat: can’t open ‘/sys/class/gpio/export’: Permission denied
root@am335x-evm:/# sudo cat /sys/class/gpio/export
-sh: sudo: command not found
root@am335x-evm:/# sudo
-sh: sudo: command not found
root@am335x-evm:/#

sudo is not recognized at the targer, but it says ‘Permission denied’ when using without sudo.
How to get the file ‘export’ output?

Thanks

ls -als /sys/class/gpio/export
0 --w------- 1 root root 4096 Dec 31 1999 /sys/class/gpio/export

This is a write only file.
Chad

Is it even enabled in your kernel config?

CONFIG_GPIO_SYSFS

Btw ti’s support forum for that device/kernel/rootfs is located here:
https://e2e.ti.com you’ll probably get better answers as people are running that same sdk/rootfs that you are…

Regards,