Hi All,
I just moved to Android Q10.0.0_2.5.0 from Android P9 for our custom board.
I found that DDR tool (MScale v3.10) canot genearte lpddr4_timing.c for Uboot 5.4.x format.
Is there any new version tool for DDR training and timing code genration?
Best Regards,
YY
Hi yyc1975
v.3.10 is latest version. One can choose necessary format using description
on p.13 MSCALE_DDR_Tool_User_Guide.pdf included in ddr test package:
sect.8. Choose ‘CODE’ format or ‘ARRAY’ format from the dropdown list. Please choose
‘ARRAY’ format for the latest u-boot SPL driver.
Best regards
igor
Hi @igorpadykov ,
I did choose 'ARRAY' and generate code as attached file -- lpddr4_timing_mscale.c.
Compare to the lpddr_timing.c from imx8mq_evk source, quiet different between them.
The comment in lpddr4_timing_mscale.c also mention the code generate by DDR tool is aliagned with specific uboot version.
/*
* Copyright 2019 NXP
*
* SPDX-License-Identifier: GPL-2.0+
*
* Generated code from MX8M_DDR_tool
* Align with uboot version:
* imx_v2018.03_4.14.78_1.0.0_ga ~ imx_v2018.04_4.19.35_1.1.0_ga
*/
Should I just use it? or at least do modification on it?
Best regards,
YY