[U-Boot] Does U-BOOT (MPC8560) support Micron MT18VDD12872DG

Liu Dave-R63238 DaveLiu at freescale.com
Fri May 15 02:27:15 CEST 2009


> I have a custom board similar to MPC8560ADS board with 1GB 
> DDR SDRAM. The DDR SDRAM Make
> is MT18VDDF12872DG-335D3. In U-BOOT (2009.01) config file I 
> have enabled CONFIG_SPD_EEPROM
> so U-boot configures MPC8560ADS DDR controller with the 
> values read from SPD_EEPROM (i2c
> address 0x51) 
> 
> After card reset U-BOOT runs from BOOT Flash and debug prints 
> start coming on SCC1 port
> But after configuring the MPC8560 DDR controller the U-BOOT 
> HANGS when it tries to run
> from RAM locations after relocation from BOOT Flash. 
> 
> Somewhere I read that it is due to failure of Burst Mode 
> access of RAM. But DDR SDRAM 
> inherently work in Burst Mode only. Moreover U-BBOT  
> initialized the DDR SDRAM Mode
> config register using SPD EEPROM values . The value indicate 
> that SDRAM is in Burst Mode
> 
> MPC8560 CPU Version is 2.0.2
> 
> Please help in understanding the issue here
> 
> The U-BOOT Details are
> --------------------------------------------------------------
> ---------------------------
> U-Boot 2009.01 (Apr 27 2009 - 14:17:09)
> 
> 
> CPU:   8560, Version: 2.0, (0x80700020)
> Core:  E500, Version: 2.0, (0x80200020)
> Clock Configuration:
>        CPU:660  MHz, CCB:264  MHz,
>        DDR:132  MHz (264 MT/s data rate), LBC:66   MHz
> CPM:   264 MHz
> L1:    D-cache 32 kB enabled
>        I-cache 32 kB enabled
> Board: ADS
>     PCI1: 32 bit, 33 MHz (compiled)
> I2C:   ready
> DRAM:  Initializing
> SDRAM SPD EEPROM
> starting at step 1 (STEP_GET_SPD)
> 
>  MEM TYPE 0x7DDR: DDR I rank density = 0x20000000
> mclk_ps = 7580
> i=0, x = 0, lowest_tCKmin_found = 0
> i=1, x = 7500, lowest_tCKmin_found = 0
> i=2, x = 6000, lowest_tCKmin_found = 7500
> i=3, x = 5000, lowest_tCKmin_found = 7500
> lowest_tCKmin_CL = 2
> Computing lowest common DIMM parameters for memctl=0
> using mclk_ps = 7580
> checking common caslat = 3
> CL = 3 ok on DIMM 0 at tCK=7580 ps with its tCKmin_X_ps of 6000
> checking common caslat = 2
> CL = 2 ok on DIMM 0 at tCK=7580 ps with its 
> tCKmin_X_minus_1_ps of 7500
> lowest common SPD-defined CAS latency = 2
> highest common dereated CAS latency = 2
> all DIMMs ECC capable
> Reloading memory controller configuration options for memctl=0
> mclk_ps = 7580 ps
> FSL Memory ctrl cg register computation
> FSLDDR: cs[0]_bnds = 0x0000001f
> FSLDDR: cs[0]_config = 0x80010103
> FSLDDR: cs[0]_config_2 = 0x00000000
> FSLDDR: cs[1]_bnds = 0x0020003f
> FSLDDR: cs[1]_config = 0x80010103
> FSLDDR: cs[1]_config_2 = 0x00000000
> FSLDDR: timing_cfg_3 = 0x00000000
> FSLDDR: timing_cfg_1 = 0x36332422
> FSLDDR: timing_cfg_2 = 0x00006482
> FSLDDR: ddr_sdram_cfg = 0xe2000000
> FSLDDR: ddr_sdram_cfg_2 = 0x20401000
> FSLDDR: ddr_sdram_mode = 0x00000022
> FSLDDR: ddr_sdram_mode_2 = 0x00000000
> FSLDDR: ddr_sdram_interval = 0x04060100
> FSLDDR: timing_cfg_4 = 0x00000000
> FSLDDR: timing_cfg_5 = 0x00000000
> 
> ...
> ...
> Some stack location related prints 
> ...
> <hangs> here   <---- checked with emulator its somewhere in 
> RAM but no prints coming

Have a try change clk_adjust, cpo_override, write_data_delay
in the board/freescale/mpc8560ads/ddr.c for your DIMMs.

Thanks, Dave


More information about the U-Boot mailing list