From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Date: Fri, 13 Apr 2012 18:14:07 +0200 Subject: [U-Boot] [PATCH] mx6qsabresd: Add basic support In-Reply-To: References: <1334158122-15219-1-git-send-email-festevam@gmail.com> <20120411194925.26CEC200239@gemini.denx.de> <20120411213625.3572A200239@gemini.denx.de> Message-ID: <4F8850CF.1010201@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 13.04.2012 17:56, Fabio Estevam wrote: > On Wed, Apr 11, 2012 at 6:36 PM, Wolfgang Denk wrote: > >> Does testing just the first 64 KiB of RAM make any sense? Not to me. > > Ok, I will expand the mtest range. > >> BTW: where are the exception vectors located? > > I don't know actually, but would like to learn about it. Looked at the > generated u-boot.map and could not find it out. > > Stefano, > > Can you please help me to find a safer DDR location for performing > mtest on mx6? I think we probably have the same issues on other i.MX > processors as well. Do you know how can I locate the address range > that the exception vectors occupy? Regarding the exception vectors: I would think that the code of the U-Boot exception vectors are located at #define CONFIG_SYS_TEXT_BASE 0x17800000 and #define CONFIG_LOADADDR 0x10800000 after relocation using http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=arch/arm/cpu/armv7/start.S;h=ef08a55abc2c6189062c9d87c36d5d042139017c;hb=HEAD#l37 and http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=arch/arm/cpu/u-boot.lds;h=e49ca0c5522912ba8849182105cf141e04d0c6b3;hb=HEAD#l36 So as long as we don't have the MMU enabled, these vectors aren't used at all. I would expect that the BootRom exception vectors at address 0x00000000 are used, instead. I might be wrong, so people please correct me ;) Best regards Dirk