forked from Openwrt-EcoNet/openwrt
Mikrotik RouterBOARD 2011 series are AR9344-based wired routers, with optional 2,4GHz 802.11n 2x2:2 Wi-Fi radio, with desktop or rack-mount capability, featuring 5 gigabit Ethernet ports and 5 fast Ethernet ports. Different variants of the board are supported using a single image. Bare-bones RouterBOARD 2011LS is supported using the same image. Specification: - Power: 10-28V input via 5,5/2,1 DC barrel jack, or terminal block on some boards - CPU: AR9344 at 600 to 750MHz (configurable) - RAM: 128MB (64MB in early versions) DDR2 - Flash: 128MB (64MB in early versions) NAND flash - Gigabit Ethernet: 5 ports via AR8327 switch (eth1 to eth5) - Fast Ethernet: 5 ports via AR9344 built-in switch (eth6 to eth10) - SFP: single port through AR8327 switch (SGMII at port 6) - PoE in: passive input up to 28V at eth1 - PoE out: passive output up to 28V at eth10 - USB: optional micro-AB host port or type-A host port - Console: optional Cisco-style RS232 console at the back of the device, on budget devices available as 3.3V UART via testpoints - LCD: 2" touchscreen-equipped LCD (unsupported) Installation: - perform TFTP boot of initramfs image as for netinstall procedure typical for Mikrotik devices - when initramfs image boots, use sysupgrade to perform final installation. If upgrading from ar71xx, clean installation should be performed, as the devices now uses yafut to handle kernel image. TODO: - 64MB NAND variant using K9F1208U0C isn't yet supported, because it needs disabling subpage write support for that chip. A proper solution would be to fix that in kernel, but I don't have this variant to test with currently. - The same is true for GD9FU1G8F3A NAND, which isn't ONFI compliant and needs definition in kernel for proper geometry. - SFP port probes over I²C and gigabit link is possible, but currently the drivers lack support of handling link status information to userspace, including swconfig. Link will appear as always up. Currently, link status logging can detect something, but status both for ports 0 and 6 is logged simultaneously, but "swconfig dev switch0 show" will always show link up on port 6. - Not yet fully known connection to display and touch panel, but some documentation is available (seemingly connected via SPI, according to Mikrotik's open source code at [1]) [1] https://github.com/robimarko/routeros-GPL Signed-off-by: Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17617 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
210 lines
6.2 KiB
Makefile
210 lines
6.2 KiB
Makefile
include ./common-mikrotik.mk
|
|
|
|
define Device/mikrotik_routerboard-2011uias-2hnd
|
|
$(Device/mikrotik_nand)
|
|
SOC := ar9344
|
|
DEVICE_MODEL := RouterBOARD 2011UiAS-2HnD
|
|
DEVICE_PACKAGES += kmod-usb2 kmod-i2c-gpio kmod-sfp kmod-gpio-beeper
|
|
SUPPORTED_DEVICES += rb-2011l rb-2011il rb-2011ils \
|
|
rb-2011uas rb-2011uas-2hnd rb-2011uias \
|
|
rb-2011uias-2hnd rb-2011uias-2hnd-r2
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-2011uias-2hnd
|
|
|
|
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-750-r2
|
|
$(Device/mikrotik_nor)
|
|
SOC := qca9533
|
|
DEVICE_MODEL := RouterBOARD 750 r2 (hEX lite)
|
|
IMAGE_SIZE := 16256k
|
|
SUPPORTED_DEVICES += rb-750-r2
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-750-r2
|
|
|
|
define Device/mikrotik_routerboard-911-lite
|
|
$(Device/mikrotik_nor)
|
|
SOC := ar9344
|
|
DEVICE_MODEL := RouterBOARD 911 Lite2/Lite5 (2Hn/5Hn)
|
|
DEVICE_PACKAGES += rssileds
|
|
IMAGE_SIZE := 16256k
|
|
SUPPORTED_DEVICES += rb-911-2hn rb-911-5hn
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-911-lite
|
|
|
|
define Device/mikrotik_routerboard-911g-xhpnd
|
|
$(Device/mikrotik_nand)
|
|
SOC := ar9342
|
|
DEVICE_MODEL := RouterBOARD 911G-2HPnD
|
|
DEVICE_ALT0_VENDOR := Mikrotik
|
|
DEVICE_ALT0_MODEL := RouterBOARD 911G-5HPnD
|
|
DEVICE_PACKAGES += rssileds
|
|
SUPPORTED_DEVICES += rb-912uag-2hpnd
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-911g-xhpnd
|
|
|
|
define Device/mikrotik_routerboard-912uag-2hpnd
|
|
$(Device/mikrotik_nand)
|
|
SOC := ar9342
|
|
DEVICE_MODEL := RouterBOARD 912UAG-2HPnD
|
|
DEVICE_ALT0_VENDOR := Mikrotik
|
|
DEVICE_ALT0_MODEL := RouterBOARD 912UAG-5HPnD
|
|
DEVICE_PACKAGES += kmod-usb-ehci kmod-usb2 rssileds
|
|
SUPPORTED_DEVICES += rb-912uag-2hpnd
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-912uag-2hpnd
|
|
|
|
define Device/mikrotik_routerboard-911g-5hpacd
|
|
$(Device/mikrotik_nand)
|
|
SOC := qca9558
|
|
DEVICE_MODEL := RouterBOARD 911G-5HPacD
|
|
DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
SUPPORTED_DEVICES += rb-921gs-5hpacd-r2
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-911g-5hpacd
|
|
|
|
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 kmod-i2c-gpio \
|
|
kmod-sfp
|
|
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-951g-2hnd
|
|
$(Device/mikrotik_nand)
|
|
SOC := ar9344
|
|
DEVICE_MODEL := RouterBOARD 951G-2HnD
|
|
DEVICE_PACKAGES += kmod-usb-ohci kmod-usb2
|
|
SUPPORTED_DEVICES += rb-951g-2hnd
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-951g-2hnd
|
|
|
|
define Device/mikrotik_routerboard-951ui-2hnd
|
|
$(Device/mikrotik_nand)
|
|
SOC := ar9344
|
|
DEVICE_MODEL := RouterBOARD 951Ui-2HnD
|
|
DEVICE_PACKAGES += kmod-usb-ohci kmod-usb2
|
|
SUPPORTED_DEVICES += rb-951ui-2hnd
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-951ui-2hnd
|
|
|
|
define Device/mikrotik_routerboard-951ui-2nd
|
|
$(Device/mikrotik_nor)
|
|
SOC := qca9531
|
|
DEVICE_MODEL := RouterBOARD 951Ui-2nD (hAP)
|
|
IMAGE_SIZE := 16256k
|
|
SUPPORTED_DEVICES += rb-951ui-2nd
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-951ui-2nd
|
|
|
|
define Device/mikrotik_routerboard-952ui-5ac2nd
|
|
$(Device/mikrotik_nor)
|
|
SOC := qca9533
|
|
DEVICE_MODEL := RouterBOARD 952Ui-5ac2nD (hAP ac lite)
|
|
DEVICE_PACKAGES += kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct
|
|
IMAGE_SIZE := 16256k
|
|
SUPPORTED_DEVICES += rb-952ui-5ac2nd
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-952ui-5ac2nd
|
|
|
|
define Device/mikrotik_routerboard-962uigs-5hact2hnt
|
|
$(Device/mikrotik_nor)
|
|
SOC := qca9558
|
|
DEVICE_MODEL := RouterBOARD 962UiGS-5HacT2HnT (hAP ac)
|
|
DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct kmod-usb2 \
|
|
kmod-i2c-gpio kmod-sfp
|
|
IMAGE_SIZE := 16256k
|
|
SUPPORTED_DEVICES += rb-962uigs-5hact2hnt
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-962uigs-5hact2hnt
|
|
|
|
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-lhg-5nd
|
|
$(Device/mikrotik_nor)
|
|
SOC := ar9344
|
|
DEVICE_MODEL := RouterBOARD LHG 5nD (LHG 5)
|
|
DEVICE_PACKAGES += rssileds
|
|
IMAGE_SIZE := 16256k
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-lhg-5nd
|
|
|
|
define Device/mikrotik_routerboard-map-2nd
|
|
$(Device/mikrotik_nor)
|
|
SOC := qca9533
|
|
DEVICE_MODEL := RouterBOARD mAP-2nD (mAP)
|
|
DEVICE_PACKAGES += kmod-usb2 kmod-ledtrig-gpio
|
|
IMAGE_SIZE := 16256k
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-map-2nd
|
|
|
|
define Device/mikrotik_routerboard-mapl-2nd
|
|
$(Device/mikrotik_nor)
|
|
SOC := qca9533
|
|
DEVICE_MODEL := RouterBOARD mAPL-2nD (mAP lite)
|
|
IMAGE_SIZE := 16256k
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-mapl-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 += kmod-usb2 rssileds
|
|
IMAGE_SIZE := 16256k
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-wapr-2nd
|
|
|
|
define Device/mikrotik_routerboard-wap-2nd
|
|
$(Device/mikrotik_nor)
|
|
SOC := qca9533
|
|
DEVICE_MODEL := RouterBOARD wAP-2nD (wAP)
|
|
IMAGE_SIZE := 16256k
|
|
endef
|
|
TARGET_DEVICES += mikrotik_routerboard-wap-2nd
|