[U-Boot] can't build u-boot-2010.12-rc2 for at91rm9200ek

Andreas Bießmann andreas.devel at googlemail.com
Thu Dec 9 11:54:47 CET 2010


Dear Wolfgang Denk,
Dear Albert Aribaud,

Am 09.12.2010 11:26, schrieb Wolfgang Denk:
> Dear Albert ARIBAUD,
> 
> In message <4D007227.7020106 at 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


More information about the U-Boot mailing list