Hi,
I'm trying to run the DDR stress test using the u-boot method on iMX6Q sabreSD board. Following the guide, I place the ddr-test-uboot-jtag-mx6dq.bin binary on the SD card and try to load it to the OCRAM but uboot refused to do this with the following error:
=> fatload mmc 2:1 0x00907000 ddr-test-uboot-jtag-mx6dq.bin
** Reading file would overwrite reserved memory **
The total size of the test binary is around 121K which means it shouldn't be having any problem sitting at 256K of OCRAM. I also tried the starting address of OCRAM 0x0090_0000 but no success, here are the complete steps I followed according to the guide.
U-Boot 2020.04-5.4.47-2.2.0+gffc3fbe7 (Nov 23 2020 - 10:42:56 +0000)
CPU: i.MX6Q rev1.3 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C) at 40C
Reset cause: POR
Model: i.MX6 Quad SABRE Smart Device Board
Board: MX6-SabreSD
DRAM: 1 GiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
MMC: FSL_SDHC: 1, FSL_SDHC: 2, FSL_SDHC: 3
In: serial
Out: serial
Err: serial
flash target is MMC:2
Net:
Warning: ethernet@02188000 using MAC address from ROM
eth0: ethernet@02188000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
=> dcache off
=> icache off
=> fatls mmc 2:1
28908612 fitImage-a
121880 ddr-test-uboot-jtag-mx6dq.bin
2 file(s), 0 dir(s)
=> fatload mmc 2:1 0x00907000 ddr-test-uboot-jtag-mx6dq.bin
** Reading file would overwrite reserved memory **
=> fatload mmc 2:1 0x00900000 ddr-test-uboot-jtag-mx6dq.bin
** Reading file would overwrite reserved memory **
=> fatload mmc 2:1 0x00940000 ddr-test-uboot-jtag-mx6dq.bin
** Reading file would overwrite reserved memory **
Kindly point what's the problem?
Sajjad
It worked for me, I was having the same problem. Now I could ran the DDR Stress Tool with no problems. Thank you
Hello,
This may be caused due to the fact that the u-boot from >= L5.4.24 checks if the load address is in a reserved area of memory for u-boot or not.
You may use the following commands, I used them on my side and it is working:
u-boot> dcache off; icache off; fatload mmc 2:1 0x12000000 ddr-test-uboot-jtag-mx6dq.bin; cp.b 0x12000000 0x00907000 0x20000; go 0x00907000
Please try it and let me know if this does not work.
Thank you,
Regards,
Aldo.