Hammer LED Userspace App
From eLinux.org
This is an example program that uses the /dev/mem device node to access the physical memory registers directly([[media:ledblink.c|source)
Usage
to compile the source use your toolchain command line
#arm-linux-uclibc-gcc -o ledblink ledblink.c
then transfer the ledblink binary to the hammer file system. make sure that the permissions on the file are set to executable
#chmod 755 ledblink