All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Unable to boot Arm926t with big endian support
Date: Tue, 18 Nov 2014 22:02:40 +0000 (UTC)	[thread overview]
Message-ID: <m4gflv$ovo$2@ger.gmane.org> (raw)
In-Reply-To: B28B6A721CC23347BBD5566C377D30416461F28F@se-got-mb01.semcon.se

On 2014-11-18, Peder Alm <peder.alm@semcon.com> wrote:
>> So that means that your ARM variant doesn't have any big endian support.
>
>> git grep ARCH_SUPPORTS_BIG_ENDIAN                                     ~/source/linux-2.6/arch/arm
>> Kconfig:        select ARCH_SUPPORTS_BIG_ENDIAN
>> mach-highbank/Kconfig:  select ARCH_SUPPORTS_BIG_ENDIAN
>> mach-keystone/Kconfig:  select ARCH_SUPPORTS_BIG_ENDIAN
>> mach-mvebu/Kconfig:     select ARCH_SUPPORTS_BIG_ENDIAN
>> mach-vexpress/Kconfig:  select ARCH_SUPPORTS_BIG_ENDIAN
>> mach-zynq/Kconfig:      select ARCH_SUPPORTS_BIG_ENDIAN
>
>> So big endian is only supported for ixp4xx, highbank, keystone, mvebu, vexpress and zynq.
>
> As I read the Atmel documenation for my CPU it tells me that it does support both little and big endian. Found this on at.com:
> --------------------------------------------------------------------------------------------
> Look at the bottom of page 40 in the doc6221.pdf doc,it says
> "For more details, see Chapter 2 in ARM926EJ-S TRM, ref. DDI0198B."
>
> Looking in the "ARM926EJ-S Technical Reference Manual" on page 2-13,
> located at:
> http://www.atmel.com/dyn/resources/prod_documents/arm_926ejs_trm.pdf
>
> we find:
> Table 2-11 Control bit functions register c1 (continued)
> [7] B bit Endianness: 0 = Little-endian operation 1 = Big-endian operation. Set to
> the value of BIGENDINIT on reset.
> --------------------------------------------------------------------------------------------

The ARM926EJ-S supports bigendian operation.  I believe that the Atmel
AT91SAM9260 does not.

-- 
Grant Edwards               grant.b.edwards        Yow! ... he dominates the
                                  at               DECADENT SUBWAY SCENE.
                              gmail.com            

  parent reply	other threads:[~2014-11-18 22:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 11:22 [Buildroot] Unable to boot Arm926t with big endian support Peder Alm
2014-11-18 12:36 ` Thomas Petazzoni
2014-11-18 13:20   ` Peder Alm
2014-11-18 22:00     ` Grant Edwards
2014-11-18 13:14 ` Peter Korsgaard
2014-11-18 13:43   ` Peder Alm
2014-11-18 13:51     ` Peter Korsgaard
2014-11-18 14:48       ` Peder Alm
2014-11-18 14:54         ` Peter Korsgaard
2014-11-18 15:45           ` Peder Alm
2014-11-18 15:51             ` Peter Korsgaard
2014-11-18 22:02             ` Grant Edwards [this message]
2014-11-18 13:57 ` Laurent GONZALEZ

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='m4gflv$ovo$2@ger.gmane.org' \
    --to=grant.b.edwards@gmail.com \
    --cc=buildroot@busybox.net \
    /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.