Hi TI,
We are trying to test the full DDR RAM in u-boot using mtest command. We have defined the memtest start address and end address in in u-boot/include/configs/<our board>.h as
#define CONFIG_SYS_MEMTEST_START 0x80000000
#define CONFIG_SYS_MEMTEST_END 0x9fffffff
Our DDR total size is 512 MB. And EMIF start address is 0x80000000 and end address is 0x9fffffff ( START_ADDRESS + (512*1024*1024)).
When we run mtest command at u-boot prompt to test full DDR memory, uboot hangs when we execute,
=> mtest 0x80000000 0x9FFFFFFF 0xAA55AA55 1
Testing 80000000 ... 9fffffff:
Pattern AA55AA55 Writing...
But we were able to do testing without the hanging issue upto 0x9d000000 end address,
=> mtest 0x80000000 0x9D000000 0xaa55aa55 1
Testing 80000000 ... 9d000000:
Pattern AA55AA55 Writing... Reading...Tested 1 iteration(s) with 0 errors.
Whether any other configurations need to be checked/included? Please help us to test the full DDR size using mtest command in u-boot.
Regards,
Monish P