All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: Big endian working?
Date: Wed, 09 Apr 2014 11:38:45 +0200	[thread overview]
Message-ID: <4880190.MJBhke5aDa@wuerfel> (raw)
In-Reply-To: <53450D3A.7030909@linaro.org>

On Wednesday 09 April 2014 12:04:58 Taras Kondratiuk wrote:
> 
> > Maybe Nico's zImage change was under atags umbrella by mistake and
> > it really addresses general zImage issue. In this case we need to add
> > this commit to main line. However, I don't think we need to carry
> > CPU_BE8_BOOT_LE option forward, why we just use
> > CONFIG_CPU_BIG_ENDIAN instead. Note in all cases when BE
> > image used loader is always in LE mode. Never seen case
> > otherwise.
> 
> That makes sense, but I'm concerned about BE32 systems.
> Do they also have LE bootloaders? I don't remember kernel code which
> switches to BE32. I'd think that switch is done by bootloader or 
> ROMcode. Or even BE hardwired in HW. So BE32 bootloader may expect to
> see BE zImage header.
> Maybe instead of CONFIG_CPU_BIG_ENDIAN use CONFIG_CPU_ENDIAN_BE8?

Agreed. CONFIG_CPU_ENDIAN_BE32 basically means ixp4xx. Whatever those
systems do today, I think we should better not change anything
for them. If nobody has complained for the last 10 years, everyone
who cares must have already found a working solution by now.

For BE8, I think we should just try to do the right thing before
we see mass deployments of broken boot loaders.

	Arnd

  reply	other threads:[~2014-04-09  9:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08  7:54 Big endian working? Thomas Petazzoni
2014-04-08  9:14 ` Taras Kondratiuk
2014-04-08 19:03   ` Arnd Bergmann
2014-04-09  3:44     ` Nicolas Pitre
2014-04-09  4:46       ` Victor Kamensky
2014-04-09  5:30         ` Thomas Petazzoni
2014-04-09  7:09           ` Arnd Bergmann
2014-04-09  9:04         ` Taras Kondratiuk
2014-04-09  9:38           ` Arnd Bergmann [this message]
2014-04-09 16:17             ` Victor Kamensky
2014-04-09 16:35               ` Marc Zyngier

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=4880190.MJBhke5aDa@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.