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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41771 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2014-07-20 17:30:48 +00:00
parent 3c22f66f58
commit 25eedaa1ad
1 changed files with 2 additions and 2 deletions

View File

@ -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