i.mx8mm ddr test failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.mx8mm ddr test failed

1,680 Views
wuhanlin
Contributor I

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...

Labels (1)
Tags (1)
0 Kudos
1 Reply

1,618 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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

0 Kudos