From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 18 Sep 2010 00:02:00 +0200 Subject: [U-Boot] [PATCH 14/26 v2][NEXT] ARM: implement relocation for ARM V7 (OMAP) In-Reply-To: References: <4C62E8C3.8050006@denx.de> <1284721853-8298-1-git-send-email-hs@denx.de> <1284721853-8298-2-git-send-email-hs@denx.de> <1284721853-8298-3-git-send-email-hs@denx.de> <1284721853-8298-4-git-send-email-hs@denx.de> <1284721853-8298-5-git-send-email-hs@denx.de> <1284721853-8298-6-git-send-email-hs@denx.de> <1284721853-8298-7-git-send-email-hs@denx.de> <1284721853-8298-8-git-send-email-hs@denx.de> <1284721853-8298-9-git-send-email-hs@denx.de> <1284721853-8298-10-git-send-email-hs@denx.de> <1284721853-8298-11-git-send-email-hs@denx.de> <1284721853-8298-12-git-send-email-hs@denx.de> <1284721853-8298-13-git-send-email-hs@denx.de> <1284721853-8298-14-git-send-email-hs@denx.de> <1284721853-8298-15-git-send-email-hs@denx.de> Message-ID: <20100917220200.CED8B157D71@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 John, In message you wrote: > > I noticed that when I wrote to ram in the range where u-boot runs > before being relocated sometimes the board hangs. I then narrowed it Stupid question: how did you write to that RAM location? And why? The RAM is not supposed to be accessable before relocation... > down to being able to reproduce the hang by writing to a single byte. > Turns out that __aeabi_uidiv gets called in its original location > after relocation. I believe the culprit is ____aeabi_uidiv_veneer. Where is this coming from? I cannot see this symbol anywhere in U-Boot code... Which tool chain are you using? > Looks like these *veneer routines need to be relocated. Hm... where are they coming from in the first place? Can you please try building with (1) a different tool chain and/or (2) with USE_PRIVATE_LIBGCC=yes on the command line? Does this change anything? 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 Q: What's a light-year? A: One-third less calories than a regular year.