mini2440 and led example

Mariya
Attachment: led_log (1.55 KB)
Hello everybody!
I'm only beginner in linux and arm. I have mini2440 board and try to run
examples on it. First I tried hello world, and it was ok. Now I try led and
have error "open device leds: Permission denied". I attach log with
everything I do to run this example. 
What do I do wrong? I suppose I don't understand something simple.

Mageshwaran
Hello  Mariya,

             It necessary to give the permission to the output file 

you can give it by 

chmod 777 outputfile  

then you can able to run that file 



Enjoy..

Mageshwaran
You want root access to do this...!

or login as root user

Mageshwaran
Hey 


just now i have seen the image

kindly open the folder before execute the filr

Mariya
Thank you! 
I ran it in the kit's terminal as root and it worked. Yahoo!