[ECOS] HAL startup help.
Fri Aug 6 16:36:00 GMT 2004
Thanks for your help.. That was exactly it. I don't know how I got the memory map/alignment from.
But after reviewing it against some of the other PPC targets, I have found some "issues".
Once this was corrected... Life is Beautiful
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Nick Garnett
Sent: Monday, August 02, 2004 5:07 AM
To: Rycerz Roman-G11565
Cc: Ecos-Discuss@Sources. Com (email@example.com)
Subject: Re: [ECOS] HAL startup help.
Rycerz Roman-G11565 <firstname.lastname@example.org> writes:
> I am hoping someone can help me. I have a rather strange problem that comes and goes for reasons that so far escape me.
> While I am not sure what makes this situation appear and
> disappear, maybe this behavior will ring some bells.
> When the ecos world is happy, the routine "cyg_hal_invoke_constructors" executes, behaves nicely and executes a list of constructors.
> such as
> When ecos is unhappy "cyg_hal_invoke_constructors" actually
> executes a list of destructors
> Anyone know what might cause this ???? I am sure its something I am doing, but so far I have no clue....
Cannot help you specifically, but in the past when I have seen things like this happening, it has often been an alignment issue. It appears and disappears as changing sizes of text and data change the alignment of later data items.
Check that the alignment requirements in your linker script are correct. If you try single stepping through
cyg_hal_invoke_constructors() when it is misbehaving you should be able to work out what is going wrong.
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss