ar71xx: fix ARRIS SBR-AC1750 web upgrade support

This commit is contained in:
lean 2021-02-03 19:32:07 +08:00
parent 9bc05c5ce3
commit 04cc41e9d0
2 changed files with 3 additions and 2 deletions

View File

@ -352,7 +352,6 @@ platform_check_image() {
db120|\
dr344|\
dw33d|\
sbr-ac1750|\
f9k1115v2|\
hornet-ub|\
mr12|\
@ -582,6 +581,7 @@ platform_check_image() {
rambutan|\
wi2a-ac200i|\
wndr3700v4|\
sbr-ac1750|\
wndr4300)
nand_do_platform_check $board $1
return $?
@ -856,6 +856,7 @@ platform_do_upgrade() {
r6100|\
rambutan|\
wndr3700v4|\
sbr-ac1750|\
wndr4300)
nand_do_upgrade "$1"
;;

View File

@ -49,7 +49,7 @@ define Device/sbr-ac1750
PAGESIZE := 2048
UBINIZE_OPTS := -E 5
CONSOLE := ttyS0,115200
MTDPARTS := ar934x-nfc:1m(u-boot)ro,1m(u-boot-env)ro,4m(kernel),95m(ubi),1m(scfgmgr),4m(openwrt),1m(ft),2m(PKI),1m@0x6d00000(art)ro
MTDPARTS := ar934x-nfc:1m(u-boot)ro,1m(u-boot-env)ro,4m(kernel),95m(ubi),1m(scfgmgr),4m(openwrt),1m(ft),2m(PKI),1m@0x6d00000(art)ro,36864k@0x200000(kfs),36864k@0x2600000(kfs2)
IMAGES := sysupgrade.tar kernel1.bin rootfs1.bin
KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
IMAGE/kernel1.bin := append-kernel | check-size $$$$(KERNEL_SIZE)