aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/mt7622
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2021-08-24 00:18:23 +0800
committerChuanhong Guo <gch981213@gmail.com>2021-09-03 15:53:28 +0800
commit43f0e386d4e79e9014e926d1d9b5e2ff8f1379cb (patch)
tree1b25043b5698dbe997e0ef97d0483e7a5aafb7c4 /target/linux/mediatek/mt7622
parent9e9057f4164a31bbe5a645878a9e0f083b533c0f (diff)
downloadupstream-43f0e386d4e79e9014e926d1d9b5e2ff8f1379cb.tar.gz
upstream-43f0e386d4e79e9014e926d1d9b5e2ff8f1379cb.tar.bz2
upstream-43f0e386d4e79e9014e926d1d9b5e2ff8f1379cb.zip
mediatek: add support for TOTOLINK A8000RU
Specifications: - SoC: MT7622 - RAM: 512MB - Flash: MX35LF1GE4AB 128MB SPI NAND - Ethernet: RTL8367S 5x1GbE - WiFi: 2.4G: MT7622 5G: MT7615N x2 - Other ports: USB3.0 x1 Flash instruction: *important*: upgrade vendor firmware to at least V7.1cu.643_B20200521 1. hold the reset button and power on the device. wait for about 10s before releasing the reset button. 2. upload sysupgrade.bin via u-boot recovery page on http://192.168.1.1 Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/mediatek/mt7622')
-rwxr-xr-xtarget/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
index cdae06e630..0cdd8df8f9 100755
--- a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
@@ -54,6 +54,9 @@ platform_do_upgrade() {
fi
default_do_upgrade "$1"
;;
+ totolink,a8000ru)
+ nand_do_upgrade "$1"
+ ;;
*)
default_do_upgrade "$1"
;;
@@ -72,6 +75,9 @@ platform_check_image() {
buffalo,wsr-2533dhp2)
buffalo_check_image "$board" "$magic" "$1" || return 1
;;
+ totolink,a8000ru)
+ nand_do_platform_check "$board" "$1"
+ ;;
*)
[ "$magic" != "d00dfeed" ] && {
echo "Invalid image type."