hi,
I would like to know is exist a method that we can access gpio pins by my board omapL138 using linux. and how can i configuring the GPIO module in this platform.
thanks in Adv
Mohamed
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi,
I would like to know is exist a method that we can access gpio pins by my board omapL138 using linux. and how can i configuring the GPIO module in this platform.
thanks in Adv
Mohamed
Sorry, drop second section re -send
You can find all needed information of how to export GPIO to user space here : <kernel_dir>/Documentation/gpio.txt
I want to compile the module for an example by this command :
make -C <kernel directory> M=`pwd` ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
but I don't know exactly what the path of <kernel directory>, i was trying /lib/modules/`uname -r`/build
and i was trying :
make -C /home/manyo/DaVinci-PSP-SDK-03.20.00.14/src/kernel/linux-03.20.00.14/ M=`pwd` ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
he gave me an error in my target, he was not working in board omapl138 , making insmod mon_module.ko :
insmod: error inserting 'mon_module.ko': -1 Invalid parameters
          
root@arago:/Module-GPIO#           
Thanks in adv
Mohamed
Hi,
How can I to add a button / buttons to map OMAPL138 to apply them in a QT application or Program C, knowing that it is just a button called power in (S5 RST).
And an other thing I still do not know the position of GPIOs with their Number on the map like DA850_GPIO6_12. 
Thks in Advs
Mohamed