[PATCH 4/6] ARM: mxc: don't allow to compile together i.MX51 and i.MX53
liu.h.jason at gmail.com
Tue Apr 12 05:16:44 EDT 2011
2011/4/11 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:
> On Sun, Apr 10, 2011 at 10:02:03PM -0400, Nicolas Pitre wrote:
>> On Sun, 10 Apr 2011, Uwe Kleine-König wrote:
>> > The two SoCs have different PHYS_OFFSETs so it's not (yet) possible to
>> > compile a single (working) kernel for these.
>> Have a look at CONFIG_ARM_PATCH_PHYS_VIRT. It's in mainline and fully
> I'm aware of this config item. But still if it's off there must be a
> distinction that's provided by this patch. Currently you can build a
> kernel for i.MX51 + i.MX53 but IIRC it works on no machine.
> When considering ARM_PATCH_PHYS_VIRT there are more SoCs that could be
> built into a single image and so needs a more complicated logic.
> And I don't want to depend on ARM_PATCH_PHYS_VIRT (yet), e.g. because
> it's new and still depends on EXPERIMENTAL.
Uwe, did you enable CONFIG_AUTO_ZRELADDR=y? Besides this if use uboot to
load uImage and run, it also need fix uboot since uImage will hard
code the load address.
In other word, uImage will have mx53 PHY_OFFSET for both mx51 and
mx53, which will
make mx51 failed with bootm command.
> Best regards
> Pengutronix e.K. | Uwe Kleine-König |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
More information about the linux-arm-kernel