linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC8360E Startup - CFG_INIT_RAM
       [not found] <mailman.1727.1165862180.2346.linuxppc-embedded@ozlabs.org>
@ 2006-12-11 23:05 ` Russell McGuire
  2006-12-12  1:17   ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Russell McGuire @ 2006-12-11 23:05 UTC (permalink / raw)
  To: linuxppc-embedded

Anybody,

I am porting U-boot to a new custom MPC8360E based board.
I have downloaded the GIT U-boot tree, and see that DENX has made an example
for the MPC8360E-MDS board, and it is an excellent start. <If anyone is
interested I have the new 83xx header files to support Rev 2.0 CPU's, only
about 10 extra lines>

My question lies with what value to place in the CFG_INIT_RAM address. 

I see that the example board has this mapped to dcache? I think... If so how
does one calculate what address dcache sits at?

Or would I be able to use the internal IMMR space multi-user QE ram?
My question is without dissecting the assembly at startup, does the IMMR get
remapped before or after the CFG_INIT_RAM is used.

The board has no external memory other than DDR, so I am going to have to
use something in the CPU.

Due to the massive amount of flash on our board <128M>, I cannot leave the
.text space at 0xFE00000. So I would prefer the IMMR be located at
0xF0000000 and flash be at 0xE0000000, this would leave room for future
expansion <maybe up to 256M>, if this is even related to early startup.

-Russ

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

* Re: MPC8360E Startup - CFG_INIT_RAM
  2006-12-11 23:05 ` MPC8360E Startup - CFG_INIT_RAM Russell McGuire
@ 2006-12-12  1:17   ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2006-12-12  1:17 UTC (permalink / raw)
  To: Russell McGuire; +Cc: linuxppc-embedded

Dear Russel,

in message <000801c71d78$e28cae60$6405a8c0@absolut> you wrote:
> 
> I am porting U-boot to a new custom MPC8360E based board.

You're off topic here. You should post such things on the
U-Bootmailing list instead.

> I have downloaded the GIT U-boot tree, and see that DENX has made an example
> for the MPC8360E-MDS board, and it is an excellent start. <If anyone is

No, the MPC8360EMDS was not done by us, but by Dave Liu; see the
MAINTAINERS file for details.

> My question lies with what value to place in the CFG_INIT_RAM address. 

See the "Note:" in the README...

> Due to the massive amount of flash on our board <128M>, I cannot leave the
> .text space at 0xFE00000. So I would prefer the IMMR be located at
> 0xF0000000 and flash be at 0xE0000000, this would leave room for future
> expansion <maybe up to 256M>, if this is even related to early startup.

Even if you boot high you  can  easily  adjust  for  different  flash
sizes. This hase been done with other boards before. Just look around
a bit. Of course everything is much easier if you boot low.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A conservative is a man with two perfectly good legs  who  has  never
learned to walk.                              - Franklin D. Roosevelt

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

end of thread, other threads:[~2006-12-12  1:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1727.1165862180.2346.linuxppc-embedded@ozlabs.org>
2006-12-11 23:05 ` MPC8360E Startup - CFG_INIT_RAM Russell McGuire
2006-12-12  1:17   ` 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 NNTP newsgroup(s).