[ECOS] hal_clock_initialize()

Gary D. Thomas gary@mind.be
Mon Jul 7 23:09:00 GMT 2003


Michael Anburaj said:
> Hi,
>
> When I debugged my Redboot_ROMRAM image, I found that it was looping within
> hal_delay_us() < Called at CYGACC_CALL_IF_DELAY_US((cyg_int32)2*100000) from
> cyg_start in packages/redboot/current/src/main.c >, this was because
> hal_clock_initialize() never got called before this & so the hardware timer
> (RTC) never got started.
>
> Can somebody point me to hal_clock_initialize() ‘s caller in the
> Redboot_ROMRAM setup? So, I can track it down.
>

What platform?

This initialization is normally done in the platform init code
on platforms where it is required (to get the DELAY_US() to work).
For example, in hal/arm/edb7xxx/current/src/edb7xxx_misc.c.




-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list