Changing DDR memory map in SabreSD

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

Changing DDR memory map in SabreSD

2,654 次查看
vijaikumar
Contributor III

Hi,

     We are developing a custom board based on SABRESD reference platform. We use a lpddr instead of ddr3. Our DDR memory map is configured as single channel, we would like to change it to fixed 2x32 map. Is there any means we can do this in software?

标签 (1)
0 项奖励
回复
5 回复数

2,084 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vijai

i.MX6 uboot DDR configuration contained in:

for LTIB BSP:

<u-boot directory>/board/freescale/mx6q_sabresd/flash_header.S

for Yocto BSP:

<u-boot directory>/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg

also configuration is defined in uboot/include/configs/*board*.h files, like

#define CONFIG_NR_DRAM_BANKS   

#define PHYS_SDRAM_1     

#define PHYS_SDRAM_1_SIZE

then uboot passes ddr configuration to kernel.

Best regards

igor

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

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

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

0 项奖励
回复

2,084 次查看
vijaikumar
Contributor III

Hi igorpadykov

                             Actually in our hardware the fusemap is set as single channel. I want to override the fusemap provided in hardware. I heard that we can burn the fuses. But I donot know the procedure for the same. It would be great if you could guide me on this.

0 项奖励
回复

2,084 次查看
igorpadykov
NXP Employee
NXP Employee

MMDCx_MDMISC , LPDDR2_2CH bit sets 2-channels mode

~igor

0 项奖励
回复

2,084 次查看
vijaikumar
Contributor III

Hi igorpadykov

                             Those DCD values will be generated by the LPDDR2 excel sheet provided by freescale. I checked my DCD table, it is configured as dual channel. However in hardware fusemap it is fixed as Single channel. I would like to know the procedure to override that.

     Screenshot from 2015-06-11 15_01_59.png

0 项奖励
回复

2,084 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vijai

one can blow this fuse using:

Q&A: How to program i.MX6 eFUSE?

https://community.freescale.com/docs/DOC-95458

Best regards

igor

0 项奖励
回复