public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] I2C or DIMM?
@ 2006-06-19  1:40 Madhu Saravana Sibi Govindan
  2006-06-20  7:39 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Madhu Saravana Sibi Govindan @ 2006-06-19  1:40 UTC (permalink / raw)
  To: u-boot

Hello all,

I'm trying to debug u-boot on a custom board, which is similar to the
ebony board. I see the following output on the serial console:

--------------------------------------------------

U-Boot 1.1.4 (Jun 18 2006 - 20:35:07)

CPU:   AMCC PowerPC 440GP Rev. C at 300 MHz (PLB=100, OPB=50, EBC=50 MHz)
       Internal PCI arbiter disabled
       32 kB I-Cache 32 kB D-Cache
Board: Ebony - AMCC PPC440GP Evaluation Board
I2C:   ready
DRAM_MYDRAM:
DRAM:  Calling spd_sdram
 Within the SPD SDRAM function
Trying a printf now
ERROR: Unsupported DIMM detected in slot 0.
Only DDR SDRAM DIMMs are supported.
Replace the DIMM module with a supported DIMM.

Read dimm_type = 255
### ERROR ### Please RESET the board ###

--------------------------------------------------------------------

(I have put in some additional debug statements in the u-boot code)

It is not clear to me if the DIMM alone is the problem or if the I2C
controller was not initialized correctly somehow (and so we are seeing
a weird value from the EEPROM).  I'm going to try to put in a new DIMM
and then, try the whole exercise again, but is there a way to check if
the I2C controller is working fine?

I'm also going to read the other bytes from the EEPROM and see if they
make sense.

Thanks in advance,
G.Sibi

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

* [U-Boot-Users] I2C or DIMM?
  2006-06-19  1:40 [U-Boot-Users] I2C or DIMM? Madhu Saravana Sibi Govindan
@ 2006-06-20  7:39 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2006-06-20  7:39 UTC (permalink / raw)
  To: u-boot

Hello G.Sibi,

On Monday 19 June 2006 03:40, Madhu Saravana Sibi Govindan wrote:
> I'm trying to debug u-boot on a custom board, which is similar to the
> ebony board. I see the following output on the serial console:

I assume you have done a board port to your custom board based on the ebony 
port, right? You should not using the ebony image itself, since most likely 
there are some differences in the board design.

> --------------------------------------------------
>
> U-Boot 1.1.4 (Jun 18 2006 - 20:35:07)
>
> CPU:   AMCC PowerPC 440GP Rev. C at 300 MHz (PLB=100, OPB=50, EBC=50 MHz)
>        Internal PCI arbiter disabled
>        32 kB I-Cache 32 kB D-Cache
> Board: Ebony - AMCC PPC440GP Evaluation Board
> I2C:   ready
> DRAM_MYDRAM:
> DRAM:  Calling spd_sdram
>  Within the SPD SDRAM function
> Trying a printf now
> ERROR: Unsupported DIMM detected in slot 0.
> Only DDR SDRAM DIMMs are supported.
> Replace the DIMM module with a supported DIMM.
>
> Read dimm_type = 255
> ### ERROR ### Please RESET the board ###
>
> --------------------------------------------------------------------
>
> (I have put in some additional debug statements in the u-boot code)
>
> It is not clear to me if the DIMM alone is the problem or if the I2C
> controller was not initialized correctly somehow (and so we are seeing
> a weird value from the EEPROM).  I'm going to try to put in a new DIMM
> and then, try the whole exercise again, but is there a way to check if
> the I2C controller is working fine?

Did you adapt the SPD EEPROM configuration (SPD_EEPROM_ADDRESS) to your board 
setup?

> I'm also going to read the other bytes from the EEPROM and see if they
> make sense.

Good. Does your board setup support 400 kHz I2C bus speed? If not please 
change it in your board config file.

Best regards,
Stefan

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

end of thread, other threads:[~2006-06-20  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-19  1:40 [U-Boot-Users] I2C or DIMM? Madhu Saravana Sibi Govindan
2006-06-20  7:39 ` Stefan Roese

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