scripts/om-fwupgradecfg-gen.sh: add support for the MR900

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 43260
This commit is contained in:
John Crispin 2014-11-14 16:54:23 +00:00
parent cfdaa8aefd
commit 9b1bc2d671

View file

@ -7,7 +7,7 @@
# #
usage() { usage() {
echo "Usage: $0 <OM2P|OM5P|MR600> <out file path> <kernel path> <rootfs path>" echo "Usage: $0 <OM2P|OM5P|MR600|MR900> <out file path> <kernel path> <rootfs path>"
rm -f $CFG_OUT rm -f $CFG_OUT
exit 1 exit 1
} }
@ -26,7 +26,7 @@ case $CE_TYPE in
FLASH_BS=262144 FLASH_BS=262144
MD5_SKIP_BLOCKS=1 MD5_SKIP_BLOCKS=1
;; ;;
OM5P|MR600) OM5P|MR600|MR900)
MAX_PART_SIZE=7808 MAX_PART_SIZE=7808
KERNEL_FLASH_ADDR=0xb0000 KERNEL_FLASH_ADDR=0xb0000
FLASH_BS=65536 FLASH_BS=65536