From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= Date: Thu, 09 Dec 2010 11:54:47 +0100 Subject: [U-Boot] can't build u-boot-2010.12-rc2 for at91rm9200ek In-Reply-To: <20101209102609.E7909D08A93@gemini.denx.de> References: <254449.55bd.12cc9b36881.Coremail.zzs213@126.com> <4D007227.7020106@free.fr> <20101209102609.E7909D08A93@gemini.denx.de> Message-ID: <4D00B577.1040103@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang Denk, Dear Albert Aribaud, Am 09.12.2010 11:26, schrieb Wolfgang Denk: > Dear Albert ARIBAUD, > > In message <4D007227.7020106@free.fr> you wrote: >> >>> start.S:251: Error: bad arguments to instruction -- `add r1,r9' >>> >>> It looks a illegal instruction in start.S >>> >>> my toolchain is eldk4.1 >> >> ELDK 4.1 seems a bit old -- 4.2 has been available for some time now and >> does not have the issue with this instruction. >> >> If you really cannot use 4.2, then you can rewrite the instruction in >> its canonical form: 'add r1,r1,r9'. > > Well, we should actually do that. > > Patch following. So you need to fix _all_ of the arch/arm/cpu/*/start.S cause this was copied from one relocation code to the other. Another cause to introduce a relocate.S in near future ;) regards Andreas Bie?mann