cancel
Showing results for 
Search instead for 
Did you mean: 

STR710 uCLinux blinking leds

avelez
Associate II
Posted on January 21, 2008 at 03:44

STR710 uCLinux blinking leds

5 REPLIES 5
avelez
Associate II
Posted on January 07, 2008 at 08:14

We purchased an STR710-EVAL board and loaded into it the uCLinux, downloadable from the ST page.

As the linux boots, the ports 2.12, 2.13 and 2.14 begin to act as a counter and are counting from 0 to 7. These ports are associated to 3 leds, so I see the 3 leds blinking and counting.

We will build our own board with an STR710 core and uCLinux and we do need these ports. Is there any way to disable this counting?

kaouther
Associate II
Posted on January 15, 2008 at 14:37

Dear avelez,

You may change the led blinking example by modifying the arch.c file under ''linux-2.4.x/arch/armnommu/mach-STR710/arch.c '' directory.

😉

avelez
Associate II
Posted on January 16, 2008 at 04:49

Hi coucou,

Thanks for your reply. However, in that file only that content is shown:

--------

#include linux/tty.h

#include linux/delay.h

#include linux/pm.h

#include linux/init.h

#include asm/elf.h

#include asm/setup.h

#include asm/mach-types.h

#include asm/mach/arch

extern void genarch_init_irq(void);

MACHINE_START(STR710, ''STR710'')

MANTAINER(''ST MMCC'')

BOOT_PARAMS(0x00000100)

INITIRQ(genarch_init_irq)

MACHINE_END

----

I cannot see where should I modify the file :(

[ This message was edited by: avelez on 16-01-2008 09:19 ]

[ This message was edited by: avelez on 16-01-2008 09:20 ]

[ This message was edited by: avelez on 16-01-2008 09:21 ]

kaouther
Associate II
Posted on January 16, 2008 at 11:54

Yes, not the arch.c but the time.c and time.h instead. Hope it helps;

linux-2.4.x/arch/armnommu/mach-STR710/time.c

linux-2.4.x/include/asm-armnommu/arch-STR710/time.h

avelez
Associate II
Posted on January 21, 2008 at 03:44

Yes!! It definetely works!! Thanks a lot for the info 😉