[U-Boot] [PATCH 2/5] mx35pdk: Provide proper range for memtest

Stefano Babic sbabic at denx.de
Wed Mar 7 14:08:47 CET 2012


On 07/03/2012 13:38, Wolfgang Denk wrote:
> Dear Stefano Babic,
> 
> In message <4F5733F8.6030806 at 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

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list