ar71xx: fix ARRIS SBR-AC1750 web upgrade support

This commit is contained in:
coolsnowwolf 2019-02-14 01:29:51 +08:00
parent 712b9794e6
commit 4482d1997f
4 changed files with 5 additions and 4 deletions

View File

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

View File

@ -122,4 +122,4 @@ static void __init ap147_setup(void)
ath79_register_eth(0);
}
MIPS_MACHINE(ATH79_MACH_AP147_010, "AP147-010", "Atheros AP147-010 reference board", ap147_setup);
MIPS_MACHINE(ATH79_MACH_AP147_010, "AP147-010", "Letv SuperRouter", ap147_setup);

View File

@ -104,7 +104,7 @@ endef
LEGACY_DEVICES += AP143_16M
define LegacyDevice/AP147_010
DEVICE_TITLE := Qualcomm Atheros AP147-010 reference board
DEVICE_TITLE := Letv SuperRouter
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage
endef
LEGACY_DEVICES += AP147_010

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)