From b1e911d611ae1ec178515e3bd489a6d80661405f Mon Sep 17 00:00:00 2001 From: rwhitby Date: Sat, 6 Dec 2008 13:19:15 +0000 Subject: [PATCH] ixp4xx/apex: Limit ram size to 64MB git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13530 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ixp4xx/image/apex/Makefile | 2 +- .../apex/patches/150-limit_ram_to_64mb.patch | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 target/linux/ixp4xx/image/apex/patches/150-limit_ram_to_64mb.patch diff --git a/target/linux/ixp4xx/image/apex/Makefile b/target/linux/ixp4xx/image/apex/Makefile index fdb2a054e..d6c4c4a0c 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 000000000..79ecd9759 --- /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