
On 07/03/2012 13:38, Wolfgang Denk wrote:
Dear Stefano Babic,
In message 4F5733F8.6030806@denx.de you wrote:
+#define CONFIG_SYS_MEMTEST_START (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE/2) +#define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE)
#undef CONFIG_SYS_CLKS_IN_HZ /* everything, incl board info, in Hz */
Applied to u-boot-imx, thans.
But this looks broken to me.
Me too. I have not applied this patch. Rather I sent the "applied" message to the wrong patchset.
U-Boot will relocate itself to the end of RAM, and pout malloc arena and stack below. All this will be overwritten with this setup.
This was stated also in the thread related this patchset. Sorry for the confusion, I have really applied another patchset by Fabio, as you can see on u-boot-imx:
mx31pdk: Fix CONFIG_SYS_MEMTEST_END efikamx: Fix CONFIG_SYS_MEMTEST_END mx53smd: Fix CONFIG_SYS_MEMTEST_END mx53evk: Fix CONFIG_SYS_MEMTEST_END mx51evk: Fix CONFIG_SYS_MEMTEST_END
In patchworks things are ok, only my e-mail was wrong (reply to wrong e-mail).
Best regards, Stefano Babic