Hello
I have download 5.10.52 and complete build. and then success flash emmc as below.
uuu -b emmc_all imx-boot-imx8mnddr4ab2-ab2.bin-flash_ddr4_evk fsl-image-af-littlekernel-imx8mnddr4ab2-20220110053440.rootfs.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.139-0-g1a8f760
Success 1 Failure 0
1:13 8/ 8 [Done ] FB: done
But, boot was failed like emmc_boot_fail_ab2.txt attached file.
Let me know any clue to solve this issue.
thanks
Bryan
Hello igor, thasnk for your reply and sorry for late my response.
Anyway,
I have 2 ea compute module for i.mx8mn and download emmc each compute module's emmc using uuu as below
A = imx-boot-imx8mnddr4ab2-ab2.bin-flash_ddr4_evk + fsl-image-af-littlekernel-imx8mnddr4ab2-20220110053440.rootfs.wic
B = imx-boot-imx8mnddr4evk-sd.bin-flash_ddr4_evk + fsl-image-af-littlekernel-imx8mnddr4ab2-20220110053440.rootfs.wic
AND I have install each A, B compute module in AB2. and then
Case 1 is that the booting was failed on A + AB2. This is before `emmc_boot_fail_ab2.txt`
Case 2 is that the booting was succeed on B + AB2.
If we look at Case 2, My opinion is that this issue doesn't seem to be related to ddr stress test.
The only difference is the bootloader. so When I write to emmc, Which bootloader file should I use?
Finally, I don't understand below on your comments.
image updated according to ddr test documentation
It would be nice if you could capture detailed commands or reference points.
thanks
Bryan
> image updated according to ddr test documentation
please download ddr test package, inside there is MSCALE_DDR_Tool_User_Guide.pdf.
p.13 shows steps for updating image.
Best regards
igor
had you updated image as described in p.13 MSCALE_DDR_Tool_User_Guide.pdf
"9. Press Gen Code button to generate u-boot SPL DDR initialization code."
put it on below and rebuild image
Best regards
igor
Hello igor
1. I replace
tmp/work/imx8mnddr4ab2-poky-linux/u-boot-imx/2021.04-r0/git/board/freescale/imx8mm_ab2/ddr4_imx8mn_som.c with file generated by click `Gen Code button`.
2.
bitbake -c clean -f u-boot-imx
bitbake -c compile -f u-boot-imx
bitbake u-boot-imx
bitbake -c cleansstate fsl-image-af-littlekernel
bitbake fsl-image-af-littlekernel
3.
uuu -b emmc_all imx-boot-imx8mnddr4ab2-ab2.bin-flash_ddr4_evk fsl-image-af-littlekernel-imx8mnddr4ab2-20220110053440.rootfs.wic
and then, the booting was failed with same issue.
Since I modified the u-boot file(ddr4_imx8mn_som.c), I think I need to replace the u-boot instead of the bootloader(imx-boot-imx8mnddr4ab2-ab2.bin-flash_ddr4_evk), right? If so, let me know how to replace u-boot by using `uuu`. or other way.
thanks
Bryan
@bryan_hong
Hello,
I think, it makes sense to rebuild U-boot with new memory initialization
under stand alone configuration. Look at Chapter 3 (Porting U-Boot)
of "IMX_PORTING_GUIDE.pdf".
https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf
Regards,
Yuri.
Hi Bryan
had board passed ddr test and image updated according to ddr test documentation
Best regards
igor