aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-10-24 18:05:28 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-11-13 00:58:08 +0000
commitb38b5c42997e527f91e653a4b6d77a5717d3cd14 (patch)
tree36f81a6ca5ec81eadacc399051475954fd20729e /target/linux/ramips/mt7621
parentce62536aca9d0aae9b21c3d19cd8ad6acba7b029 (diff)
downloadupstream-b38b5c42997e527f91e653a4b6d77a5717d3cd14.tar.gz
upstream-b38b5c42997e527f91e653a4b6d77a5717d3cd14.tar.bz2
upstream-b38b5c42997e527f91e653a4b6d77a5717d3cd14.zip
ramips: add support for MeiG SLT866 4G CPE
Hardware: - SoC: Mediatek MT7621 (MT7621AT) - Flash: 32 MiB SPI-NOR (Macronix MX25L25635E) - RAM: 128 MiB - Ethernet: Built-in, 2 x 1GbE - 3G/4G Modem: MEIG SLM828 (currently only supported with ModemManager) - SLIC: Si32185 (unsupported) - Power: 12V via barrel connector - Wifi 2.4GHz: Mediatek MT7603BE 802.11b/g/b - Wifi 5GHz: Mediatek MT7613BE 802.11ac/n/a - LEDs: 8x (7 controllable) - Buttons: 2x (RESET, WPS) Installing OpenWrt: - sysupgrade image is compatible with vendor firmware. Recovery: - Connect to any of the Ethernet ports, configure local IP: 10.10.10.3/24 (or 192.168.10.19/24, depending on OEM) - Provide firmware file named 'mt7621.img' on TFTP server. - Hold down both, RESET and WPS, then power on the board. - Watch network traffic using tcpdump or wireshark in realtime to observe progress of device requesting firmware. Once download has completed, release both buttons and wait until firmware comes up. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit bc335f296740ac386e1ef09a49f1844419b0ccf9)
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/board.d/01_leds4
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/board.d/02_network3
2 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
index 3ceac60434..784a4ba0d9 100644
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
@@ -137,6 +137,10 @@ linksys,ea8100-v2)
ucidef_set_led_netdev "lan4" "lan4 link" "green:lan4" "lan4" "link"
ucidef_set_led_netdev "wan" "wan link" "green:wan" "wan" "link"
;;
+meig,slt866)
+ ucidef_set_led_netdev "lan" "eth" "blue:lanwan" "lan" "link tx rx"
+ ucidef_set_led_netdev "wwan0" "net" "blue:internet" "wwan0" "link tx rx"
+ ;;
mikrotik,routerboard-760igs)
ucidef_set_led_netdev "sfp" "SFP" "blue:sfp" "sfp"
;;
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index 827d97e540..4b23afc1cf 100644
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -146,7 +146,8 @@ ramips_setup_interfaces()
ucidef_set_interface "qtn" ifname "eth1" protocol "static" ipaddr "1.1.1.1" netmask "255.255.255.0"
;;
comfast,cf-e390ax|\
- comfast,cf-ew72-v2)
+ comfast,cf-ew72-v2|\
+ meig,slt866)
ucidef_set_interfaces_lan_wan "lan" "wan"
;;
*)