Skip to contentSkip to conversation

Memory Size issue @ MPC83xx

U-Boot-Users André Schwarz 2 participants 3 messages Apr 30, 2008 – May 2, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines · In message <[email protected]> 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

Signature · 5 lines
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?
#2 lore raw

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

Quoted 8 lines · Wolfgang Denk
Quoted 5 lines · In message <[email protected]> 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 ?

Quoted 9 lines

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