forked from freifunk-franken/firmware
Add support for Xiaomi Mi Router 4A (Gigabit Edition)
Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Christian Dresel <freifunk@dresel.systems> Tested-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
parent
ffd00a93a7
commit
256ac6a6c6
|
@ -5,4 +5,5 @@ images=(
|
|||
"openwrt-ramips-mt7621-netgear_r6220-squashfs-*"
|
||||
"openwrt-ramips-mt7621-ubnt_edgerouter-x-squashfs-*"
|
||||
"openwrt-ramips-mt7621-ubnt_edgerouter-x-sfp-squashfs-*"
|
||||
"openwrt-ramips-mt7621-xiaomi_mi-router-4a-gigabit-squashfs-*"
|
||||
)
|
||||
|
|
|
@ -10,6 +10,8 @@ CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt_edgerouter-x=y
|
|||
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_ubnt_edgerouter-x=""
|
||||
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt_edgerouter-x-sfp=y
|
||||
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_ubnt_edgerouter-x-sfp=""
|
||||
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_xiaomi_mi-router-4a-gigabit=y
|
||||
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_xiaomi_mi-router-4a-gigabit=""
|
||||
CONFIG_BUSYBOX_CUSTOM=y
|
||||
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
|
||||
# CONFIG_BUSYBOX_CONFIG_BRCTL is not set
|
||||
|
|
|
@ -31,7 +31,8 @@ get_cpu_port() {
|
|||
ubnt,nanostation-m|\
|
||||
ubnt,picostation-m|\
|
||||
ubnt,unifi|\
|
||||
ubnt,unifiac-mesh)
|
||||
ubnt,unifiac-mesh|\
|
||||
xiaomi,mi-router-4a-gigabit)
|
||||
CPUPORT=""
|
||||
;;
|
||||
tplink,tl-wr1043nd-v1)
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
WANDEV=switch0
|
||||
SWITCHDEV=switch0
|
||||
CLIENT_PORTS="lan2"
|
||||
WAN_PORTS="wan"
|
||||
BATMAN_PORTS="lan1"
|
||||
DSA=1
|
Loading…
Reference in New Issue
Block a user