From: Wolfgang Denk Date: Thu, 13 Aug 2009 19:57:04 +0200 Subject: [U-Boot] Incorrect memtest range on MPC8536DS In-Reply-To: <4A843B9B.2000203@embedded-sol.com> References: <4A843B9B.2000203@embedded-sol.com> Message-ID: <20090813175704.BDFC6833DBD2@gemini.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 Dear Felix Radensky, In message <4A843B9B.2000203@embedded-sol.com> you wrote: > Hi, > > If run without arguments, mtest hangs on MPC8536DS. > I guess this is because of the following definitions: > > #define CONFIG_SYS_MEMTEST_START 0x00000000 > #define CONFIG_SYS_MEMTEST_END 0x7fffffff > > I was able to successfully run mtest on 0x00100000 - 0x10000000. > > What is the largest safe range for this platform ? It depends on RAM size and stack usage. Usually 1 or 2 MB below stack base is safe enough. 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 core error - bus dumped