[U-Boot] MPC8536DS Evaluation Board Force DDR Setting cannot bedone properly

AgarwalAshish ashish.g at teldevice.co.jp
Tue May 26 14:36:28 CEST 2009


As i were able to set the DDR data Via [I2C bus] SPD[Serial presence detect] table read for the custom board design i am working on ...

so as for now i am not require to debug the Uboot DDR FORce setting option . 

though i got the clue about the DR force setting  .. 

file: "u-boot-1.3.4\board\freescale\mpc8536ds\mpc8536ds.c"

phys_size_t
initdram(int board_type)
{

......
..
......

ifdef CONFIG_SPD_EEPROM
	dram_size = fsl_ddr_sdram();
	dram_size = setup_ddr_tlbs(dram_size / 0x100000);
	dram_size *= 0x100000;
#else
	dram_size = fixed_sdram();

	// Modified [Added]
	dram_size = setup_ddr_tlbs(dram_size / 0x100000);

	// ADD function for The LAWBAR SETTING for the DDR memory window  
#endif
....
...
....
}

Modifications needed 
-> setup_ddr_tlbs(); 
  function call to setup DDR TLB [L2MMUCAMx or we can say MAS(0-3)] 

-> As "fsl_ddr_sdram()" performs the 
  a. SPD read 
  b. DDR parameter setting 
  c. LAW BAR, LAWAR setting

so we have to set the LAWBAR And LAW AR there ... 

If i have a chance to fix this then i will inform in this series.

If any body wants to fix this then Most Welcome to you ....


--
Ashish Agarwal
★━━━━━━━━━・:*:*:・ ゜・:*:*:・★☆★
 アガルワル アシッシュ
★☆★・:*:*:・ ゜・:*:*:・━━━━━━━━━★



More information about the U-Boot mailing list