How To Migrate The DDR Configuration To Uboot 2009 on MX6 Android 4.2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How To Migrate The DDR Configuration To Uboot 2009 on MX6 Android 4.2

870 次查看
tony_l_cai
Contributor III


Hi All,

Now our board's DDR size has changes from 1GB to 2GB, I have used the DDR stress tool to config the DDR params and pass. But maybe need some changes in uboot 2009 code. Because the MFG uboot load cannot boot and no log, so could you help me? Thank you~

标签 (3)
0 项奖励
回复
2 回复数

715 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Tony

for uboot 2009 changes for new ddr settings should be made in

dcd header file : uboot/board/feescale/mx6q_sabresd/flash_header.S

Best regards

igor

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

0 项奖励
回复

715 次查看
tony_l_cai
Contributor III

Hi,

I have changed it, no others?

such as

/*-----------------------------------------------------------------------

* Physical Memory Map

*/

#define CONFIG_NR_DRAM_BANKS 1

#define PHYS_SDRAM_1 CSD0_DDR_BASE_ADDR

#define PHYS_SDRAM_1_SIZE (2u * 1024 * 1024 * 1024)

#define iomem_valid_addr(addr, size) \

  (addr >= PHYS_SDRAM_1 && addr <= (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE))

Change for the above, still no log

Help me! Thank you~

0 项奖励
回复