changeset 226:11e68dfd98dc

Upgrade ppc and sparc to build with 2.6.23. The result doesn't _work_ yet, but it builds.
author Rob Landley <rob@landley.net>
date Thu, 11 Oct 2007 19:47:18 -0500
parents 957c1c3b7766
children d2311b2989aa
files sources/configs/powerpc sources/configs/sparc
diffstat 2 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/configs/powerpc	Thu Oct 11 01:48:07 2007 -0500
+++ b/sources/configs/powerpc	Thu Oct 11 19:47:18 2007 -0500
@@ -1,3 +1,10 @@
+# Power PC system
+
+# XXX Status: Builds but doesn't run under qemu system emulation, due to Open Firmware being
+# evil and workarounds not quite making it into the linux kernel tree yet.  This is as much a qemu
+# problem as a Linux problem, supply the appropriate kernel .config and it should run on real
+# hardware just fine.
+
 KARCH=powerpc
 KERNEL_PATH=arch/${KARCH}/boot/zImage
 GCC_FLAGS=
@@ -13,6 +20,8 @@
 
 cat > "${WORK}"/miniconfig-linux << 'EOF'
 CONFIG_PPC_PREP=y
+CONFIG_WANT_DEVICE_TREE=y
+CONFIG_DEVICE_TREE="prep.dts"
 CONFIG_SWAP=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
@@ -23,6 +32,7 @@
 CONFIG_PACKET=y
 CONFIG_UNIX=y
 CONFIG_INET=y
+CONFIG_BLK_DEV=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDE=y
--- a/sources/configs/sparc	Thu Oct 11 01:48:07 2007 -0500
+++ b/sources/configs/sparc	Thu Oct 11 19:47:18 2007 -0500
@@ -1,4 +1,6 @@
-# From Bertl.
+# Status: Builds but doesn't run, due to bugs in uClibc 0.9.29 for sparc.
+
+# Originally contributed by Bertl.
 
 KARCH=sparc
 KERNEL_PATH=arch/${KARCH}/boot/image
@@ -103,10 +105,12 @@
 CONFIG_VLAN_8021Q=y
 CONFIG_STANDALONE=y
 CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_BLK_DEV=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=4
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_SCSI=y
+CONFIG_SCSI_LOWLEVEL=y
 CONFIG_SCSI_PROC_FS=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_BLK_DEV_SR=y