On Wed, Jan 23, 2013 at 10:32 PM, fantajista <fantajista1089@gmail.com> wrote:
I wrote a boot script which blink the LED and placed it in "/etc/rcS.d/".

In the script, I controll the gpio to blink the LED.

while ( 1 ){
  system("echo 1 > /sys/class/gpio/gpio78/value");
  system("echo 0 > /sys/class/gpio/gpio78/value");

But, this script is executed after about 16 seconds from power on Gumstix.

I want to start blinking the led earlier phase.

How to implement this function ?

You might be able to get it to start earlier if you modify your board file, which is arch/arm/mach-omap2/board-overo.c for the overo.

Look for the gpio_leds[] definition, and add something like:

		.name			= "overo:red:gpio78",
		.default_trigger	= "heartbeat",
		.gpio			= 78,
		.active_low		= true,