Skip to contentSkip to conversation

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

DISCUSSION Josh Boyer 1 participant 1 message Apr 17, 2007 1 message not in the archive

lore
Share & tools
lore

Josh Boyer

author
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines · Baojun

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>

Quoted 1 line

this brute force patch sould solve the problem:

This is missing a Signed-off-by: line.

Review line 435

Quoted 13 lines

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

(quoted diff) +1 -1
@@ -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.

Review line 437

Quoted 2 lines
(quoted diff) +1 -0
+       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