how to change ddr32bit

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

how to change ddr32bit

690 Views
kangmw086
Contributor III

i used imx6q sabreauto.

yocto morty.

u-boot : 2017.03

kernel : 4.9.11-r0

I am using DDR 64bit.

I am trying to convert DDR to 32bit.

Do I need to modify both the U-BOOT and the kernel?

There is a community search result for the 2013 version, but I do not know how to change it in my version.

Please tell me how to change DDR3 64bit to 32bit in my version.

regards!

Labels (3)
0 Kudos
3 Replies

566 Views
igorpadykov
NXP Employee
NXP Employee

Hi k

bus width is defined by DSIZ field MMDC Core Control Register (MMDCx_MDCTL)

register and used in dcd header (file uboot/board/freescale/mx6qsabreauto/*.cfg)

mx6qsabreauto\freescale\board - uboot-imx - i.MX U-Boot 

So necessary to use i.Mx6DQSDL DDR3 Script Aid with 32bit width and run ddr test.

i.MX6ULL_LPDDR2_Script_Aid 

i.MX6/7 DDR Stress Test Tool V3.00 

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

0 Kudos

566 Views
kangmw086
Contributor III

It was the answer I was looking for. Thanks

I set the MDCTL register to 32bit and confirmed that the DDR changed from 2G to 1G.

MDASP and MPDOTCTRL registers have no changes?

The MDASP setup method in the datasheet is complex. Can you give me an example?

regards!!

0 Kudos

566 Views
igorpadykov
NXP Employee
NXP Employee

Hi k

one can use i.Mx6DQSDL DDR3 Script Aid and it sets all registers correctly

i.MX6ULL_LPDDR2_Script_Aid 

Best regards
igor

0 Kudos