[U-Boot] Memory test post relocation

DaveKucharczyk david.kucharczyk at gmail.com
Thu Nov 13 23:19:20 CET 2014


We have 2GB’s of RAM starting at 0x70000000 on our Freescale MX53 based
board. 

With old U-Boot we defined TEXT_BASE at the bottom of RAM at 0x70600000 and
CONFIG_SKIP_RELOCATE_UBOOT, presumably so that we can run memory tests all
the way to the top of RAM (this was brought over from the mx53loco board and
precedes me). Why else would CONFIG_SKIP_RELOCATE_UBOOT be set? 

In new U-Boot we are not skipping relocation. I define CONFIG_SYS_TEXT_BASE
= 0xeff89000 so that relocation offset is 0x00000000.

I run with DEBUG on to doublecheck where things get setup…

I run a memory test from 0x70000000 to 0xefe88cb0, but I get a mismatch fail
at 0xefe88aa4.

Shouldn’t I be able to run mem test all the way to the stack? I don’t see
anything else being setup under the stack.




--
View this message in context: http://u-boot.10912.n7.nabble.com/Memory-test-post-relocation-tp196088.html
Sent from the U-Boot mailing list archive at Nabble.com.


More information about the U-Boot mailing list