Re: arm: CONFIG_ARM_PATCH_PHYS_VIRT=y is broken on kirkwood

From: Ian Campbell
Date: Mon Apr 09 2012 - 17:28:40 EST


On Sun, 2012-04-08 at 11:59 +0300, Sergei Trofimovich wrote:
> In order to make the box boot I had to set:
> CONFIG_EMBEDDED=y
> # CONFIG_ARM_PATCH_PHYS_VIRT is not set
> CONFIG_PHYS_OFFSET=0x0
>
> Do you have an idea why it does not boot anymore by default?

There is a u-boot commit which fixes this issue:

commit 679530278d5a79d34e356ad2d452f4400953bfc2
Author: Michael Walle <[michael@xxxxxxxx]>
Date: Mon Feb 6 22:42:10 2012 +0530

arm, arm-kirkwood: disable l2c before linux boot

The decompressor expects the L2 cache to be disabled. This fixes booting
some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled.

Signed-off-by: Michael Walle <michael@xxxxxxxx>
Acked-by: Prafulla Wadaskar <prafulla@xxxxxxxxxxx>
Cc: Albert ARIBAUD <albert.u.boot@xxxxxxxxxxx>
Cc: Prafulla Wadaskar <prafulla@xxxxxxxxxxx>
Cc: Wolfgang Denk <wd@xxxxxxx>

Ian.

--
Ian Campbell


If I can have honesty, it's easier to overlook mistakes.
-- Kirk, "Space Seed", stardate 3141.9

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/