aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-20 17:30:48 +0000
committerJohn Crispin <john@openwrt.org>2014-07-20 17:30:48 +0000
commit4e03bdd63c07208faf7f75c283f18fca181f51f5 (patch)
tree18f3e21aeb6eaa920c43f9c1f84d2a1d8d705644
parente50abb5d53063f034634d7187714f515a858017e (diff)
downloadupstream-4e03bdd63c07208faf7f75c283f18fca181f51f5.tar.gz
upstream-4e03bdd63c07208faf7f75c283f18fca181f51f5.tar.bz2
upstream-4e03bdd63c07208faf7f75c283f18fca181f51f5.zip
scripts/om-fwupgradecfg-gen.sh: add support for the OM5P
Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 41771
-rw-r--r--scripts/om-fwupgradecfg-gen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/om-fwupgradecfg-gen.sh b/scripts/om-fwupgradecfg-gen.sh
index 779598a2f8..8869059602 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