projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
firmware-utils: tplink-safeloader: increase RE350 kernel size
[openwrt/openwrt.git]
/
scripts
/
om-fwupgradecfg-gen.sh
diff --git
a/scripts/om-fwupgradecfg-gen.sh
b/scripts/om-fwupgradecfg-gen.sh
index 38e8e3ff3fc538fcdbaec1601b9bfb458b3f5f43..dad70b2ea0d62371248c95c51dc88bcaec037022 100755
(executable)
--- a/
scripts/om-fwupgradecfg-gen.sh
+++ b/
scripts/om-fwupgradecfg-gen.sh
@@
-7,7
+7,7
@@
#
usage() {
#
usage() {
- echo "Usage: $0 <OM2P|OM5P|OM5PAC|MR600|MR900|MR1750|A60|A42> <out file path> <kernel path> <rootfs path>"
+ echo "Usage: $0 <OM2P|OM5P|OM5PAC|MR600|MR900|MR1750|A60|A42
|A62
> <out file path> <kernel path> <rootfs path>"
rm -f $CFG_OUT
exit 1
}
rm -f $CFG_OUT
exit 1
}
@@
-44,6
+44,14
@@
case $CE_TYPE in
SIZE_FACTOR=1024
SIZE_FORMAT="0x%08x"
;;
SIZE_FACTOR=1024
SIZE_FORMAT="0x%08x"
;;
+ A62)
+ MAX_PART_SIZE=15552
+ KERNEL_FLASH_ADDR=0x1a0000
+ FLASH_BS=65536
+ MD5_SKIP_BLOCKS=4
+ SIZE_FACTOR=1024
+ SIZE_FORMAT="0x%08x"
+ ;;
*)
echo "Error - unsupported ce type: $CE_TYPE"
exit 1
*)
echo "Error - unsupported ce type: $CE_TYPE"
exit 1