AnsweredAssumed Answered

How to recognize 2G DDR3 on imx6q sabresd?

Question asked by jiang shao on Mar 11, 2015
Latest reply on Mar 11, 2015 by Yuri Muhin

I have a im6q sabresd (2G DDR3, OS is android4.4.2), but from u-boot to look ,

DRAM is only 1GB. How to change to make it recognize 2G DDR3?

 

I have changed flash_header.S like this:

 

--- /media/myandroid/work/2g/uboot-imx/board/freescale/mx6q_sabresd/flash_header.S.1g

+++ /media/myandroid/work/2g/uboot-imx/board/freescale/mx6q_sabresd/flash_header .S.2g

@@ -131,9 +131,9 @@

MXC_DCD_ITEM(46, MMDC_P0_BASE_ADDR + 0x02c, 0x000026d2)

 

MXC_DCD_ITEM(47, MMDC_P0_BASE_ADDR + 0x030, 0x00431023)

-MXC_DCD_ITEM(48, MMDC_P0_BASE_ADDR + 0x040, 0x00000017)

-

-MXC_DCD_ITEM(49, MMDC_P0_BASE_ADDR + 0x000, 0x83190000)

+MXC_DCD_ITEM(48, MMDC_P0_BASE_ADDR + 0x040, 0x00000047)

+

+MXC_DCD_ITEM(49, MMDC_P0_BASE_ADDR + 0x000, 0x841a0000)

 

MXC_DCD_ITEM(50, MMDC_P0_BASE_ADDR + 0x01c, 0x04008032)

MXC_DCD_ITEM(51, MMDC_P0_BASE_ADDR + 0x01c, 0x00008033)

@@ -250,9 +250,9 @@

MXC_DCD_ITEM(68, MMDC_P0_BASE_ADDR + 0x01c, 0x00008000)

MXC_DCD_ITEM(69, MMDC_P0_BASE_ADDR + 0x02c, 0x000026d2)

MXC_DCD_ITEM(70, MMDC_P0_BASE_ADDR + 0x030, 0x00431023)

-MXC_DCD_ITEM(71, MMDC_P0_BASE_ADDR + 0x040, 0x00000027)

-

-MXC_DCD_ITEM(72, MMDC_P0_BASE_ADDR + 0x000, 0x831A0000)

+MXC_DCD_ITEM(71, MMDC_P0_BASE_ADDR + 0x040, 0x00000047)

+

+MXC_DCD_ITEM(72, MMDC_P0_BASE_ADDR + 0x000, 0x841A0000)

 

# Initialize 2GB DDR3 - Micron MT41J128M

MXC_DCD_ITEM(73, MMDC_P0_BASE_ADDR + 0x01c, 0x04008032)

@@ -363,9 +363,9 @@

MXC_DCD_ITEM(68, MMDC_P0_BASE_ADDR + 0x01c, 0x00008000)

MXC_DCD_ITEM(69, MMDC_P0_BASE_ADDR + 0x02c, 0x000026D2)

MXC_DCD_ITEM(70, MMDC_P0_BASE_ADDR + 0x030, 0x005A1023)

-MXC_DCD_ITEM(71, MMDC_P0_BASE_ADDR + 0x040, 0x00000027)

-

-MXC_DCD_ITEM(72, MMDC_P0_BASE_ADDR + 0x000, 0x831A0000)

+MXC_DCD_ITEM(71, MMDC_P0_BASE_ADDR + 0x040, 0x00000047)

+

+MXC_DCD_ITEM(72, MMDC_P0_BASE_ADDR + 0x000, 0x841A0000)

 

MXC_DCD_ITEM(73, MMDC_P0_BASE_ADDR + 0x01c, 0x04088032)

MXC_DCD_ITEM(74, MMDC_P0_BASE_ADDR + 0x01c, 0x00008033)

 

but does NOT work.

Outcomes