IMX6 DDR Stress Test - Uboot

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

IMX6 DDR Stress Test - Uboot

Jump to solution
2,442 Views
batwings
Contributor II

We have an imx6 design based on a 3rd party reference design but the DDR settings were not calibrated and are different than the ref design.  The system works well for sometimes days and sometimes only hours before getting various kernel panics across random applications (including system applications) and want to stress test the DDR.

I want to test this via the uboot option (Option 3) here:

i.MX6/7 DDR Stress Test Tool V3.00 

We are using a MCIMX6S5EVM10ACR.    

I copied ddr-test-uboot-jtag-mx6dl.bin to /boot directory of my sdcard.   I start u-boot and when I run it I do the fatload command it gives me an unrecognixed filesystem type for the file.

I looked at this: I.MX6soloX kernel segmentation issue  

Do I need to change my Uboot script in order to use the ddr-test-uboot-jtag-mx6dl.bin?  I don't under the config file that is included on that issue: imximage.cfg\mx6sxsabresd\freescale\board - uboot-imx - i.MX U-Boot 

==================

U-Boot 2018.01-02296-g457cdd60c3-dirty (Oct 08 2019 - 18:51:13 +0000)

CPU: Freescale i.MX6SOLO rev1.2 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 51C
Reset cause: WDOG
Board: MX6 
Watchdog enabled
DRAM: start get_ram_size_stride_test
get_ram_size_stride_test: Done Size is 536870912
512 MiB
MMC: MMC board init - in config-spl-build
setup usdhc2
setup usdhc3
FSL_SDHC: 0, FSL_SDHC: 1
Get MMC card detect
Get MMC card detect - USDHC2
MMC partition switch failed
*** Warning - MMC partition switch failed, using default environment

No panel detected: default to HDMI
Display: HDMI (1024x768)
In: serial
Out: serial
Err: serial
MMC partition switch failed
!MMC partition switch failed
Device is MX6DL
check if has emmc?
Has emmc = yes
Net: in board_eth_init start clock
in phy config back from mx6_rgmii_rework
FEC
Hit any key to stop autoboot: 0
=>
=> mmc dev 0
Get MMC card detect
Get MMC card detect - USDHC2
switch to partitions #0, OK
mmc0 is current device
=> ls mmc 0:1
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 16384 lost+found
<DIR> 4096 bin
<DIR> 4096 boot
<DIR> 4096 dev
<DIR> 4096 etc
<DIR> 4096 home
<DIR> 4096 lib
<DIR> 4096 media
<DIR> 4096 mnt
<DIR> 4096 opt
<DIR> 4096 proc
<DIR> 4096 root
<DIR> 4096 run
<DIR> 4096 sbin
<DIR> 4096 srv
<DIR> 4096 sys
<DIR> 4096 tmp
<DIR> 4096 usr
<DIR> 4096 var
<SYM> 27 zImage
18571264 core

=> dcache off
=> icache off
=> fatload mmc 0:1 0x00907000 /boot/ddr-test-uboot-jtag-mx6dl.bin
** Unrecognized filesystem type **

=> ls mmc 0:1 /boot
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 4096 dtbs
2873582 System.map-4.9.124-imx6
164671 config-4.9.124-imx6
7133560 zImage-4.9.124-imx6
<SYM> 22 zImage
<SYM> 26 initrd
<SYM> 20 dtb-dir
<SYM> 20 dtb
9110479 initrd.img-4.9.124-imx6
1301 selectkernel.sh
<DIR> 4096 extlinux
191 uEnv.txt
71812 ddr-test-uboot-jtag-mx6dl.bin

0 Kudos
Reply
1 Solution
1,921 Views
batwings
Contributor II

To followup, the sd card is formated ext4, the correct solution was to change 

=> fatload mmc 0:1 0x00907000 /boot/ddr-test-uboot-jtag-mx6dl.bin

to 

=> ext4load mmc 0:1 0x00907000 /boot/ddr-test-uboot-jtag-mx6dl.bin

View solution in original post

0 Kudos
Reply
2 Replies
1,922 Views
batwings
Contributor II

To followup, the sd card is formated ext4, the correct solution was to change 

=> fatload mmc 0:1 0x00907000 /boot/ddr-test-uboot-jtag-mx6dl.bin

to 

=> ext4load mmc 0:1 0x00907000 /boot/ddr-test-uboot-jtag-mx6dl.bin

0 Kudos
Reply
1,921 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jason

thank for sharing solution, also for ddr tool usage may be useful below presentation

DES-N1936 i.MX 6UltraLite DDR Tools Overview and Hardware Design Considerations 

Best regards
igor

0 Kudos
Reply