Hi Sun,
My uboot was cut and downloaded in IRAM, I test DDR by it. And from my test,our DDR density is 1GB,and the CS0_END is 0x27,from FSL expression DDR_CS_SIZE/32MB +0x07=CS0_END,so I confirm the end addr is 0x5000 0000,ok,we can end at 0x4fff ffff,but when mtest 0x1000 0000 0x4fff ffff, the test always pours out the failure log:
FAILURE (read/write): @ 0x1001bd68: expected 0xf403d90a, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd6c: expected 0xf403d909, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd70: expected 0xf403d908, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd74: expected 0xf403d907, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd78: expected 0xf403d906, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd7c: expected 0xf403d905, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd80: expected 0xf403d904, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd84: expected 0xf403d903, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd88: expected 0xf403d902, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd8c: expected 0xf403d901, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd90: expected 0xf403d900, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd94: expected 0xf403d8ff, actual 0x00000000)
FAILURE (read/write): @ 0x1001bd98: expected 0xf403d8fe, actual 0x00000000)
And I found that mtest ,at the beginning, will stuck there for long time,just like hanging, then it will pour out the log. and I dont know whether the accuracy of the DDR W/R test will be impacted after hanging.