GPIO with simple LED not working

Gr3yh0und
Hey guys,

I compiled everything into my kernel for GPIO. Now i'm soldering a simple
red LED to one of the GPIO Pins ión my mini2440. Including resistor.

But the sysfs won't accept my commands.

When I do 
echo 1 > /sys/class/gpio/gpio32/value
the onboard buzzer is making noise, so i think the basic GPIO sysfs is
working.

# cd /sys/class/gpio/
# ls
export       gpiochip128  gpiochip192  gpiochip256  gpiochip64   unexport
gpiochip0    gpiochip160  gpiochip224  gpiochip32   gpiochip96
# echo 164 > export
# cd gpio164/
# ls
active_low  edge        subsystem   value
direction   power       uevent
# cat value
0
# cat direction
in
# echo out > direction
# cat direction
out
# cat value
0
# echo 1 > value
# cat value
0

I'm using Pin 3 for Ground and Pin 13 for the LED. Refering to the manual
PIN 13 is EINT4 which is GPF4, so it must be 5*32 + 4 = 164. 
Any ideas why it isn't working?

davef
OSELAS.BSP-Pengutronix-Mini2440-Quickstart.pdf

at

http://www.oselas.org/oselas/bsp/pengutronix/mini2440_bsp_en.html

section 4.5 has a good section on using LEDs

Juergen Beisert
Hi Gr3yh0und,

I just did the same as you, and here the pin 13 at connector CON4 changes
from 0 V to 3.3 V and back to 0 V if I write 0, 1, 0 to the "value" entry.
Are you sure you connected your led to the correct pin 13?
Pin 1 of CON4 is near the SD card connector, the inner row of CON4.