mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-25 05:47:00 +00:00
a524a0dff8
This patch enables the SFP cage on the MikroTik RouterBOARD 922UAGS-5HPacD. GPIO16 (tx-disable-gpios) should be governed by the SFP driver to enable or disable transmission, but no change is observed. Therefore, it is left as output high to ensure the SFP module is forced to transmit. Tested on a RouterBOARD 922UAGS-5HPacD board, with a CISCO GLC-LH-SMD 1310nm module and an unbranded GLC-T RJ45 Gigabit module. PC=>router iperf3 tests deliver 440/300 Mbps up/down, both via regular eth0 port or SFP port with RJ45 module. Bridge between eth0 and eth1 delivers 950 Mbps symmetric. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> (cherry picked from commit 4387fe00cb7536d9d341f6d27e465ff0f0b29b1b)
66 lines
2.0 KiB
Makefile
66 lines
2.0 KiB
Makefile
include ./common-mikrotik.mk
|
|
|
|
define Device/mikrotik_routerboard-493g
|
|
$(Device/mikrotik_nand)
|
|
SOC := ar7161
|
|
DEVICE_MODEL := RouterBOARD 493G
|
|
DEVICE_PACKAGES += kmod-usb-ohci kmod-usb2
|
|
SUPPORTED_DEVICES += rb-493g
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-493g
|
|
|
|
define Device/mikrotik_routerboard-921gs-5hpacd-15s
|
|
$(Device/mikrotik_nand)
|
|
SOC := qca9558
|
|
DEVICE_MODEL := RouterBOARD 921GS-5HPacD-15s (mANTBox 15s)
|
|
DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
SUPPORTED_DEVICES += rb-921gs-5hpacd-r2
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-921gs-5hpacd-15s
|
|
|
|
define Device/mikrotik_routerboard-922uags-5hpacd
|
|
$(Device/mikrotik_nand)
|
|
SOC := qca9558
|
|
DEVICE_MODEL := RouterBOARD 922UAGS-5HPacD
|
|
DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct kmod-usb2 \
|
|
kmod-i2c-gpio kmod-sfp
|
|
SUPPORTED_DEVICES += rb-922uags-5hpacd
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-922uags-5hpacd
|
|
|
|
define Device/mikrotik_routerboard-lhg-2nd
|
|
$(Device/mikrotik_nor)
|
|
SOC := qca9533
|
|
DEVICE_MODEL := RouterBOARD LHG 2nD (LHG 2)
|
|
IMAGE_SIZE := 16256k
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-lhg-2nd
|
|
|
|
define Device/mikrotik_routerboard-sxt-5nd-r2
|
|
$(Device/mikrotik_nand)
|
|
SOC := ar9344
|
|
DEVICE_MODEL := RouterBOARD SXT 5nD r2 (SXT Lite5)
|
|
DEVICE_PACKAGES += rssileds kmod-gpio-beeper
|
|
SUPPORTED_DEVICES += rb-sxt5n
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-sxt-5nd-r2
|
|
|
|
define Device/mikrotik_routerboard-wap-g-5hact2hnd
|
|
$(Device/mikrotik_nor)
|
|
SOC := qca9556
|
|
DEVICE_MODEL := RouterBOARD wAP G-5HacT2HnD (wAP AC)
|
|
IMAGE_SIZE := 16256k
|
|
DEVICE_PACKAGES += kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
|
SUPPORTED_DEVICES += rb-wapg-5hact2hnd
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-wap-g-5hact2hnd
|
|
|
|
define Device/mikrotik_routerboard-wapr-2nd
|
|
$(Device/mikrotik_nor)
|
|
SOC := qca9533
|
|
DEVICE_MODEL := RouterBOARD wAPR-2nD (wAP R)
|
|
DEVICE_PACKAGES += rssileds
|
|
IMAGE_SIZE := 16256k
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-wapr-2nd
|