* [ECOS] ECOS/Redboot -- Several Questions
@ 2005-04-28 19:11 Michael Dorin
2005-04-28 23:09 ` Gary Thomas
2005-04-30 3:33 ` Frank Robbins
0 siblings, 2 replies; 3+ messages in thread
From: Michael Dorin @ 2005-04-28 19:11 UTC (permalink / raw)
To: ecos-discuss
Hello,
I have an 860T based board and am trying to convert
the MBX templete. However a couple differences:
* My board has CS0 tied to address 0. I believe the
wants to boot from 0xfe000000. I don't have ram
at 0. I have changed the ram.ldi and rom.ldi files
in the pkgconf directory. I have changed the
lib/target.ld files.
I can't seem to get a good link though.
Where might I be missing something?
Second question...
Is it bad that 0 is my flash address?
Thanks,
Mike
--
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] 3+ messages in thread
* Re: [ECOS] ECOS/Redboot -- Several Questions
2005-04-28 19:11 [ECOS] ECOS/Redboot -- Several Questions Michael Dorin
@ 2005-04-28 23:09 ` Gary Thomas
2005-04-30 3:33 ` Frank Robbins
1 sibling, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2005-04-28 23:09 UTC (permalink / raw)
To: dorin; +Cc: eCos Discussion
On Thu, 2005-04-28 at 12:06 -0700, Michael Dorin wrote:
> Hello,
>
> I have an 860T based board and am trying to convert
> the MBX templete. However a couple differences:
>
> * My board has CS0 tied to address 0. I believe the
> wants to boot from 0xfe000000. I don't have ram
> at 0. I have changed the ram.ldi and rom.ldi files
> in the pkgconf directory. I have changed the
> lib/target.ld files.
>
> I can't seem to get a good link though.
>
> Where might I be missing something?
>
> Second question...
> Is it bad that 0 is my flash address?
Yup - poor choice. You have total control over this during the
machine initialization, so it's much better to map the FLASH (CS0)
up high, e.g. 0xFE000000, and put the RAM (typically CS1) at 0x0.
Also, use the viper as a better template for 860T starting point.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
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] 3+ messages in thread
* Re: [ECOS] ECOS/Redboot -- Several Questions
2005-04-28 19:11 [ECOS] ECOS/Redboot -- Several Questions Michael Dorin
2005-04-28 23:09 ` Gary Thomas
@ 2005-04-30 3:33 ` Frank Robbins
1 sibling, 0 replies; 3+ messages in thread
From: Frank Robbins @ 2005-04-30 3:33 UTC (permalink / raw)
To: dorin; +Cc: ecos-discuss
I think you may need to read the PQ1 manual a bit more ......
The PQ1 comes out of reset with CS0 owning all of the 4Gig address space
hence the flash is always normally at zero to start with. Then normally
this is then reduced and relocated up to 0xfe000000 and the SDRAM then
located back down to zero. Hence the boot loader starts in flash offset
of 0x00000000 then runs with offset 0xfe000000 in flash then usually it
copies its self into SDRAM (.. after setting this up of course.) from
address offset 0x00000000.
Please note: The MBX template is VERY OUT OF date
Regards
Frank Robbins
Email: frank.robbins@analogue-micro.com
web:http://www.analogue-micro.com
Analogue & Micro Ltd
9 Clytha Park Road
Newport
NP20 4PB
UK (Great Britain)
Tel : 44 (0)1633 666787
Fax : 44 (0)1633 666788
Michael Dorin wrote:
>Hello,
>
>I have an 860T based board and am trying to convert
>the MBX templete. However a couple differences:
>
>* My board has CS0 tied to address 0. I believe the
>wants to boot from 0xfe000000. I don't have ram
>at 0. I have changed the ram.ldi and rom.ldi files
>in the pkgconf directory. I have changed the
>lib/target.ld files.
>
>I can't seem to get a good link though.
>
>Where might I be missing something?
>
>Second question...
>Is it bad that 0 is my flash address?
>
>Thanks,
> Mike
>
>
>
--
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] 3+ messages in thread
end of thread, other threads:[~2005-04-29 17:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-28 19:11 [ECOS] ECOS/Redboot -- Several Questions Michael Dorin
2005-04-28 23:09 ` Gary Thomas
2005-04-30 3:33 ` Frank Robbins
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).