summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2008-12-06 13:19:15 +0000
committerRod Whitby <rod@whitby.id.au>2008-12-06 13:19:15 +0000
commitdf90a3627dc6ec0d4015b56611c9c57d75bfda9c (patch)
tree2743d9b23d93f260f973ef97d515039817c57512 /target
parentd6382555f4cfcdaddc9f4ef8738501d82aef034d (diff)
downloadmtk-20170518-df90a3627dc6ec0d4015b56611c9c57d75bfda9c.zip
mtk-20170518-df90a3627dc6ec0d4015b56611c9c57d75bfda9c.tar.gz
mtk-20170518-df90a3627dc6ec0d4015b56611c9c57d75bfda9c.tar.bz2
ixp4xx/apex: Limit ram size to 64MB
SVN-Revision: 13530
Diffstat (limited to 'target')
-rw-r--r--target/linux/ixp4xx/image/apex/Makefile2
-rw-r--r--target/linux/ixp4xx/image/apex/patches/150-limit_ram_to_64mb.patch22
2 files changed, 23 insertions, 1 deletions
diff --git a/target/linux/ixp4xx/image/apex/Makefile b/target/linux/ixp4xx/image/apex/Makefile
index fdb2a05..d6c4c4a 100644
--- a/target/linux/ixp4xx/image/apex/Makefile
+++ b/target/linux/ixp4xx/image/apex/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=apex
PKG_VERSION:=1.5.14
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/target/linux/ixp4xx/image/apex/patches/150-limit_ram_to_64mb.patch b/target/linux/ixp4xx/image/apex/patches/150-limit_ram_to_64mb.patch
new file mode 100644
index 0000000..79ecd97
--- /dev/null
+++ b/target/linux/ixp4xx/image/apex/patches/150-limit_ram_to_64mb.patch
@@ -0,0 +1,22 @@
+--- apex-1.5.13/src/mach-ixp42x/slugos-nslu2-armeb_config~ 2008-11-28 14:05:56.905634749 +0000
++++ apex-1.5.13/src/mach-ixp42x/slugos-nslu2-armeb_config 2008-12-06 13:15:49.857504031 +0000
+@@ -135,7 +135,7 @@
+ CONFIG_ENV_STARTUP_KERNEL_COPY=y
+ # CONFIG_ENV_REGION_KERNEL_SWAP is not set
+ CONFIG_ENV_STARTUP_PREFIX_P=y
+-CONFIG_ENV_STARTUP_PREFIX="sdram-init; memscan -u 0+256m"
++CONFIG_ENV_STARTUP_PREFIX="sdram-init; memscan -u 0+64m"
+
+ #
+ # Regions
+--- apex-1.5.13/src/mach-ixp42x/slugos-nslu2-16mb-armeb_config~ 2008-11-28 14:05:56.905634749 +0000
++++ apex-1.5.13/src/mach-ixp42x/slugos-nslu2-16mb-armeb_config 2008-12-06 13:17:41.311867740 +0000
+@@ -135,7 +135,7 @@
+ CONFIG_ENV_STARTUP_KERNEL_COPY=y
+ # CONFIG_ENV_REGION_KERNEL_SWAP is not set
+ CONFIG_ENV_STARTUP_PREFIX_P=y
+-CONFIG_ENV_STARTUP_PREFIX="sdram-init; memscan -u 0+256m"
++CONFIG_ENV_STARTUP_PREFIX="sdram-init; memscan -u 0+64m"
+
+ #
+ # Regions