Hi all, Now i wanna control gpio on mini2440 but my kit hasn't gpio in /sys/class/ Please send me gpio file Best regards.
mini2440 hasn't gpio in /sys/class/
http://www.friendlyarm.net/forum/topic/5058 (about 1 week ago) For the mini2440 go to: http://www.pengutronix.com/oselas/bsp/pengutronix/mini2440_bsp_de.html and get this file OSELAS.BSP-Pengutronix-Mini2440-2012.12.0.tgz extract it and look around for a file in configs/platform-friendlyarm-mini2440 and kernelconfig-3.7 and search for "gpio" I think CONFIG_GPIO_SYSFS is the one you want. Running kernel config change it and then re-compile. Perhaps reading through OSELAS.BSP-Pengutronix-Mini2440-Quickstart.pdf might help you on the way. Before you go charging off you should say which kernel version you have as things do change. There are kernelconfigs in that folder back to 2.6.38
Thanks Davef, I have built kernel again and port to mini2440 successfully. Now i found folder gpio in /sys/class/ Again thank you so much. Best regards.