public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] 860T redboot...almost there...but need a bit of help
@ 2005-06-27 20:55 Michael Dorin
  2005-07-03  1:02 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Dorin @ 2005-06-27 20:55 UTC (permalink / raw)
  To: ecos-discuss



It has taken a while, working on and off, but I have
finally made some good progress.

I can build and boot redboot, using the ROMRAM
configuration.  

However, I still need to set the program counter
to 0x100 through my bdm port.  If I power cycle
the board, it won't boot. 

I understand this is because my flash is bigger
than 1 meg...but how do I remap the reset vectors
in redboot to land up higher?

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] 2+ messages in thread

* Re: [ECOS] 860T redboot...almost there...but need a bit of help
  2005-06-27 20:55 [ECOS] 860T redboot...almost there...but need a bit of help Michael Dorin
@ 2005-07-03  1:02 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2005-07-03  1:02 UTC (permalink / raw)
  To: dorin; +Cc: eCos Discussion

On Mon, 2005-06-27 at 13:55 -0700, Michael Dorin wrote:
> 
> It has taken a while, working on and off, but I have
> finally made some good progress.
> 
> I can build and boot redboot, using the ROMRAM
> configuration.  
> 
> However, I still need to set the program counter
> to 0x100 through my bdm port.  If I power cycle
> the board, it won't boot. 
> 
> I understand this is because my flash is bigger
> than 1 meg...but how do I remap the reset vectors
> in redboot to land up higher?

Look carefully at one of the other 8xx ports.  

Basically how it works is that after reset, the *only* thing
that is mapped in is ROM/FLASH, CS0.  You run using this,
up to the point where everything else is set up and then
switch address spaces to match how you've set up the CSx.

-- 
------------------------------------------------------------
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] 2+ messages in thread

end of thread, other threads:[~2005-07-03  1:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-27 20:55 [ECOS] 860T redboot...almost there...but need a bit of help Michael Dorin
2005-07-03  1:02 ` Gary Thomas

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