All of lore.kernel.org
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5] ARM: Add Calxeda Highbank platform
Date: Wed, 24 Aug 2011 10:37:54 +0200	[thread overview]
Message-ID: <4E54B862.2070000@aribaud.net> (raw)
In-Reply-To: <4E53B9F9.7020109@gmail.com>

Le 23/08/2011 16:32, Rob Herring a ?crit :
> Albert,
>
> On 08/21/2011 02:28 PM, Rob Herring wrote:
>> On 08/21/2011 09:40 AM, Albert ARIBAUD wrote:
>>> Hi Rob,
>>>
>>> Le 21/08/2011 15:16, Rob Herring a ?crit :
>>>> From: Rob Herring<rob.herring@calxeda.com>
>>>>
>>>> Add basic support for Calxeda Highbank platform. Only minimal support
>>>> with
>>>> serial and SATA are included.
>>>>
>>>> Signed-off-by: Jason Hobbs<jason.hobbs@calxeda.com>
>>>> Signed-off-by: Rob Herring<rob.herring@calxeda.com>
>>>> Cc: Albert ARIBAUD<albert.u.boot@aribaud.net>
>>>> ---
>>>
>>> This applies to u-boot-arm/master, with three empty lines at end of new
>>> files removed, but the compilation with ELDK 4.2 fails with:
>>>
>>> uboot at lilith:~/src/u-boot-arm$ ./MAKEALL highbank
>>> Configuring for highbank board...
>>> include/common.h:0: error: bad value (armv7-a) for -march= switch
>>> include/common.h:0: error: bad value (armv7-a) for -march= switch
>>> lib/asm-offsets.c:1: error: bad value (armv7-a) for -march= switch
>>> make: *** [lib/asm-offsets.s] Erreur 1
>>> arm-linux-size: './u-boot': No such file
>>>
>>> --------------------- SUMMARY ----------------------------
>>> Boards compiled: 1
>>> Boards with warnings or errors: 1 ( highbank )
>>> ----------------------------------------------------------
>>>
>>> Seems like ELDK 4.2 does not know armv7-a. Is it a requirement that this
>>> board build with this march flag?
>>>
>>
>> With device tree, there are lots of endian conversions. With v7, those
>> conversions are a single inline "rev" instruction vs. 10-20 assembly
>> instructions. Since there is no state maintained in the fdt code, the
>> conversions are done over and over.
>>
>> So there's not a hard requirement, but it is something I will always set
>> and I imagine others with v7 platforms will want to also. I think Tegra
>> prevents doing this change globally.
>>
>
> What do you want to do here?
>
> arch/arm/cpu/armv7/highbank/config.mk can simply be deleted if you don't
> want to compile with armv7-a.

Well, it is more a question of which toolchain(s) we want supported in 
U-Boot. Denx ELDK is one of them I guess :) but now that ELDK 5.0 is 
out, I don't know if ELDK 4.2 support is still required.

(I am assuming that ELDK5.0 has armv7-a support here. Please correct me 
if not)

If ELDK4.2 must be supported, then I would suggest creating a 
configuration option to allow the use of armv7-a ISA, then the 
arch/arm/cpu/armv7/highbank/config.mk file would select armv7-a ISA 
based on this option, and then any ARMv7 compatible board that needs or 
wants to use this ISA can set this config option in its config header file.

If ELDK4.2 support is dropped (at least partially) then no change would 
be needed.

Wolfgang:, I think that toolchain support for ARM is more your choice 
than mine.

> Rob

Amicalement,
-- 
Albert.

  reply	other threads:[~2011-08-24  8:37 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 15:39 [U-Boot] [PATCH v4 0/6] Add Highbank platform Rob Herring
2011-06-28 15:39 ` [U-Boot] [PATCH 1/6] ARM: add missing CONFIG_SKIP_LOWLEVEL_INIT for armv7 Rob Herring
2011-06-28 15:39 ` [U-Boot] [PATCH 2/6] ARM: Add Calxeda Highbank platform Rob Herring
2011-06-28 15:39 ` [U-Boot] [PATCH 3/6] arm: add __ilog2 function Rob Herring
2011-07-04 10:13   ` Wolfgang Denk
2011-07-04 14:23     ` Rob Herring
2011-07-05  4:42   ` Aneesh V
2011-07-05  9:58     ` Wolfgang Denk
2011-07-05 10:09       ` Aneesh V
2011-07-05 11:17         ` Wolfgang Denk
2011-07-05 11:56           ` Albert ARIBAUD
2011-07-05 14:38   ` [U-Boot] [PATCH v2] " Rob Herring
2011-07-16 11:01     ` Albert ARIBAUD
2011-06-28 15:39 ` [U-Boot] [PATCH 4/6] scsi/ahci: ata id little endian fix Rob Herring
2011-06-28 15:39 ` [U-Boot] [PATCH 5/6] scsi/ahci: add support for non-PCI controllers Rob Herring
2011-07-04 10:17   ` Wolfgang Denk
2011-07-04 14:51     ` Rob Herring
2011-07-04 15:11       ` Wolfgang Denk
2011-07-07  2:13   ` [U-Boot] [PATCH v3] " Rob Herring
2011-07-25 22:07     ` Wolfgang Denk
2011-06-28 15:39 ` [U-Boot] [PATCH 6/6] ARM: highbank: Add AHCI support Rob Herring
2011-06-30 11:53 ` [U-Boot] [PATCH v4 0/6] Add Highbank platform Albert ARIBAUD
2011-07-04 10:28   ` Wolfgang Denk
2011-07-04 15:17     ` Albert ARIBAUD
2011-07-04 10:28 ` Wolfgang Denk
2011-07-07  2:38   ` Rob Herring
2011-08-04 20:22 ` [U-Boot] [PATCH v4] ARM: Add Calxeda " Rob Herring
2011-08-21  7:18   ` Albert ARIBAUD
2011-08-21 13:16   ` [U-Boot] [PATCH v5] " Rob Herring
2011-08-21 14:40     ` Albert ARIBAUD
2011-08-21 19:28       ` Rob Herring
2011-08-23 14:32         ` Rob Herring
2011-08-24  8:37           ` Albert ARIBAUD [this message]
2011-08-24  9:41             ` Albert ARIBAUD
2011-08-24 12:53             ` Wolfgang Denk
2011-08-24 13:49     ` [U-Boot] [PATCH] " Rob Herring
2011-08-24 15:06       ` Wolfgang Denk
2011-08-24 15:46         ` Rob Herring
2011-10-04 15:30       ` Rob Herring
2011-10-21 19:09         ` Albert ARIBAUD
2011-10-24 18:50           ` [U-Boot] [PATCH v7] " Rob Herring
2011-10-24 19:45             ` Albert ARIBAUD

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=4E54B862.2070000@aribaud.net \
    --to=albert.u.boot@aribaud.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.