From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 07 Mar 2012 14:08:47 +0100 Subject: [U-Boot] [PATCH 2/5] mx35pdk: Provide proper range for memtest In-Reply-To: <20120307123847.929E1202C7F@gemini.denx.de> References: <1329061116-3471-1-git-send-email-festevam@gmail.com> <1329061116-3471-2-git-send-email-festevam@gmail.com> <4F5733F8.6030806@denx.de> <20120307123847.929E1202C7F@gemini.denx.de> Message-ID: <4F575DDF.8050808@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- ===================================================================== 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 =====================================================================