public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Memory Size issue @ MPC83xx
@ 2008-04-30 17:08 André Schwarz
  2008-04-30 20:43 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: André Schwarz @ 2008-04-30 17:08 UTC (permalink / raw)
  To: u-boot

All,

my MPC8343 based system is running fine, but I'm not able to use more 
than 256MB of memory.

Is this a general or known issue ?

I'm not quite sure where the problem is since u-boot *seems* to be 
running fine.

Situation :

- 2 Micron 16-Bit (2 GBits each) chips soldered down on the board giving 
512MByte total.
- Connected to CS0 @ 32-Bit memory bus.
- memory size defined and recognized correctly
- set up CS0_BNDS for 512MB
- set up BAT0 + BAT7 for mapping (a single BAT is limited to 256MB).
- configure cpu to use high BATs by setting HBE bit in CFG_HID2.
- dtb memory size set up correctly and "mtest" works all day from 16M to 
500M ....

Booting a 2.6.25 kernel crashes during dtb parsing.
Limiting memory size to 256MB and skipping BAT7 gives a running system.

At first glance this looks like a topic for the linuxppc list.
But it *could* also be a u-boot related issue ...


Any help is welcome !


regards,
Andr? Schwarz

MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

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

* [U-Boot-Users] Memory Size issue @ MPC83xx
  2008-04-30 17:08 [U-Boot-Users] Memory Size issue @ MPC83xx André Schwarz
@ 2008-04-30 20:43 ` Wolfgang Denk
  2008-05-02  8:09   ` Andre Schwarz
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2008-04-30 20:43 UTC (permalink / raw)
  To: u-boot

In message <4818A775.9020009@matrix-vision.de> you wrote:
> 
> my MPC8343 based system is running fine, but I'm not able to use more
> than 256MB of memory.
> 
> Is this a general or known issue ?

You may want to search for CONFIG_VERY_BIG_RAM and
CONFIG_MAX_MEM_MAPPED, see for example "lib_ppc/board.c".


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 at denx.de
Do you suppose the reason the ends of the `Intel Inside'  logo  don't
match up is that it was drawn on a Pentium?

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

* [U-Boot-Users] Memory Size issue @ MPC83xx
  2008-04-30 20:43 ` Wolfgang Denk
@ 2008-05-02  8:09   ` Andre Schwarz
  0 siblings, 0 replies; 3+ messages in thread
From: Andre Schwarz @ 2008-05-02  8:09 UTC (permalink / raw)
  To: u-boot

Wolfgang,

thanks for the hint - unfortunately the issue is not solved, yet.
Obviously I've missed something...

U-boot is working fine with both 256MB and 512MB RAM.
The kernel crashes with memory > 256MB.

Do I need to set up a 2nd BAT for mapping main memory before booting
linux in any case ?

Do you now of any kernel related issues/missing configs ?
I know this is off-topic to this list - but maybe you can help me out.


regards,
Andre


Wolfgang Denk schrieb:
> In message <4818A775.9020009@matrix-vision.de> you wrote:
>   
>> my MPC8343 based system is running fine, but I'm not able to use more
>> than 256MB of memory.
>>
>> Is this a general or known issue ?
>>     
>
> You may want to search for CONFIG_VERY_BIG_RAM and
> CONFIG_MAX_MEM_MAPPED, see for example "lib_ppc/board.c".
>
>
> Best regards,
>
> Wolfgang Denk
>
>   


MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

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

end of thread, other threads:[~2008-05-02  8:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-30 17:08 [U-Boot-Users] Memory Size issue @ MPC83xx André Schwarz
2008-04-30 20:43 ` Wolfgang Denk
2008-05-02  8:09   ` Andre Schwarz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox