Enable BBB UART in INPUT mode

Hello everyone,

I made an embedded system using this link : http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-BeagleBoneBlackAngstromusbnetworkingfailstoload

but instead using the provided kernel I used a Linux Kernel patched with Xenomai, which I will used to handle IRQ in the purpose to read my captors in real time. Here’s the link : https://github.com/cdsteinkuehler/linux-dev

I enabled the UARTS by adding “capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART3,BB-UART4,BB-UART5” in the uEnv.txt.
Now I want to use GPIO for my IRQ, because when there are 0-1 and 1-0 transitions, an IRQ is generated. The only problem is I don’t know how to enable GPIO by adding a command in uEnv.txt (I DON’T want to do this using the advices in this link : http://www.armhf.com/index.php/using-beaglebone-black-gpios/ , I want ABSOLUTELY to enable the GPIO in the uEnv.txt file).

I also want to know where I can “see” the GPIO directly (for example, to know that UART is working, I just need to verify if there are any “/dev/ttyOx” where “x” can be 1,2,3,4,5 because there are 5 UARTS available on BBB)

So, is anyone can help me ?

Thanks for answering, Daivy