This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请教8127 启动的ddr配置



公司的8127板,用了4片2gb的ddr3(K4B2G1646E ),MLO启动时总是停在board_init里面,gpio_init执行完就不继续执行。

一下是相关的ddr配置

/* TI814X DDR3 EMIF CFG Registers values 400MHz */
#define DDR3_EMIF_READ_LATENCY 0x00170207//0x00170208 //RD_ODT=0x2, IDLE_ODT=0x0, Dynamic power_down enabled
#define DDR3_EMIF_TIM1 0x0AAAD4DB
#define DDR3_EMIF_TIM2 0x682F7FDA
#define DDR3_EMIF_TIM3 0x501F881F//0x501F82BF
#define DDR3_EMIF_REF_CTRL 0x00000C30// SDRRCR  

//PAGESIZE1024 
//CS0
//8 bank
//ROWSIZE 15根线
//CAS Latency 6(400M)
//32bit
//cwl 5
#define DDR3_EMIF_SDRAM_CONFIG 0x61C01332 // SDRCR *  
#define DDR3_EMIF_SDRAM_ZQCR 0x50074BE1// ZQCR *

#define PG2_1_DMM_LISA_MAP__0 0x0
#define PG2_1_DMM_LISA_MAP__1 0x0
#define PG2_1_DMM_LISA_MAP__2 0x805C0300//512M 128-byte interleaving Mapped on SDRC 0 and SDRC 1 (interleaved)

#define PG2_1_DMM_LISA_MAP__3 0xA05C0300

其他都是采用3.8 ipnc-rdk里面的默认配置。

各位看看会是哪里出的问题,折腾好久了