From: matt@genesi-usa.com (Matt Sealey)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/6] ARM: mxc: don't allow to compile together i.MX51 and i.MX53
Date: Wed, 4 May 2011 10:48:40 -0500 [thread overview]
Message-ID: <BANLkTinaFVXP10vbaF_We+kS2onwZAugQA@mail.gmail.com> (raw)
In-Reply-To: <20110413124149.GR18850@pengutronix.de>
2011/4/13 Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>:
> Hi Shawn,
>
> On Wed, Apr 13, 2011 at 08:25:04PM +0800, Shawn Guo wrote:
>> On Sun, Apr 10, 2011 at 09:49:01PM +0200, Uwe Kleine-K?nig wrote:
>> [...]
>> > + ? ? This enables support for machines using Freescale's i.MX50 and i.MX51
>> s/MX51/MX53/
> yeah, thanks, as you're not the first one to point this out I already
> sent a fixup to Sascha.
Can someone confirm the following for me (Uwe probably as it's his
patch most recently)
CONFIG_RUNTIME_PHYS_OFFSET
CONFIG_ARM_PATCH_PHYS_VIRT
These two config options, with absolutely no bootloader changes, will
basically mask off some address (instruction pointer?) at the time of
the check and therefore derive a perfectly good PHYS_OFFSET at runtime
and make sure it is in use... within some limits (first 128MB, assumes
that start of memory is at some particular alignment)?
I am confused about Nicolas' CONFIG_AUTO_ZRELADDR comment and how this
applies. I am working out a way to have U-Boot ignore the hardcoded
image entry point in a uImage to enable the above.
I consider that the problem with the above is not so much with
supporting multiple SoCs in the same kernel of the same pedigree
(MX5x) but with completely different vendor SoCs and anything where
PHYS_OFFSET is somehow differently masked off of the abovementioned
address. I noticed in a patch somewhere last night that if MACH_MX5 is
enabled, it uses 'and' instead of 'andne' to perform the masking. This
will basically mean the derived address is still entirely CPU
specific... unless I am out of date on the patches I am reviewing..
Uwe you had a patch about a year ago that passed PHYS_OFFSET in r3,
that isn't true anymore? Is there potential for an override, such that
if if r3 is set and valid, it is used, if not a determination is made
at runtime which may possibly fail? Is compiling an unbootable kernel
for an old firmware an acceptable scenario for the edge case where
MX50, MX51, MX53 are in the kernel along with.. say.. OMAP? Wouldn't
we consider this a distro tool problem and not a kernel problem?
--
Matt Sealey <matt@genesi-usa.com>
Product Development Analyst, Genesi USA, Inc.
next prev parent reply other threads:[~2011-05-04 15:48 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-10 19:48 [PATCH 1/6] ARM: mxc: update defconfigs Uwe Kleine-König
2011-04-10 19:48 ` [PATCH 2/6] ARM: mxc: don't use the symbols in the CPU family choice to select others Uwe Kleine-König
2011-04-10 19:49 ` [PATCH 3/6] ARM: mxc: simplify platform selection for i.MX21 and i.MX27 Uwe Kleine-König
2011-04-10 19:49 ` [PATCH 4/6] ARM: mxc: don't allow to compile together i.MX51 and i.MX53 Uwe Kleine-König
2011-04-11 2:02 ` Nicolas Pitre
2011-04-11 7:40 ` Uwe Kleine-König
2011-04-11 14:15 ` Nicolas Pitre
2011-04-11 21:50 ` Matt Sealey
2011-04-12 8:52 ` Russell King - ARM Linux
2011-04-12 6:38 ` Uwe Kleine-König
2011-04-12 9:54 ` Uwe Kleine-König
2011-04-12 20:27 ` Russell King - ARM Linux
2011-04-12 20:37 ` Uwe Kleine-König
2011-04-12 20:53 ` Russell King - ARM Linux
2011-04-12 21:12 ` [PATCH] ARM: remove ns9xxx port Uwe Kleine-König
2011-04-26 21:53 ` Uwe Kleine-König
2011-04-26 22:13 ` Russell King - ARM Linux
2011-04-12 21:20 ` [PATCH 4/6] ARM: mxc: don't allow to compile together i.MX51 and i.MX53 Uwe Kleine-König
2011-04-12 22:54 ` Nicolas Pitre
2011-04-13 6:20 ` Uwe Kleine-König
2011-04-12 9:16 ` Jason Liu
2011-04-12 9:45 ` Uwe Kleine-König
2011-04-13 2:28 ` Nicolas Pitre
2011-04-13 12:25 ` Shawn Guo
2011-04-13 12:41 ` Uwe Kleine-König
2011-05-04 15:48 ` Matt Sealey [this message]
2011-05-04 15:56 ` Matt Sealey
2011-05-04 16:04 ` Uwe Kleine-König
2011-05-08 10:42 ` Russell King - ARM Linux
2011-05-08 15:00 ` Nicolas Pitre
2011-05-08 15:05 ` Russell King - ARM Linux
2011-05-08 15:23 ` Nicolas Pitre
2011-04-13 13:39 ` Jason Liu
2011-04-10 19:49 ` [PATCH 5/6] ARM: mx3: make ioremap quirk ready for multi-SoC kernels Uwe Kleine-König
2011-04-10 19:49 ` [PATCH 6/6] ARM: imx: remove some deprecated and unused #defines Uwe Kleine-König
2011-04-12 7:59 ` [PATCH 1/6] ARM: mxc: update defconfigs Shawn Guo
2011-04-12 8:08 ` Uwe Kleine-König
2011-04-12 8:19 ` [PATCH v2] " Uwe Kleine-König
2011-04-12 8:33 ` [PATCH 1/6] " Shawn Guo
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=BANLkTinaFVXP10vbaF_We+kS2onwZAugQA@mail.gmail.com \
--to=matt@genesi-usa.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).