public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Reinhard Meyer <u-boot@emk-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] can't build u-boot-2010.12-rc2 for at91rm9200ek
Date: Thu, 09 Dec 2010 12:27:29 +0100	[thread overview]
Message-ID: <4D00BD21.7030604@emk-elektronik.de> (raw)
In-Reply-To: <4D00B577.1040103@gmail.com>

Dear Andreas Bie?mann,
> 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 ;)

Certainly you are referring to relocate.c, or even better adding the "C"
relocation to the arm generic board.c on the path to an u-boot generic
board.c :)

We should only need a small stub in assembly for stack and pc switching.

"Patches welcome" :)

Best Regards,
Reinhard

      reply	other threads:[~2010-12-09 11:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09  5:56 [U-Boot] can't build u-boot-2010.12-rc2 for at91rm9200ek zzs213
2010-12-09  6:07 ` Albert ARIBAUD
2010-12-09  6:49   ` zzs213
2010-12-09  7:07   ` zzs213
2010-12-09  7:27     ` Albert ARIBAUD
2010-12-09  7:45       ` zzs213
2010-12-09  7:31     ` Andreas Bießmann
2010-12-09  8:39       ` zzs213
2010-12-09  9:25         ` Andreas Bießmann
2010-12-09  9:59           ` zzs213
     [not found]         ` <57fc34.989e.12cca8b8204.Coremail.zzs213@126.com>
2010-12-09  9:59           ` Andreas Bießmann
2010-12-09 10:08             ` zzs213
2010-12-09 10:26   ` Wolfgang Denk
2010-12-09 10:54     ` Andreas Bießmann
2010-12-09 11:27       ` Reinhard Meyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D00BD21.7030604@emk-elektronik.de \
    --to=u-boot@emk-elektronik.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox