how to control I/O port mini2440

min
hello all. 
I have mini2440. but I have no idea how to control I/O port  by C program.
For example I want to control LED1 (GPIO GPB1).
so How should I make C program?

TungPham
min,

U should have a look at this thread:
http://www.friendlyarm.net/forum/topic/823

min
TungPham 

thanks 

I've noticed there are not sys/class/gpio.

Juergen Beisert
You should run a kernel with generic GPIO support enabled. Then all GPIOs
of the CPU are available in "/sys/class/gpio". You could use my kernel, it
comes with generic GPIO support enabled. Refer
http://www.friendlyarm.net/forum/topic/2737

min
Juergen Beisert 

Thanks!
I try it.