Imx8m mini ddr stress test

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

Imx8m mini ddr stress test

Jump to solution
2,680 Views
vladimir_dolzhe
Contributor III

We have custom board with samsung LPDDR4 (https://www.samsung.com/semiconductor/dram/lpddr4/K4F8E304HB-MGCJ/). I try to use mscale_ddr_tool_v310 and mx8mm_micron_lpddr4_2gb_2d_1500m_200m_50m_32bit_1cs_RPAv15.ds скрипт.

1) Result in UART in Linux:

*************************************************************************
MX8 DDR Stress Test V3.10
Built on Feb 5 2020 13:04:09
*************************************************************************

--Set up the MMU and enable I and D cache--
- This is the Cortex-A53 core
- Check if I cache is enabled
- Enabling I cache since it was disabled
- Push base address of TTB to TTBR0_EL3
- Config TCR_EL3
- Config MAIR_EL3
- Enable MMU
- Data Cache has been enabled
- Check system memory register, only for debug

- VMCR Check:
- ttbr0_el3: 0x93d000
- tcr_el3: 0x2051c
- mair_el3: 0x774400
- sctlr_el3: 0xc01815
- id_aa64mmfr0_el1: 0x1122

- MMU and cache setup complete

*************************************************************************
ARM clock(CA53) rate: 1800MHz
DDR Clock: 1500MHz

============================================
DDR configuration
DDR type is LPDDR4
Data width: 32, bank num: 8
Row size: 16, col size: 10
One chip select is used
Number of DDR controllers used on the SoC: 1
Density per chip select: 2048MB
Density per controller is: 2048MB
Total density detected on the board is: 2048MB
============================================

Please re-download with the correct value

2) Result in virtual machine on Windows 7:

Downloading file 'bin\lpddr4_train1d_string.bin' ..Done

Downloading file 'bin\lpddr4_train2d_string.bin' ..Done

Downloading file 'bin\lpddr4_pmu_train_1d_imem.bin' ..Done

Downloading file 'bin\lpddr4_pmu_train_1d_dmem.bin' ..Done

Downloading file 'bin\lpddr4_pmu_train_2d_imem.bin' ..Done

Downloading file 'bin\lpddr4_pmu_train_2d_dmem.bin' ..Done

Downloading IVT header...Done
Downloading file 'bin\m845s_ddr_stress_test.bin' ...Done

Download is complete
Waiting for the target board boot...

 

 

0 Kudos
Reply
1 Solution
2,668 Views
igorpadykov
NXP Employee
NXP Employee

Hi vladimir_dolzhe

 

micron script is not for samsung devices, for samsung LPDDR4 please use

RPA tool from link

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/110...

 

1.jpg

 

Best regards
igor

View solution in original post

0 Kudos
Reply
3 Replies
2,669 Views
igorpadykov
NXP Employee
NXP Employee

Hi vladimir_dolzhe

 

micron script is not for samsung devices, for samsung LPDDR4 please use

RPA tool from link

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/110...

 

1.jpg

 

Best regards
igor

0 Kudos
Reply
2,662 Views
vladimir_dolzhe
Contributor III

I entered data for my LPDDR4 memory to *.xlsx and the necessary script was automatically generated. Everything works, thank you.

0 Kudos
Reply
2,676 Views
vladimir_dolzhe
Contributor III

Maybe you can tell me how to fix the script to make it work? Connecting memory to the processor as in the reference board imx8m mini.

0 Kudos
Reply