Hi,
For i.MX8M , how the "lpddr4_pmu_train_1d_dmem.bin, lpddr4_pmu_train_1d_imem.bin, lpddr4_pmu_train_2d_dmem.bin" are generated, source code path?
For custom boards, can we use the "lpddr*.bin" binary files which are generated while building yocto for iMX8M EVK board?
We have done DDR calibration, stress test and generated code(ddr_init.c, ddrphy_train.c) and did uboot standalone compilation after adding above code to uboot. Is this fine or do we have to update "lpddr*.bin" binary files also after ddr calibration? Is there any relation among them?
Kindly clarify my doubts.
Thanks in advance.
Regards,
Yashavantha
Is the problem fixed? I have the same problem.
Please help!!!!
Hi Yashavantha
>For custom boards, can we use the "lpddr*.bin" binary files which are generated while building yocto for iMX8M >EVK board?
yes, "lpddr4_pmu_train_1d_dmem.bin, lpddr4_pmu_train_1d_imem.bin, lpddr4_pmu_train_2d_dmem.bin"
are not generated by customers, source code is not available. There is no need to update "lpddr*.bin" binary files.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
And what happens if we have different DDR chip, not the same which is used in imx8-evk?
We can use the same DDR .bin files? Like lpddr4_pmu_train_fw.bin?
Thanks,
Yan
Hello Mr. Padykov,
Could you guide me how to correctly build the uboot image?
I tried using the commands:
cd ~/android_build
source build/envsetup.sh
lunch evk_8mm-userdebug
./imx-make.sh bootloader -j2 2>&1 | tee build-log.txt
I do catch warnings like:
"WARNING '/home/mihai-gisca/android_build/vendor/nxp-opensource/uboot-imx/lpddr4_pmu_train_1d_imem.bin' not found, resulting binary is not-functional"
but the build terminates successfully. When booting the entire image, a "Can validate IVT header" error is received.
My question is: is there a specific way in which the binary files from android_build/vendor/nxp-source/imx-mkimage/iMX8M should be added?
README in android_build/vendor/nxp-source/imx-mkimage gives some insights, but I cannot figure it out.
Also here: Error "Can validate IVT header" when flashing imx8m mini
Best regards,
Mihai Gîsca