diff --git a/bsp/ramips-mt7621.bsp b/bsp/ramips-mt7621.bsp index 091c5d1d..4e3c1c59 100644 --- a/bsp/ramips-mt7621.bsp +++ b/bsp/ramips-mt7621.bsp @@ -2,6 +2,7 @@ chipset=ramips subtarget=mt7621 images=( + "openwrt-ramips-mt7621-glinet_gl-mt1300-squashfs-*" "openwrt-ramips-mt7621-netgear_r6220-squashfs-*" "openwrt-ramips-mt7621-ubnt_edgerouter-x-squashfs-*" "openwrt-ramips-mt7621-ubnt_edgerouter-x-sfp-squashfs-*" diff --git a/bsp/ramips-mt7621/.config b/bsp/ramips-mt7621/.config index bc7766a9..4f83e7f9 100644 --- a/bsp/ramips-mt7621/.config +++ b/bsp/ramips-mt7621/.config @@ -4,6 +4,8 @@ CONFIG_TARGET_ramips=y CONFIG_TARGET_ramips_mt7621=y CONFIG_TARGET_MULTI_PROFILE=y +CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_glinet_gl-mt1300=y +CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_glinet_gl-mt1300="" CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_netgear_r6220=y CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_netgear_r6220="" CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt_edgerouter-x=y diff --git a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport index 31cfb600..b9d2c833 100644 --- a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport +++ b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport @@ -15,6 +15,7 @@ get_cpu_port() { xiaomi,mi-router-4a-100m) CPUPORT="6t" ;; + glinet,gl-mt1300|\ netgear,r6220|\ tplink,cpe210-v2|\ tplink,cpe210-v3|\ diff --git a/src/packages/fff/fff-network/mipsel/network.glinet,gl-mt1300 b/src/packages/fff/fff-network/mipsel/network.glinet,gl-mt1300 new file mode 100644 index 00000000..dd32a3e0 --- /dev/null +++ b/src/packages/fff/fff-network/mipsel/network.glinet,gl-mt1300 @@ -0,0 +1,6 @@ +WANDEV=switch0 +SWITCHDEV=switch0 +CLIENT_PORTS="lan2" +WAN_PORTS="wan" +BATMAN_PORTS="lan1" +DSA=1