Changing DDR memory map in SabreSD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing DDR memory map in SabreSD

1,437 Views
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?

Labels (1)
0 Kudos
5 Replies

867 Views
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 Kudos

867 Views
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 Kudos

867 Views
igorpadykov
NXP Employee
NXP Employee

MMDCx_MDMISC , LPDDR2_2CH bit sets 2-channels mode

~igor

0 Kudos

867 Views
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 Kudos

867 Views
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 Kudos