This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: hal_clock_initialize()
- From: "Gary D. Thomas" <gary at mind dot be>
- To: "Michael Anburaj" <embeddedeng at hotmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 7 Jul 2003 17:09:03 -0600 (MDT)
- Subject: Re: [ECOS] hal_clock_initialize()
- References: <Law15-F26sn4Lry4Hau0002c7b2@hotmail.com>
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