public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] U-boot PPC405EX  with DDR2 DIMM
@ 2013-09-18 11:26 Steve Miller
  2013-09-19 23:44 ` Rommel Custodio
  2013-09-23 10:36 ` Stefan Roese
  0 siblings, 2 replies; 4+ messages in thread
From: Steve Miller @ 2013-09-18 11:26 UTC (permalink / raw)
  To: u-boot

Hello,

I have inherited a design using the PPC405EX that was based on the
Kilauea reference design.   One of the changes was Kilauea uses on-board
DDR2 DRAM ICs and this design uses DDR2 DIMMs.   The u-boot is working,
except only 256MB of RAM is available instead of the 1GIG that the
module supports.   This working 256MB matches the memory that the
Kilauea had.  In looking into this, the CONFIG_SPD_EEPROM was undefined,
as that was what was appropriate for the Kilauea.   I defined this but
got lots of compiler errors.  So I did the following:

 

1.        Updated the eldk to 5.4

2.       Downloaded the latest u-boot source code I could find.
(Version 2013)

 

I still get compiler errors.  The first error is in 40x_spd_sdram.c    I
do not believe it should be attempting to compile this as it appears to
be SPD setting for SDRAM modules and not DDR2 modules.  I added another
check to line 50 of 40x_spd_sdram.c to skip that file if it is a 405EX.
This of course, eliminated those compiler errors.

 

Next place is has trouble is 44x_spd_ddr2.c   In line 460 it cannot find
SDR0_SRST0_DMC for example.  Another example is line 821, it cannot find
SDR0_DDR0.   In searching the PPC405EX datasheet, I do not find that
these registers exist in this part.    I believe it is supposed to
compile this file, as the file has specific references to the 405EX.
However, I do not know what I am missing to get this to compile for that
processor. 

 

Questions:

 

1.        Has anyone compiled u-boot for the 405EX using a DIMM, aka an
SPD defined RAM?

2.       Is there something obvious that I need to place in the config
to get this to work?   I compared this config to another product that
uses a 460SX.  I did not see anything special that the 460SX was
configuring to make the system work with the SPD of the DIMM.  

 

Thanks for any pointers.

 

---- Steve

 

 

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [U-Boot] U-boot PPC405EX  with DDR2 DIMM
@ 2013-09-23 12:06 Steve Miller
  0 siblings, 0 replies; 4+ messages in thread
From: Steve Miller @ 2013-09-23 12:06 UTC (permalink / raw)
  To: u-boot

Just wanted to tell the group that I am abandoning using the SPD data on
PPC405EX.  As I stated earlier, I inherited this design from others.
As I dug deeper into the HW, I found that a X64 module was used on a
processor that only has a X32 wide bus.  Apparently, they could get
modules for less than 1/2 the DRAM cost as 50% of the memory is unused.
This is most likely why no one is currently using DIMMs on the 405EX.
There are no commercially available X32 DIMMs in DDR2.  

My thanks to  Stefan and others for their suggestions.    I believe this
design I am working on will be limited to only one DIMM type.
Therefore, I am just going to assign the parameters in the header file
for this board. 

---- Steve

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

end of thread, other threads:[~2013-09-23 12:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-18 11:26 [U-Boot] U-boot PPC405EX with DDR2 DIMM Steve Miller
2013-09-19 23:44 ` Rommel Custodio
2013-09-23 10:36 ` Stefan Roese
  -- strict thread matches above, loose matches on Subject: below --
2013-09-23 12:06 Steve Miller

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