public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] problem with __CTOR_END and __CTOR_LIST
@ 2006-10-04 16:28 Claudio Di Vittorio
  2006-10-04 16:52 ` Gary Thomas
  0 siblings, 1 reply; 7+ messages in thread
From: Claudio Di Vittorio @ 2006-10-04 16:28 UTC (permalink / raw)
  To: ecos-discuss

hi everyone.
I'm currently developing a project on a custom ixp460
based board; this board has been designed following
the
scheme of ixdp465 (with some differences); now i have
to
prepare a working image of redboot, running from
flash,
to powerup and bootup the board; redboot must only
work as a bootloader.

I've already modified some .h, entering the correct
memory layout, flash size ecc.
My board is not equipped with FPGA,LED  and with CPLD,
so i disabled that part of code.

I'm not equipped with a JTAG emulator; i'm just
programming ever time the flash memory....

when i bootup the board i see that hardware init
sequence seems to be succesful. After that the board
print out (on serial port) a long string and then
everything freeze; the string is:

$O5B53696D322068616C5F6D6973635D20496E766F6B65640A#CD

Following the assembly code in vectors.S, and adding
some debug messages (using  diag_printf ) i've seen
that the bootup stops BEFORE calling cyg_start;
the problem occurs in call to:

cyg_hal_invoke_constructors

following that function i see that when the program
tries to access __CTOR_END_ and __CTOR_LIST_
everything
stops working.

I'm using configtool 2.11 and the GNU utils given by
Intel in their web site.

Does anybody can give me some help about this?
Or can someone explain me something better on that 
error? 

thanks

claudio



__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-10-05 11:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-04 16:28 [ECOS] problem with __CTOR_END and __CTOR_LIST Claudio Di Vittorio
2006-10-04 16:52 ` Gary Thomas
2006-10-04 16:54   ` Gary Thomas
2006-10-04 17:02     ` Paul D. DeRocco
2006-10-04 17:27       ` Gary Thomas
2006-10-05  7:11       ` Claudio Di Vittorio
2006-10-05 11:50         ` [ECOS] Redboot heap utilisation Gernot Zankl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).