[ECOS] should Ecos re-run hal init code?

Andrew Lunn andrew.lunn@ascom.ch
Mon Jun 23 15:39:00 GMT 2003


On Mon, Jun 23, 2003 at 09:58:49AM -0500, Aaron Richardson wrote:
> I am getting execution of hal init code when I run my ecos application, 
> specifically my hal_hardware_init() routine.  Is this normal behavior for an 
> ecos application?  Is it configurable?

Yes its normal and not its not configurable.

It normally does not actually initialise that much. Disables
interrupts, disables timers, start the clock, sets up the MMU, enables
the caches and sets up the interface with redboot. Doing that twice
should not be a problem.

       Andrew

-- 
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