* [ECOS] Regarding eCos startup
@ 2008-03-20 7:14 Dileep Kumar
2008-03-20 9:49 ` [ECOS] " Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Dileep Kumar @ 2008-03-20 7:14 UTC (permalink / raw)
To: ecos-discuss, Gary Thomas, Wolfgang Denk
Hi,
I am trying to port eCos on MPC8555 processor . MPC8260 is
the baseline I considered .
In MPC8555E processor when a reset occurs , control will go to
location FFFF_FFFC. This particular location always contain a
branch instruction to boot page.
In MPC8260 ecos2.0b1 code control will go to the point
"_exception_reset " and the startup file is "vectors.S" .
( As specified in the linker script file " powerpc.ld ")
This " _exception_reset " comes under " .vectors " section
Well now , my problem is , it is not possible to load " .vectors " section
at address starting from FFFF_FFFC, because this section is
bigger to hold at addresses FFF_FFFC, FFFF_FFFD,FFFF_FFFE and
FFFF_FFFF.
In Uboot code for MPC8555E , there is a separated file
" resetvec.S " ,this contain a single branch instruction to _start( which is
in the file start.S ) . This branch insrtuction is under the section
" .resetvec " . This section can be loaded at FFFF_FFFC , because
it contain only one instruction .
One silution is to use the way what Uboot had done, but we have to change
linker script file (powerpc.ld ). This is not possible ,because it is
under " arch " directory .
Is there any other solution to come out of this ?
Thanks
Dileep Kumar
--
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] 2+ messages in thread
* [ECOS] Re: Regarding eCos startup
2008-03-20 7:14 [ECOS] Regarding eCos startup Dileep Kumar
@ 2008-03-20 9:49 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-03-20 9:49 UTC (permalink / raw)
To: Dileep Kumar; +Cc: ecos-discuss, Gary Thomas
In message <ed9edd1a0803200000h65639621pb4b4591336dcbbca@mail.gmail.com> you wrote:
>
> I am trying to port eCos on MPC8555 processor . MPC8260 is
> the baseline I considered .
I think you are aware that there are a couple of significant
differences between PQII and PQIII systems...
> One silution is to use the way what Uboot had done, but we have to change
> linker script file (powerpc.ld ). This is not possible ,because it is
> under " arch " directory .
It would be unrealistic to expect that such different architectures
could use the same memory layout and linker script. Consider creating
a new linker script for the new architecture. Power porcessors come
in a wide variety - expect that you will need yet another linker
script when you port to the first 64bit system, etc.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The human mind ordinarily operates at only ten percent of its
capacity. The rest is overhead for the operating system.
--
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] 2+ messages in thread
end of thread, other threads:[~2008-03-20 7:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-20 7:14 [ECOS] Regarding eCos startup Dileep Kumar
2008-03-20 9:49 ` [ECOS] " Wolfgang Denk
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).