1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
Mikhail Zhilkin 1d3d6ef826 ramips: add support for Z-ROUTER ZR-2660
This commit adds support for Z-ROUTER ZR-2660 (also known as Routerich
AX1800) wireless WiFi 6 router.

Specification
-------------
- SoC       : MediaTek MT7621AT, MIPS, 880 MHz
- RAM       : 256 MiB
- Flash     : NAND 128 MiB (AMD/Spansion S34ML01G2)
- WLAN      :
  - 2.4 GHz : MediaTek MT7905D/MT7975 (14c3:7916), b/g/n/ax, MIMO 2x2
  - 5 GHz   : MediaTek MT7915E (14c3:7915), a/n/ac/ax, MIMO 2x2
- Ethernet  : 10/100/1000 Mbps x4 (1x WAN, 3x LAN)
- USB       : 1x 2.0
- UART      : 3.3V, 115200n8, pins are silkscreened on the pcb
- Buttons   : 1x Reset
- LEDs      : 1x WiFi 2.4 GHz (green)
              1x WiFi 5 GHz (green)
              1x LAN (green)
              1x WAN (green)
              1x WAN no-internet (red)
- Power     : 12 VDC, 1 A

Installation
------------
1. Run tftp server on your PC (IP: 192.168.2.2) and put OpenWrt initramfs
   image (initramfs.bin) to the tftp root dir
2. Open the following link in the browser to enable telnet:
	http://192.168.2.1/cgi-bin/telnet_ssh
3. Connect to the router (default IP: 192.168.2.1) using telnet shell
   (credentials - user:admin)
4. Run the following commands in the telnet shell (this will install
   OpenWrt initramfs image on nand flash):
	cd /tmp
	tftp -g -r initramfs.bin 192.168.2.2
	mtd write initramfs.bin firmware
	mtd erase firmware_backup
	reboot
5. Copy OpenWrt sysupgrade image (sysupgrade.bin) to the /tmp dir of the
   router
6. Connect to the router (IP: 192.168.1.1) using ssh shell and run
   sysupgrade command:
	sysupgrade -n /tmp/sysupgrade.bin

Return to stock
---------------
1. Copy stock firmware (stock.bin) to the /tmp dir of the router using scp
2. Run following command in the router shell:
	cd /tmp
	mtd write stock.bin firmware
	reboot

Recovery
--------
Connect uart (pins are silkscreened on the pcb), interrupt boot process by
pressing any key, use u-boot menu to flash stock firmware image or OpenWrt
initramfs image.

MAC addresses
-------------
+---------+-------------------+-----------+
|         | MAC               | Algorithm |
+---------+-------------------+-----------+
| LAN     | 24:0f:5e:xx:xx:4c | label     |
| WAN     | 24:0f:5e:xx:xx:4d | label+1   |
| WLAN 2g | 24:0f:5e:xx:xx:4e | label+2   |
| WLAN 5g | 24:0f:5e:xx:xx:4f | label+3   |
+---------+-------------------+-----------+
The WLAN 2.4 MAC was found in 'factory', 0x4
The LAN MAC was found in 'factory', 0xfff4
The WAN MAC was found in 'factory', 0xfffa

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
2024-03-12 23:57:41 +01:00
..
airoha airoha: dts: fix pcie ranges properties 2024-02-26 13:19:26 +01:00
apm821xx apm821xx: MBL DUO-only: enable USB-Storage for boot from USB support 2024-03-02 14:08:07 +01:00
archs38
armsr kernel: bump 6.1 to 6.1.72 2024-01-19 21:24:44 +01:00
at91 kernel: bump 5.15 to 5.15.150 2024-03-07 19:30:54 +01:00
ath79 ath79: add support for D-Link COVR-C1200 A1 2024-03-09 20:00:11 +01:00
bcm27xx kernel: bump 6.1 to 6.1.81 2024-03-11 21:51:37 +01:00
bcm47xx kernel: bump 5.15 to 5.15.146 2024-01-06 10:53:39 +01:00
bcm53xx kernel: bump 5.15 to 5.15.150 2024-03-07 19:30:54 +01:00
bcm4908 kernel: bump 5.15 to 5.15.137 2023-10-27 19:43:06 +01:00
bmips bmips: add support for SmartRG SR505n 2024-03-10 20:26:07 +01:00
d1 kernel: bump 6.1 to 6.1.80 2024-03-05 00:23:59 +01:00
gemini kernel: bump 6.1 to 6.1.71 2024-01-06 12:52:49 +01:00
generic kernel: config: 6.6: disable ZSTD debug info compression by default 2024-03-12 19:49:56 +01:00
imx kernel: bump 6.1 to 6.1.79 2024-02-24 19:25:02 +01:00
ipq40xx kernel: bump 6.1 to 6.1.81 2024-03-11 21:51:37 +01:00
ipq806x ipq806x: refresh Kconfig 2024-02-23 18:05:09 +01:00
ixp4xx ixp4xx: add Generic subtarget definition 2023-12-09 14:45:50 +01:00
kirkwood kirkwood: Add Marvell RTC to all machines with nothing else 2024-02-29 23:01:38 +01:00
lantiq lantiq: Fix build after kernel 5.15.150 2024-03-08 14:49:09 +01:00
layerscape layerscape: remove 5.15 kernel support 2024-03-01 18:29:09 +01:00
malta malta: Remove kernel 5.15 configuration 2024-02-03 04:35:25 +00:00
mediatek mediatek: add Linux 6.6 as testing kernel 2024-03-11 21:22:12 +00:00
mpc85xx mpc85xx: p1020: convert Aerohive AP330/AP350 to simpleImage 2024-03-08 17:24:14 +01:00
mvebu mvebu: add support for SolidRun ClearFog Pro 2024-03-02 14:21:20 +01:00
mxs mxs: add testing kernel 6.1 2023-07-01 12:54:30 +02:00
octeon octeon: convert to new LED color/function format where possible 2024-02-07 14:48:41 +01:00
octeontx kernel: bump 5.15 to 5.15.149 2024-03-07 19:30:54 +01:00
omap omap: drop kernel 5.15 2024-02-13 19:05:48 +01:00
oxnas oxnas: do not use pcie-controller 2024-01-01 02:34:48 +01:00
pistachio kernel: fix mtd/NVMEM regression affecting U-Boot env NVMEM driver 2023-10-31 17:33:28 +01:00
qoriq qoriq: pad rootfs with zeros 2023-12-02 14:06:56 +02:00
qualcommax qualcommax: ipq60xx: add support for netgear wax214 2024-03-05 06:34:35 +01:00
ramips ramips: add support for Z-ROUTER ZR-2660 2024-03-12 23:57:41 +01:00
realtek realtek: fix Netgear GS110TPP OEM install 2024-02-18 09:56:45 +01:00
rockchip rockchip: fix device packages for nanopi r4s enterprise edition 2024-02-25 12:36:02 +08:00
sifiveu kernel: remove CONFIG_DEVTMPFS_SAFE from target config 2023-11-19 16:46:24 +01:00
starfive starfive: refresh patches 2024-03-12 10:27:38 +01:00
sunxi sunxi: mark upstreamed patches as such 2023-12-19 16:02:05 +01:00
tegra
uml kernel: bump 6.1 to 6.1.53 2023-09-23 13:10:28 +02:00
x86 kernel: config: add symbol introduced with 6.1.81 2024-03-11 21:51:37 +01:00
zynq
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00