diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-03-22 14:06:14 -0700 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-09-11 01:30:11 +0200 |
commit | f4eef5f2a18400bc7f548d629e1d5825a2b26e5a (patch) | |
tree | 121b4c19363931e1b065995e74a58e71bf5e3bc8 /target/linux/ramips/mt7621/base-files | |
parent | 26a6a6a60ba74875b5ef819ac5765d3bcbbb930e (diff) | |
download | upstream-f4eef5f2a18400bc7f548d629e1d5825a2b26e5a.tar.gz upstream-f4eef5f2a18400bc7f548d629e1d5825a2b26e5a.tar.bz2 upstream-f4eef5f2a18400bc7f548d629e1d5825a2b26e5a.zip |
ramips: add support for Linksys E7350
Linksys E7350 is an 802.11ax (Wi-Fi 6) router, based on MediaTek
MT7621A.
Specifications:
- SoC: MT7621 (880MHz, 2 Cores)
- RAM: 256 MB
- Flash: 128 MB NAND
- Wi-Fi:
- MT7915D: 2.4/5 GHz (DBDC)
- Ethernet: 5x 1GiE MT7530
- USB: 1x USB 3.0
- UART: J4 (57600 baud)
- Pinout: [3V3] (TXD) (RXD) (blank) (GND)
Notes:
* This device has a dual-boot partition scheme, but this firmware works
only on boot partition 1.
Installation:
Upload the generated factory.bin image via the stock web firmware
updater.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target/linux/ramips/mt7621/base-files')
5 files changed, 13 insertions, 2 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 aebdcd5ad9..0ac67e9670 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 @@ -75,6 +75,13 @@ gnubee,gb-pc2) linksys,e5600) ucidef_set_led_netdev "wan" "wan link" "blue:wan" "wan" "link" ;; +linksys,e7350) + ucidef_set_led_netdev "lan1" "lan1" "blue:lan-1" "lan1" + ucidef_set_led_netdev "lan2" "lan2" "blue:lan-2" "lan2" + ucidef_set_led_netdev "lan3" "lan4" "blue:lan-3" "lan3" + ucidef_set_led_netdev "lan4" "lan4" "blue:lan-4" "lan4" + ucidef_set_led_netdev "wan" "wan" "blue:wan" "wan" + ;; linksys,ea6350-v4|\ linksys,ea7300-v1|\ linksys,ea7300-v2|\ 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 5b9eca0779..f3913a1d1c 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 @@ -205,7 +205,8 @@ ramips_setup_macs() wan_mac=$lan_mac label_mac=$lan_mac ;; - belkin,rt1800) + belkin,rt1800|\ + linksys,e7350) lan_mac=$(mtd_get_mac_ascii Config lan_hwaddr) wan_mac=$(mtd_get_mac_ascii Config wan_hwaddr) label_mac=$lan_mac diff --git a/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index 98bc6c1ccf..3c2872ae2c 100644 --- a/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -84,7 +84,8 @@ case "$board" in [ "$PHYNBR" = "0" ] && macaddr_add $hw_mac_addr 1 > /sys${DEVPATH}/macaddress [ "$PHYNBR" = "1" ] && macaddr_add $hw_mac_addr 2 > /sys${DEVPATH}/macaddress ;; - belkin,rt1800) + belkin,rt1800|\ + linksys,e7350) hw_mac_addr=$(mtd_get_mac_ascii Config wan_hwaddr) [ "$PHYNBR" = "0" ] && macaddr_add $hw_mac_addr 1 > /sys${DEVPATH}/macaddress [ "$PHYNBR" = "1" ] && macaddr_add $hw_mac_addr 2 > /sys${DEVPATH}/macaddress diff --git a/target/linux/ramips/mt7621/base-files/etc/init.d/bootcount b/target/linux/ramips/mt7621/base-files/etc/init.d/bootcount index a77fc41f07..99b318a922 100755 --- a/target/linux/ramips/mt7621/base-files/etc/init.d/bootcount +++ b/target/linux/ramips/mt7621/base-files/etc/init.d/bootcount @@ -23,6 +23,7 @@ boot() { mtd resetbc s_env || true ;; belkin,rt1800|\ + linksys,e7350|\ samknows,whitebox-v8) fw_setenv bootcount 0 ;; diff --git a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh index 997b4d35ff..05907536fe 100755 --- a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh @@ -71,6 +71,7 @@ platform_do_upgrade() { iptime,t5004|\ jcg,q20|\ linksys,e5600|\ + linksys,e7350|\ linksys,ea6350-v4|\ linksys,ea7300-v1|\ linksys,ea7300-v2|\ |