public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Pearse <peter.pearse@arm.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [patch 0/3] KB9202 CodeSourcery ARM EABI toolchainbuild fixes
Date: Wed, 23 Jan 2008 15:37:49 -0000	[thread overview]
Message-ID: <000101c85dd5$e94cc980$9a4d010a@Emea.Arm.com> (raw)
In-Reply-To: <20071025161052.790841794@sig21.net>


> -----Original Message-----
> From: u-boot-users-bounces at lists.sourceforge.net 
> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf 
> Of Johannes Stezenbach
> Sent: 25 October 2007 17:11
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] [patch 0/3] KB9202 CodeSourcery ARM 
> EABI toolchainbuild fixes
> 
> Hi,
> 
> I'm pretty new to u-boot and ARM stuff, so please review carefully.
>

I'll use my careful review as the reason this reply is so late ;-)
 
> I wanted to build u-boot-1.3.0-rc3 for the KwikByte KB9202 
> board with the current ARM toolchain from CodeSourcery.
> I needed the following three patches to get it to build.
> 
> The first one is probably a bugfix needed for other toolchains, too.

Thanks for this - it has alerted me to the use of 
sub rx, rx, #CONSTANT in several of the ARM .S assembler files.
Whilst sub rx, rx, #CONSTANT saves code size it does demand
that users understand their constants, what they are for and where
they are used.
For ARM #CONSTANT in this context must be capable of being formed by
rotating
an 8 bit constant in a 32 bit register 
e.g. 0x22000 is allowed whereas 0x20200 is not.

I am going to reject your patch though. It is the code that should be
changed.
I have added an action to my list of required patches 
http://www.denx.de/wiki/UBoot/PatchStatus to examine the use of constants in
the ARM assembler 
code. 

> The other two patches are specific to the CodeSourcery 
> toolchain (or probably to any EABI toolchain with gcc-4.2.x). 
> I haven't checked if they break the build for other ARM 
> toolchains, so it's probably better to not apply them unless 
> someone else confirms they're OK.
>

Thanks for submitting these - they will be of use/interest to users building
EABI code. 

However I do not propose to submit them to the main tree since they are
toolchain
specific. The standard toolchain for building U-Boot is that supplied in the
ELDK
http://www.denx.de/wiki/DULG/ELDK.
Of course many users have reasons for using others, however to support all
possible
toolchains would result in a support nightmare.....

Sorry for the delayed response

Regards

Peter

  parent reply	other threads:[~2008-01-23 15:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-25 16:10 [U-Boot-Users] [patch 0/3] KB9202 CodeSourcery ARM EABI toolchain build fixes Johannes Stezenbach
2007-10-25 16:10 ` [U-Boot-Users] [patch 1/3] KB9202 compile fix Johannes Stezenbach
2007-11-03 21:27   ` Wolfgang Denk
2007-11-03 22:38     ` Johannes Stezenbach
2007-10-25 16:10 ` [U-Boot-Users] [patch 2/3] KB9202 EABI build with CodeSourcery EABI toolchain Johannes Stezenbach
2007-11-03 21:28   ` Wolfgang Denk
2007-11-03 22:20     ` Johannes Stezenbach
2007-11-05  9:04       ` [U-Boot-Users] [patch 2/3] KB9202 EABI build withCodeSourcery " Peter Pearse
2007-11-05 10:37         ` Johannes Stezenbach
2007-11-05 19:20           ` Wolfgang Denk
2007-10-25 16:10 ` [U-Boot-Users] [patch 3/3] KB9202 build fix for CodeSourcery " Johannes Stezenbach
2008-01-23 15:37 ` Peter Pearse [this message]
2008-01-24 15:10   ` [U-Boot-Users] [patch 0/3] KB9202 CodeSourcery ARM EABI toolchainbuild fixes Johannes Stezenbach

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='000101c85dd5$e94cc980$9a4d010a@Emea.Arm.com' \
    --to=peter.pearse@arm.com \
    --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