[oe-commits] Steffen Sledz : linux-2.6.24: patch for maximum PCI address range for OXNAS machine

GIT User account git at amethyst.openembedded.net
Tue Mar 10 20:23:11 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: dce5ca364d51e3f41ed45e8f4da5125bdc684b26
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=dce5ca364d51e3f41ed45e8f4da5125bdc684b26

Author: Steffen Sledz <sledz at dresearch.de>
Date:   Tue Mar 10 21:20:58 2009 +0100

linux-2.6.24: patch for maximum PCI address range for OXNAS machine

---

 .../linux-2.6.24/oxnas/oxnas-pci-max-size.patch    |   21 ++++++++++++++++++++
 packages/linux/linux_2.6.24.bb                     |    3 +-
 2 files changed, 23 insertions(+), 1 deletions(-)

diff --git a/packages/linux/linux-2.6.24/oxnas/oxnas-pci-max-size.patch b/packages/linux/linux-2.6.24/oxnas/oxnas-pci-max-size.patch
new file mode 100644
index 0000000..89af49b
--- /dev/null
+++ b/packages/linux/linux-2.6.24/oxnas/oxnas-pci-max-size.patch
@@ -0,0 +1,21 @@
+diff -Nurd linux-2.6.24.orig//arch/arm/mach-oxnas/pci.c linux-2.6.24/arch/arm/mach-oxnas/pci.c
+--- linux-2.6.24.orig//arch/arm/mach-oxnas/pci.c	2009-03-10 20:29:02.000000000 +0100
++++ linux-2.6.24/arch/arm/mach-oxnas/pci.c	2009-03-10 21:10:47.000000000 +0100
+@@ -78,12 +78,14 @@
+ static unsigned long pci_trhfa_timeout = 0;
+ #endif // CONFIG_OXNAS_PCI_RESET
+ 
++// processor allows up to 8MB PCI address ranges maximum by design
++// we split this up to 4MB prefetchable and 4MB non-prefetchable
++
+ #define PCI_BUS_NONMEM_START			0x00000000
+-#define PCI_BUS_NONMEM_SIZE	    		0x00080000
+-                               
++#define PCI_BUS_NONMEM_SIZE	    		0x00400000
+                                
+ #define PCI_BUS_PREMEM_START			PCI_BUS_NONMEM_START + PCI_BUS_NONMEM_SIZE
+-#define PCI_BUS_PREMEM_SIZE	    		0x00080000
++#define PCI_BUS_PREMEM_SIZE	    		0x00400000
+ 
+ #define SYNOPSYS_PCI_MEMORY_BASE_ADDRESS        PCI_BASE_ADDRESS_0
+ #define SYNOPSYS_PCI_DUAL_CYCLE_BASE_ADDRESS    PCI_BASE_ADDRESS_2
diff --git a/packages/linux/linux_2.6.24.bb b/packages/linux/linux_2.6.24.bb
index be88eab..c74f985 100644
--- a/packages/linux/linux_2.6.24.bb
+++ b/packages/linux/linux_2.6.24.bb
@@ -11,7 +11,7 @@ DEFAULT_PREFERENCE_ts72xx = "1"
 DEFAULT_PREFERENCE_oxnas = "1"
 DEFAULT_PREFERENCE_cs-e9302 = "1"
 
-PR = "r24"
+PR = "r25"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \
            http://kamikaze.waninkoko.info/patches/2.6.24/kamikaze1/broken-out/squashfs-lzma-2.6.24.patch;patch=1 \
@@ -88,6 +88,7 @@ SRC_URI_append_oxnas = " \
 	file://oxnas.diff;patch=1 \
 	file://oxnas-uart.patch;patch=1 \
 	file://oxnas-pci-config-delay.patch;patch=1 \
+	file://oxnas-pci-max-size.patch;patch=1 \
 	"
 
 CMDLINE_cm-x270 = "console=${CMX270_CONSOLE_SERIAL_PORT},38400 monitor=1 mem=64M mtdparts=physmap-flash.0:256k(boot)ro,0x180000(kernel),-(root);cm-x270-nand:64m(app),-(data) rdinit=/sbin/init root=mtd3 rootfstype=jffs2"





More information about the Openembedded-commits mailing list