From: Wolfgang Denk Date: Thu, 09 Dec 2010 11:26:09 +0100 Subject: [U-Boot] can't build u-boot-2010.12-rc2 for at91rm9200ek In-Reply-To: <4D007227.7020106@free.fr> References: <254449.55bd.12cc9b36881.Coremail.zzs213@126.com> <4D007227.7020106@free.fr> Message-ID: <20101209102609.E7909D08A93@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 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. 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 You see things; and you say ``Why?'' But I dream things that never were; and I say ``Why not?'' - George Bernard Shaw _Back to Methuselah_ (1921) pt. 1, act 1