2020-02-28 15:01:02 +00:00
|
|
|
include ./common-mikrotik.mk
|
|
|
|
|
2020-05-26 01:10:00 +00:00
|
|
|
define Device/mikrotik_routerboard-493g
|
2020-08-01 15:39:33 +00:00
|
|
|
$(Device/mikrotik_nand)
|
2020-05-26 01:10:00 +00:00
|
|
|
SOC := ar7161
|
|
|
|
DEVICE_MODEL := RouterBOARD 493G
|
2020-08-01 15:39:33 +00:00
|
|
|
DEVICE_PACKAGES += kmod-usb-ohci kmod-usb2
|
2020-05-26 01:10:00 +00:00
|
|
|
SUPPORTED_DEVICES += rb-493g
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mikrotik_routerboard-493g
|
|
|
|
|
ath79: add support for MikroTik RouterBOARD 912UAG-2HPnD
This board has been supported in the ar71xx.
Links:
* https://mikrotik.com/product/RB912UAG-2HPnD
* https://openwrt.org/toh/hwdata/mikrotik/mikrotik_rb912uag-2hpnd
This also supports the 5GHz flavour of the board.
Hardware:
* SoC: Atheros AR9342,
* RAM: DDR 64MB,
* SPI NOR: 64KB,
* NAND: 128MB,
* Ethernet: x1 10/100/1000 port with passive POE in,
* Wi-Fi: 802.11 b/g/n,
* PCIe,
* USB: 2.0 EHCI controller, connected to mPCIe slot and a Type-A
port -- both can be used for LTE modem, but only one can be
used at any time.
* LEDs: 5 general purpose LEDs (led1..led5), power LED, user LED,
Ethernet phy LED,
* Button,
* Beeper.
Not working:
* Button: it shares gpio line 15 with NAND ALE and NAND IO7,
and current drivers doesn't easily support this configuration,
* Beeper: it is connected to bit 5 of a serial shift register
(tested with sysfs led trigger timer). But kmod-gpio-beeper
doesn't work -- we left this as is for now.
Flashing:
* Use the RouterBOARD Reset button to enable TFTP netboot,
boot kernel and initramfs and then perform sysupgrade.
* From ar71xx OpenWrt firmware run:
$ sysupgrade -F /tmp/<sysupgrade.bin>
For more info see: https://openwrt.org/toh/mikrotik/common.
Co-Developed-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Denis Kalashnikov <denis281089@gmail.com>
2021-05-27 08:16:46 +00:00
|
|
|
define Device/mikrotik_routerboard-912uag-2hpnd
|
|
|
|
$(Device/mikrotik_nand)
|
|
|
|
SOC := ar9342
|
|
|
|
DEVICE_MODEL := RouterBOARD 912UAG-2HPnD
|
2021-06-23 14:57:37 +00:00
|
|
|
DEVICE_PACKAGES += kmod-usb-ehci kmod-usb2
|
ath79: add support for MikroTik RouterBOARD 912UAG-2HPnD
This board has been supported in the ar71xx.
Links:
* https://mikrotik.com/product/RB912UAG-2HPnD
* https://openwrt.org/toh/hwdata/mikrotik/mikrotik_rb912uag-2hpnd
This also supports the 5GHz flavour of the board.
Hardware:
* SoC: Atheros AR9342,
* RAM: DDR 64MB,
* SPI NOR: 64KB,
* NAND: 128MB,
* Ethernet: x1 10/100/1000 port with passive POE in,
* Wi-Fi: 802.11 b/g/n,
* PCIe,
* USB: 2.0 EHCI controller, connected to mPCIe slot and a Type-A
port -- both can be used for LTE modem, but only one can be
used at any time.
* LEDs: 5 general purpose LEDs (led1..led5), power LED, user LED,
Ethernet phy LED,
* Button,
* Beeper.
Not working:
* Button: it shares gpio line 15 with NAND ALE and NAND IO7,
and current drivers doesn't easily support this configuration,
* Beeper: it is connected to bit 5 of a serial shift register
(tested with sysfs led trigger timer). But kmod-gpio-beeper
doesn't work -- we left this as is for now.
Flashing:
* Use the RouterBOARD Reset button to enable TFTP netboot,
boot kernel and initramfs and then perform sysupgrade.
* From ar71xx OpenWrt firmware run:
$ sysupgrade -F /tmp/<sysupgrade.bin>
For more info see: https://openwrt.org/toh/mikrotik/common.
Co-Developed-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Denis Kalashnikov <denis281089@gmail.com>
2021-05-27 08:16:46 +00:00
|
|
|
SUPPORTED_DEVICES += rb-912uag-2hpnd
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mikrotik_routerboard-912uag-2hpnd
|
|
|
|
|
2020-06-22 21:05:51 +00:00
|
|
|
define Device/mikrotik_routerboard-921gs-5hpacd-15s
|
|
|
|
$(Device/mikrotik_nand)
|
|
|
|
SOC := qca9558
|
|
|
|
DEVICE_MODEL := RouterBOARD 921GS-5HPacD-15s (mANTBox 15s)
|
2021-10-27 17:40:45 +00:00
|
|
|
DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct kmod-i2c-gpio \
|
|
|
|
kmod-sfp
|
2020-06-22 21:05:51 +00:00
|
|
|
SUPPORTED_DEVICES += rb-921gs-5hpacd-r2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mikrotik_routerboard-921gs-5hpacd-15s
|
|
|
|
|
2020-02-28 15:01:02 +00:00
|
|
|
define Device/mikrotik_routerboard-922uags-5hpacd
|
2020-08-01 15:39:33 +00:00
|
|
|
$(Device/mikrotik_nand)
|
2020-02-28 15:01:02 +00:00
|
|
|
SOC := qca9558
|
|
|
|
DEVICE_MODEL := RouterBOARD 922UAGS-5HPacD
|
2020-12-18 21:26:55 +00:00
|
|
|
DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct kmod-usb2 \
|
|
|
|
kmod-i2c-gpio kmod-sfp
|
2020-02-28 15:01:02 +00:00
|
|
|
SUPPORTED_DEVICES += rb-922uags-5hpacd
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mikrotik_routerboard-922uags-5hpacd
|
|
|
|
|
2022-05-19 18:00:53 +00:00
|
|
|
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
|
|
|
|
|
2022-05-02 15:07:45 +00:00
|
|
|
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
|
|
|
|
|
2021-04-10 02:56:49 +00:00
|
|
|
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
|
|
|
|
|
2020-06-09 10:30:35 +00:00
|
|
|
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
|
|
|
|
|
2021-12-09 11:12:37 +00:00
|
|
|
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
|
|
|
|
|
2022-06-12 19:48:40 +00:00
|
|
|
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
|
|
|
|
|
2022-02-28 10:34:43 +00:00
|
|
|
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
|
|
|
|
|
ath79: add support for MikroTik SXT 5nD r2 (SXT Lite5)
The MikroTik SXT Lite5 (product code RBSXT5nDr2, also SXT 5nD r2) is
an outdoor 5GHz CPE with a 16 dBi integrated antenna built around the
Atheros AR9344 SoC. It is based on the "sxt5n" board platform.
Specifications:
- SoC: Atheros AR9344
- RAM: 64 MB
- Storage: 128 MB NAND
- Wireless: Atheros AR9340 (SoC) 802.11a/n 2x2:2
- Ethernet: Atheros AR8229 switch (SoC), 1x 10/100 port,
8-32 Vdc PoE in
- 6 user-controllable LEDs:
· 1x power (blue)
· 1x wlan (green)
· 4x rssi (green)
- 1 GPIO-controlled buzzer
See https://mikrotik.com/product/RBSXT5nDr2 for more details.
Notes:
The device was already supported in the ar71xx target. There, the
Ethernet port was handled by GMAC1. Here in ath79 it is handled by
GMAC0, which allows to get link information (loss, speed, duplex) on
the eth0 interface.
Flashing:
TFTP boot initramfs image and then perform sysupgrade. Follow common
MikroTik procedure as in https://openwrt.org/toh/mikrotik/common.
Acknowledgments:
Michael Pratt (@mpratt14) for helping on the network settings.
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
[rebase, use mikrotik LED label prefix, make names consistent,
add reg for bootloader2, use led_user for boot indication etc.,
minor cosmetic changes]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-06-11 12:22:54 +00:00
|
|
|
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
|
|
|
|
|
2020-02-28 15:01:02 +00:00
|
|
|
define Device/mikrotik_routerboard-wap-g-5hact2hnd
|
2020-08-01 15:39:33 +00:00
|
|
|
$(Device/mikrotik_nor)
|
2020-02-28 15:01:02 +00:00
|
|
|
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
|
2020-11-16 15:54:54 +00:00
|
|
|
|
|
|
|
define Device/mikrotik_routerboard-wapr-2nd
|
|
|
|
$(Device/mikrotik_nor)
|
|
|
|
SOC := qca9533
|
|
|
|
DEVICE_MODEL := RouterBOARD wAPR-2nD (wAP R)
|
2021-10-22 10:19:40 +00:00
|
|
|
DEVICE_PACKAGES += kmod-usb2 rssileds
|
2020-11-16 15:54:54 +00:00
|
|
|
IMAGE_SIZE := 16256k
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mikrotik_routerboard-wapr-2nd
|
2022-04-16 12:01:31 +00:00
|
|
|
|
|
|
|
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
|