This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hal_clock_initialize()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]