how to change ddr32bit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to change ddr32bit

1,410件の閲覧回数
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!

ラベル(3)
0 件の賞賛
返信
3 返答(返信)

1,286件の閲覧回数
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 件の賞賛
返信

1,286件の閲覧回数
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 件の賞賛
返信

1,286件の閲覧回数
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 件の賞賛
返信