ramips: add support for ZyXEL Keenetic Extra II
authorMaxim Anisimov <[email protected]>
Sun, 8 Apr 2018 14:04:11 +0000 (17:04 +0300)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:32:19 +0000 (17:32 +0100)
commitb6588be8510256bb54f51bc0a9f220b0e38d1efc
treefffba36d9a2ed7d3e164ffd51e0aaa21c1aaaa77
parentf3bca2a9712d9f6e3bbedd36b4448a401fb8a2a2
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 <[email protected]>
(backported from 7d07bc96b7e686244ed096d3bbfad297a2ec1ce9)
target/linux/ramips/base-files/etc/board.d/01_leds
target/linux/ramips/base-files/etc/board.d/02_network
target/linux/ramips/base-files/etc/diag.sh
target/linux/ramips/base-files/lib/upgrade/platform.sh
target/linux/ramips/dts/ki_rb.dts [new file with mode: 0644]
target/linux/ramips/image/mt76x8.mk