mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 01:17:30 +01:00
mediatek: add support for device zbt-z8103ax-c
- adopted MTD partition size increase from 64M to 128M
-> this allows boot to complete
- moved MAC addressing stuff out of partition definitions
- all MAC addressing stuff is in .dtsi
Specifications:
SoC: MediaTek MT7981B
RAM: 256MiB
Flash: Winbond SPI-NAND 128 MiB
Switch: 1 WAN, 3 LAN (Gigabit) MediaTek MT7531
Buttons: Reset, Mesh
Power: DC 12V 1A
WiFi: MT7981B 2.4Ghz & 5.8Ghz
Led Layout from bottom to top:
Power
Mesh (RGB Led, user controllable, default set to OpenWrt Status)
WLAN 2 GHz (user controllable)
WAN (user controllable)
LAN3
LAN2
LAN1
WLAN 5 GHz (Not on front panel but blinks through enclosure,
user controllable)
Buttons:
Reset
Mesh (user controllable, no default function)
Installation:
A. Through U-Boot menu:
- Prepare your connecting computer to use a static IP in
network 192.168.1.0/24
- Power down the router and hold in the Reset button.
- While holding in the button power up the router again.
- Hold the button in for 10 seconds and then release.
- Use your browser to go to 192.168.1.1
- If you see a GUI allowing for flashing firmware then
you got the right model.
- Upload the sysupgrade file.
Note: Recovery GUI can be used to recover from an incorrect
firmware flash.
B. Through OpenWrt Dashboard:
If your router comes with OpenWrt preinstalled
(modified by the seller), you can easily upgrade
by going to the dashboard (192.168.1.1) and then
navigate to System -> Backup/Flash firmware,
then flash the firmware
MAC Addresses were found in Factory partition:
offset 0x4 F8:5E:3C:xx:xx:aa --> Router Label -2
offset 0xa F8:5E:3C:xx:xx:bb --> Router Label -1
offset 0x24 F8:5E:3C:xx:xx:cc --> Router Label +1
offset 0x2a F8:5E:3C:xx:xx:yy --> printed on Router Label
Signed-off-by: Jörg Seitz <github.joeterminal@xoxy.net>
Link: https://github.com/openwrt/openwrt/pull/19823
(cherry picked from commit 479f1403f2)
Link: https://github.com/openwrt/openwrt/pull/21464
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
5067807ba8
commit
8bf63c2289
4 changed files with 31 additions and 2 deletions
10
target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8103ax-c.dts
Normal file
10
target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8103ax-c.dts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "mt7981b-zbtlink-zbt-z8103ax.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Zbtlink 3000M(WiFi6) ZBT-Z8103AX-C";
|
||||
compatible = "zbtlink,zbt-z8103ax-c", "mediatek,mt7981b";
|
||||
};
|
||||
|
|
@ -303,7 +303,8 @@ xiaomi,redmi-router-ax6000-stock|\
|
|||
xiaomi,redmi-router-ax6000-ubootmod)
|
||||
ucidef_set_led_netdev "wan" "wan" "rgb:network" "wan"
|
||||
;;
|
||||
zbtlink,zbt-z8103ax)
|
||||
zbtlink,zbt-z8103ax|\
|
||||
zbtlink,zbt-z8103ax-c)
|
||||
ucidef_set_led_netdev "wan" "wan" "green:wan" "eth1" "link tx rx"
|
||||
;;
|
||||
zyxel,ex5601-t0-stock|\
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@ mediatek_setup_interfaces()
|
|||
nokia,ea0326gmp|\
|
||||
mercusys,mr80x-v3|\
|
||||
routerich,ax3000-v1|\
|
||||
zbtlink,zbt-z8103ax)
|
||||
zbtlink,zbt-z8103ax|\
|
||||
zbtlink,zbt-z8103ax-c)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" eth1
|
||||
;;
|
||||
acelink,ew-7886cax)
|
||||
|
|
|
|||
|
|
@ -3041,6 +3041,23 @@ define Device/zbtlink_zbt-z8103ax
|
|||
endef
|
||||
TARGET_DEVICES += zbtlink_zbt-z8103ax
|
||||
|
||||
define Device/zbtlink_zbt-z8103ax-c
|
||||
DEVICE_VENDOR := Zbtlink
|
||||
DEVICE_MODEL := ZBT-Z8103AX-C
|
||||
DEVICE_DTS := mt7981b-zbtlink-zbt-z8103ax-c
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
DEVICE_PACKAGES := kmod-mt7915e kmod-mt7981-firmware mt7981-wo-firmware
|
||||
KERNEL_IN_UBI := 1
|
||||
UBINIZE_OPTS := -E 5
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
IMAGE_SIZE := 65536k
|
||||
IMAGES += factory.bin
|
||||
IMAGE/factory.bin := append-ubi | check-size $$(IMAGE_SIZE)
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
endef
|
||||
TARGET_DEVICES += zbtlink_zbt-z8103ax-c
|
||||
|
||||
define Device/zyxel_ex5601-t0-stock
|
||||
DEVICE_VENDOR := Zyxel
|
||||
DEVICE_MODEL := EX5601-T0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue