[OpenWrt-Devel] [PATCH 3/7] scripts/om-fwupgradecfg-gen.sh: add support for the OM5P

sven at open-mesh.com sven at open-mesh.com
Fri Jul 18 04:06:04 EDT 2014


From: Marek Lindner <marek at open-mesh.com>

Signed-off-by: Marek Lindner <marek at open-mesh.com>
[sven at open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven at open-mesh.com>
---
 scripts/om-fwupgradecfg-gen.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/om-fwupgradecfg-gen.sh b/scripts/om-fwupgradecfg-gen.sh
index 779598a..8869059 100644
--- a/scripts/om-fwupgradecfg-gen.sh
+++ b/scripts/om-fwupgradecfg-gen.sh
@@ -7,7 +7,7 @@
 #
 
 usage() {
-	echo "Usage: $0 <OM2P|MR600> <out file path> <kernel path> <rootfs path>"
+	echo "Usage: $0 <OM2P|OM5P|MR600> <out file path> <kernel path> <rootfs path>"
 	rm -f $CFG_OUT
 	exit 1
 }
@@ -26,7 +26,7 @@ case $CE_TYPE in
 		FLASH_BS=262144
 		MD5_SKIP_BLOCKS=1
 		;;
-	MR600)
+	OM5P|MR600)
 		MAX_PART_SIZE=7808
 		KERNEL_FLASH_ADDR=0xb0000
 		FLASH_BS=65536
-- 
2.0.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list