<br><br><div class="gmail_quote"><div><div class="Wj3C7c"><div class="gmail_quote"><br><br>i am using mpc8360 emds board.<br>it is working fine with socdimm.<br>
<br>but with sordimm not working.<br><br>there is minor change i have done it for sordimm as follows for testing only.<br>/* sdram_cfg[3] = RD_EN - registered DIMM enable */<br>
// if (spd.mod_attr &
0x02) vivek<br>// {<br>printf("sdramcfg[3] registered DIMM\n");<br>sdram_cfg |=
SDRAM_CFG_RD_EN;<br>// }<br><br><br><br>//#if defined(CONFIG_DDR_2T_TIMING)
vivek<br>/*<br>* Enable 2T timing by setting sdram_cfg[16].<br>*/<br>//
sdram_cfg |= SDRAM_CFG_2T_EN; <br>//#endif<br><br>i have enabled spd_debug and check the configuration.<br><br>CPU: e300c1, MPC8358_TBGA_EA, Rev: 2.1 at 396 MHz, CSB: 198 MHz<br>Board:
Freescale MPC8360EMDS<br>I2C: ready<br>DRAM: <br>DIMM type:
9HTF6472RHY-667F1 <br>SPD size: 128<br>EEPROM size: 256<br>Memory
type: 8<br>Row addr: 14<br>Column addr: 10<br># of rows:
96<br>Row density: 128<br># of banks: 4<br>Data width: 72<br>Chip
width: 8<br>Refresh rate: 82<br>CAS latencies: 38<br>Write latencies:
04<br>tRP: 60<br>tRCD: 60<br><br><br>cs0_bnds =
0x0000001f<br>cs0_config =
0x80010202<br>DDR:bar=0x00000000<br>DDR:ar=0x8000001c<br>DDR: caslat SPD bit is
5<br>DDR:Module maximum data rate is: 666 MHz<br>DDR:Effective data rate is:
200MHz<br>DDR:The MSB 1 of CAS Latency is: 5<br>DDR: effective data rate is 200
MHz<br>DDR: caslat SPD bit is 5, controller field is 0x9<br>DDR: timing_cfg_0 =
0x00260802<br>DDR:timing_cfg_1=0x25293211<br>DDR:timing_cfg_2=0x0fa028c4<br><br>
DDR DIMM: data bus width is 64 bit with ECC<br>DDR:sdram_mode=0x04400252<br>DDR:
sdram_mode2 = 0x00000000<br>DDR:sdram_interval=0x03050100<br>DDR: sdram_cfg2 =
0x00401000<br>DDR:sdram_clk_cntl=0x02000000<br>sdramcfg[3] registered
DIMM<br>DDR:err_disable=0x0000000d<br>DDR:err_sbe=0x00ff0000<br> DDRC ECC
mode: ON<br>DDR:sdram_cfg=0xf3000000<br>ddr init: CPU FP write
method<br><br>READY!!<br>ddr init duration: 2090 ms<br>512 MB (DDR2, 64-bit, ECC
on, 198 MHz)<br>Testing DRAM from 0x00000000 to 0x00200000<br>DRAM test phase
1:<br>write done<br>DRAM test phase 2:<br>DRAM test
passed.<br><br>regards<br><br>
</div><br>
</div></div></div><br>