PROBLEM: kernel 2.6.20.6 build failed for ppc board chestnut(ibm ppc 750GX/FX)
Josh Boyer
jwboyer at linux.vnet.ibm.com
Tue Apr 17 10:24:03 EST 2007
On Mon, Apr 16, 2007 at 01:13:01PM +0800, Wang, Baojun wrote:
> PROBLEM: linux kernel 2.6.20.6 build failed for ppc board chestnut(ibm ppc
> 750GX/FX)
>
Confirmed. arch/ppc isn't getting much love these days.
<snip>
> this brute force patch sould solve the problem:
This is missing a Signed-off-by: line.
> diff -Nru /tmp/linux-2.6.20.6/arch/ppc/platforms/chestnut.c \
> linux-2.6.20.6/arch/ppc/platforms/chestnut.c
>
> --- /tmp/linux-2.6.20.6/arch/ppc/platforms/chestnut.c 2007-04-07
> 04:02:48.000000000 +0800
> +++ linux-2.6.20.6/arch/ppc/platforms/chestnut.c 2007-04-13
> 17:09:03.000000000 +0800
> @@ -432,7 +432,9 @@
> ptbl.name = "User FS";
> ptbl.size = CHESTNUT_32BIT_SIZE;
>
> - physmap_map.size = CHESTNUT_32BIT_SIZE;
> + // physmap_map.size = CHESTNUT_32BIT_SIZE;
Just remove this completely. It's not needed any longer.
> + physmap_configure(CHESTNUT_32BIT_BASE, CHESTNUT_32BIT_SIZE,
> CONFIG_MTD_PHYSMAP_BANKWIDTH, NULL);
Technically, this call isn't needed. The chestnut_defconfig already provides
the correct variables.
josh
More information about the Linuxppc-embedded
mailing list