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

Wolfgang Denk wd at denx.de
Wed Mar 7 13:38:47 CET 2012


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.

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.

Has anybody actually tested this configuration?

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Always borrow money from a pessimist; they don't expect  to  be  paid
back.


More information about the U-Boot mailing list