Good day all,
we are trying to bring-up and run the DDR stress tests on a custom designed i.MX8M mini board.
our design is DDR4(Contains 2 Micron DDR4 of 1GB) + EMMC
For some reason the attachments upload doesn't work so here is the output from the custom board:
Downloading file 'bin\ddr4_train1d_string.bin' ..Done
Downloading file 'bin\ddr4_train2d_string.bin' ..Done
Downloading file 'bin\ddr4_imem_1d.bin' ..Done
Downloading file 'bin\ddr4_dmem_1d.bin' ..Done
Downloading file 'bin\ddr4_imem_2d.bin' ..Done
Downloading file 'bin\ddr4_dmem_2d.bin' ..Done
Downloading IVT header...Done
Downloading file 'bin\m845s_ddr_stress_test.bin' ...Done
Download is complete
Waiting for the target board boot...
Hi,
You use a different DDR capacity from EVK, so you need to do 2 things:
1. Modify DDR SIZE in u-boot
In uboot-imx/include/configs/imx8mm_evk.h:
#define CONFIG_SYS_SDRAM_BASE 0x40000000
#define PHYS_SDRAM 0x40000000
#define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */
2. Do ddr stress test
--Use RPA tool to get the .inc file needed by ddr stress tester
--Copy this .inc file to the CPU directory corresponding to ddr stress tester
--Start ddr stress tester, do calibration, get the timing file
- Replace the original timing file in u-boot with this timing file
--Compile u-boot.
[Note]
1. RPA
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8MMini-m845S-DDR-Register-Programmin...
2. ddr stress test
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/110...
Hope this information is helpful to you.
Have a nice day!
B.R,
weidong