Thread (1 message) 1 message, 1 author, 2007-04-17

Re: PROBLEM: kernel 2.6.20.6 build failed for ppc board chestnut(ibm ppc 750GX/FX)

From: Josh Boyer <hidden>
Date: 2007-04-17 00:17:26
Also in: lkml

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.
quoted hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help