aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorMaxim Anisimov <maxim.anisimov.ua@gmail.com>2018-04-08 17:04:11 +0300
committerMathias Kresin <dev@kresin.me>2018-07-04 01:20:02 +0200
commit7d07bc96b7e686244ed096d3bbfad297a2ec1ce9 (patch)
treebba04b44d0d239f3f6b82dbff3120e7e13008832 /target/linux/ramips/base-files/lib/upgrade/platform.sh
parent9e2c28472c3f3a76e16afb582fd8807d08c6dda6 (diff)
downloadupstream-7d07bc96b7e686244ed096d3bbfad297a2ec1ce9.tar.gz
upstream-7d07bc96b7e686244ed096d3bbfad297a2ec1ce9.tar.bz2
upstream-7d07bc96b7e686244ed096d3bbfad297a2ec1ce9.zip
ramips: add support for ZyXEL Keenetic Extra II
Specification: - System-On-Chip: MT7628N/N - CPU/Speed: 580 MHz - Flash-Chip: Winbond w25q256 - Flash size: 32768 KiB - RAM: 128 MiB - 5x 10/100 Mbps Ethernet - 4x external, non-detachable antennas - UART (J1) header on PCB (57600 8n1) - Wireless No1 (2T2R): SoC-integrated: MT7628N 2.4GHz 802.11bgn - Wireless No2 (2T2R): On-board chip: MT7612EN 5GHz 802.11ac - USB: Yes 1 x 2.0 - 4x LED, 3x button The device supports dual boot mode. So we use only first half of flash. Flash instruction: The only way to flash OpenWrt image is to use tftp recovery mode in U-Boot: 1. Configure PC with static IP 192.168.1.2/24 and tftp server. 2. Rename "openwrt-ramips-mt76x8-zyxel_keenetic-extra-ii-squashfs-factory.bin" to "kextra2_recovery.bin" and place it in tftp server directory. 3. Connect PC with one of LAN ports, press the reset button, power up the router and keep button pressed until power led start blinking. 4. Router will download file from server, write it to flash and reboot. Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 3511f828ce..a2c6395cfb 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -226,6 +226,7 @@ platform_check_image() {
zbt-wr8305rt|\
zorlik,zl5900v2|\
zte-q7|\
+ zyxel,keenetic-extra-ii|\
youku-yk1)
[ "$magic" != "27051956" ] && {
echo "Invalid image type."