2018-11-19 20:44:50 +00:00
|
|
|
DEVICE_VARS += UBNT_BOARD UBNT_CHIP UBNT_TYPE UBNT_VERSION UBNT_REVISION
|
|
|
|
|
|
|
|
# On M (XW) devices the U-Boot as of version 1.1.4-s1039 doesn't like
|
|
|
|
# VERSION_DIST being on the place of major(?) version number, so we need to
|
|
|
|
# use some number.
|
|
|
|
UBNT_REVISION := $(VERSION_DIST)-$(REVISION)
|
2018-05-06 08:20:11 +00:00
|
|
|
|
|
|
|
# mkubntimage is using the kernel image direct
|
|
|
|
# routerboard creates partitions out of the ubnt header
|
|
|
|
define Build/mkubntimage
|
2019-12-19 19:42:19 +00:00
|
|
|
-$(STAGING_DIR_HOST)/bin/mkfwimage -B $(UBNT_BOARD) \
|
|
|
|
-v $(UBNT_TYPE).$(UBNT_CHIP).v6.0.0-$(VERSION_DIST)-$(REVISION) \
|
|
|
|
-k $(IMAGE_KERNEL) -r $@ -o $@
|
2018-05-06 08:20:11 +00:00
|
|
|
endef
|
|
|
|
|
2020-09-11 16:32:05 +00:00
|
|
|
define Build/mkubntimage2
|
|
|
|
-$(STAGING_DIR_HOST)/bin/mkfwimage2 -f 0x9f000000 \
|
|
|
|
-v $(UBNT_TYPE).$(UBNT_CHIP).v6.0.0-$(VERSION_DIST)-$(REVISION) \
|
|
|
|
-p jffs2:0x50000:0xf60000:0:0:$@ \
|
|
|
|
-o $@.new
|
|
|
|
@mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
2018-01-23 10:36:41 +00:00
|
|
|
# all UBNT XM/WA devices expect the kernel image to have 1024k while flash, when
|
2018-05-06 08:20:11 +00:00
|
|
|
# booting the image, the size doesn't matter.
|
|
|
|
define Build/mkubntimage-split
|
|
|
|
-[ -f $@ ] && ( \
|
|
|
|
dd if=$@ of=$@.old1 bs=1024k count=1; \
|
|
|
|
dd if=$@ of=$@.old2 bs=1024k skip=1; \
|
2019-12-19 19:42:19 +00:00
|
|
|
$(STAGING_DIR_HOST)/bin/mkfwimage -B $(UBNT_BOARD) \
|
|
|
|
-v $(UBNT_TYPE).$(UBNT_CHIP).v$(UBNT_VERSION)-$(UBNT_REVISION) \
|
|
|
|
-k $@.old1 -r $@.old2 -o $@; \
|
2018-05-06 08:20:11 +00:00
|
|
|
rm $@.old1 $@.old2 )
|
|
|
|
endef
|
|
|
|
|
|
|
|
# UBNT_BOARD e.g. one of (XS2, XS5, RS, XM)
|
|
|
|
# UBNT_TYPE e.g. one of (BZ, XM, XW)
|
|
|
|
# UBNT_CHIP e.g. one of (ar7240, ar933x, ar934x)
|
2020-05-28 09:44:54 +00:00
|
|
|
# UBNT_VERSION e.g. one of (6.0.0, 8.5.3)
|
2018-05-06 08:20:11 +00:00
|
|
|
define Device/ubnt
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_VENDOR := Ubiquiti
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2
|
2018-05-07 20:41:04 +00:00
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
2020-03-10 13:58:27 +00:00
|
|
|
append-rootfs | pad-rootfs | check-size | mkubntimage-split
|
2018-05-06 08:20:11 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/ubnt-bz
|
|
|
|
$(Device/ubnt)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar7241
|
2019-10-22 11:08:23 +00:00
|
|
|
IMAGE_SIZE := 7448k
|
2019-12-06 12:56:51 +00:00
|
|
|
UBNT_BOARD := XM
|
2018-05-06 08:20:11 +00:00
|
|
|
UBNT_CHIP := ar7240
|
2019-12-06 12:56:51 +00:00
|
|
|
UBNT_TYPE := BZ
|
|
|
|
UBNT_VERSION := 6.0.0
|
2018-05-06 08:20:11 +00:00
|
|
|
endef
|
|
|
|
|
2019-12-03 21:39:01 +00:00
|
|
|
define Device/ubnt-sw
|
|
|
|
$(Device/ubnt)
|
|
|
|
SOC := ar7242
|
|
|
|
DEVICE_PACKAGES += kmod-usb-ohci
|
|
|
|
IMAGE_SIZE := 7552k
|
|
|
|
UBNT_BOARD := SW
|
|
|
|
UBNT_CHIP := ar7240
|
|
|
|
UBNT_TYPE := SW
|
|
|
|
UBNT_VERSION := 1.4.1
|
|
|
|
KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | uImage lzma
|
|
|
|
endef
|
|
|
|
|
2020-12-23 02:32:54 +00:00
|
|
|
define Device/ubnt-2wa
|
|
|
|
$(Device/ubnt)
|
|
|
|
SOC := ar9342
|
|
|
|
IMAGE_SIZE := 15744k
|
|
|
|
UBNT_BOARD := WA
|
|
|
|
UBNT_CHIP := ar934x
|
|
|
|
UBNT_TYPE := 2WA
|
|
|
|
UBNT_VERSION := 8.5.3
|
|
|
|
endef
|
|
|
|
|
2018-01-23 10:36:41 +00:00
|
|
|
define Device/ubnt-wa
|
|
|
|
$(Device/ubnt)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9342
|
2019-10-22 11:08:23 +00:00
|
|
|
IMAGE_SIZE := 15744k
|
2018-01-23 10:36:41 +00:00
|
|
|
UBNT_BOARD := WA
|
2019-12-06 12:56:51 +00:00
|
|
|
UBNT_CHIP := ar934x
|
|
|
|
UBNT_TYPE := WA
|
2020-05-28 09:44:54 +00:00
|
|
|
UBNT_VERSION := 8.5.3
|
2018-01-23 10:36:41 +00:00
|
|
|
endef
|
|
|
|
|
2020-04-24 00:22:44 +00:00
|
|
|
define Device/ubnt-xc
|
|
|
|
$(Device/ubnt)
|
|
|
|
IMAGE_SIZE := 15744k
|
|
|
|
UBNT_BOARD := XC
|
|
|
|
UBNT_CHIP := qca955x
|
|
|
|
UBNT_TYPE := XC
|
2020-05-28 09:44:54 +00:00
|
|
|
UBNT_VERSION := 8.5.3
|
2020-04-24 00:22:44 +00:00
|
|
|
endef
|
|
|
|
|
2019-08-22 12:34:45 +00:00
|
|
|
define Device/ubnt-xm
|
|
|
|
$(Device/ubnt)
|
|
|
|
DEVICE_VARIANT := XM
|
2019-11-13 15:18:59 +00:00
|
|
|
DEVICE_PACKAGES += kmod-usb-ohci
|
2019-10-22 11:08:23 +00:00
|
|
|
IMAGE_SIZE := 7448k
|
2019-12-06 12:56:51 +00:00
|
|
|
UBNT_BOARD := XM
|
2019-08-22 12:34:45 +00:00
|
|
|
UBNT_CHIP := ar7240
|
2021-12-26 10:59:44 +00:00
|
|
|
UBNT_REVISION := 42.$(UBNT_REVISION)
|
2019-12-06 12:56:51 +00:00
|
|
|
UBNT_TYPE := XM
|
|
|
|
UBNT_VERSION := 6.0.0
|
2019-08-22 12:34:45 +00:00
|
|
|
KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | uImage lzma
|
|
|
|
endef
|
|
|
|
|
2018-11-17 07:01:55 +00:00
|
|
|
define Device/ubnt-xw
|
|
|
|
$(Device/ubnt)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9342
|
2019-09-18 19:36:46 +00:00
|
|
|
DEVICE_VARIANT := XW
|
2019-10-22 11:08:23 +00:00
|
|
|
IMAGE_SIZE := 7552k
|
2018-11-17 07:01:55 +00:00
|
|
|
UBNT_BOARD := XM
|
2019-12-06 12:56:51 +00:00
|
|
|
UBNT_CHIP := ar934x
|
2018-11-19 20:44:50 +00:00
|
|
|
UBNT_REVISION := 42.$(UBNT_REVISION)
|
2019-12-06 12:56:51 +00:00
|
|
|
UBNT_TYPE := XW
|
|
|
|
UBNT_VERSION := 6.0.4
|
2018-11-17 07:01:55 +00:00
|
|
|
endef
|
|
|
|
|
2020-12-09 21:18:43 +00:00
|
|
|
define Device/ubnt-unifi-jffs2
|
|
|
|
$(Device/ubnt)
|
|
|
|
KERNEL_SIZE := 3072k
|
|
|
|
IMAGE_SIZE := 15744k
|
|
|
|
UBNT_TYPE := BZ
|
|
|
|
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma | jffs2 kernel0
|
|
|
|
IMAGES := sysupgrade.bin factory.bin
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-rootfs |\
|
2021-06-20 16:54:36 +00:00
|
|
|
pad-rootfs | check-size | append-metadata
|
2020-12-09 21:18:43 +00:00
|
|
|
IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | mkubntimage2
|
|
|
|
endef
|
|
|
|
|
2020-10-04 05:43:41 +00:00
|
|
|
define Device/ubnt-acb
|
2019-08-22 12:34:45 +00:00
|
|
|
$(Device/ubnt)
|
2019-12-06 12:56:51 +00:00
|
|
|
IMAGE_SIZE := 15744k
|
2020-10-04 05:43:41 +00:00
|
|
|
UBNT_BOARD := ACB
|
2019-12-06 12:56:51 +00:00
|
|
|
UBNT_TYPE := ACB
|
2019-12-11 13:40:24 +00:00
|
|
|
UBNT_VERSION := 2.5.0
|
2020-10-04 05:43:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/ubnt_aircube-ac
|
|
|
|
$(Device/ubnt-acb)
|
|
|
|
SOC := ar9342
|
|
|
|
DEVICE_MODEL := airCube AC
|
|
|
|
UBNT_CHIP := ar9342
|
|
|
|
DEVICE_PACKAGES += kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_aircube-ac
|
|
|
|
|
|
|
|
define Device/ubnt_aircube-isp
|
|
|
|
$(Device/ubnt-acb)
|
|
|
|
SOC := qca9533
|
|
|
|
DEVICE_MODEL := airCube ISP
|
|
|
|
UBNT_CHIP := qca9533
|
2020-10-06 12:08:28 +00:00
|
|
|
SUPPORTED_DEVICES += ubnt,acb-isp
|
2019-08-22 12:34:45 +00:00
|
|
|
endef
|
2020-10-06 12:08:28 +00:00
|
|
|
TARGET_DEVICES += ubnt_aircube-isp
|
2019-08-22 12:34:45 +00:00
|
|
|
|
2018-11-26 22:28:00 +00:00
|
|
|
define Device/ubnt_airrouter
|
|
|
|
$(Device/ubnt-xm)
|
2020-03-11 01:06:02 +00:00
|
|
|
SOC := ar7241
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := AirRouter
|
2018-11-26 22:28:00 +00:00
|
|
|
SUPPORTED_DEVICES += airrouter
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_airrouter
|
|
|
|
|
2020-12-23 02:32:54 +00:00
|
|
|
define Device/ubnt_bullet-ac
|
|
|
|
$(Device/ubnt-2wa)
|
|
|
|
DEVICE_MODEL := Bullet AC
|
|
|
|
DEVICE_PACKAGES += kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_bullet-ac
|
|
|
|
|
ath79: add support for ubnt_bullet-m-ar7240 variant
This adds support for the Ubiquiti Bullet M (AR7240).
Specifications:
- AR7240 SoC @ 400 MHz
- 32 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet, 24 Vdc PoE-in
- External antenna
- POWER/LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1) on PCB
Flashing via WebUI:
Upload the factory image via the stock firmware web UI.
Attention: airOS firmware versions >= 5.6 have a new bootloader with
an incompatible partition table!
Please downgrade to <= 5.5 _before_ flashing OpenWrt!
Refer to the device's Wiki page for further information.
Flashing via TFTP:
Same procedure as other Ubiquiti M boards.
- Use a pointy tool (e.g., pen cap, paper clip) and keep the reset
button on the device or on the PoE supply pressed
- Power on the device via PoE (keep reset button pressed)
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button
- The device starts a TFTP server at 192.168.1.20
- Set a static IP on the computer (e.g., 192.168.1.21/24)
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_bullet-m-ar7240-squashfs-factory.bin
The "fixed-link" section of the device tree is needed to avoid errors like this:
Generic PHY mdio.0:1f:04: Master/Slave resolution failed, maybe conflicting manual settings?
With "fixed-link", the errors go away and eth0 comes up reliably.
Signed-off-by: Russell Senior <russell@personaltelco.net>
[fix SUPPORTED_DEVICES]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-03-19 11:27:28 +00:00
|
|
|
define Device/ubnt_bullet-m-ar7240
|
|
|
|
$(Device/ubnt-xm)
|
|
|
|
SOC := ar7240
|
2020-07-15 16:41:57 +00:00
|
|
|
DEVICE_MODEL := Bullet M
|
ath79: add support for ubnt_bullet-m-ar7240 variant
This adds support for the Ubiquiti Bullet M (AR7240).
Specifications:
- AR7240 SoC @ 400 MHz
- 32 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet, 24 Vdc PoE-in
- External antenna
- POWER/LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1) on PCB
Flashing via WebUI:
Upload the factory image via the stock firmware web UI.
Attention: airOS firmware versions >= 5.6 have a new bootloader with
an incompatible partition table!
Please downgrade to <= 5.5 _before_ flashing OpenWrt!
Refer to the device's Wiki page for further information.
Flashing via TFTP:
Same procedure as other Ubiquiti M boards.
- Use a pointy tool (e.g., pen cap, paper clip) and keep the reset
button on the device or on the PoE supply pressed
- Power on the device via PoE (keep reset button pressed)
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button
- The device starts a TFTP server at 192.168.1.20
- Set a static IP on the computer (e.g., 192.168.1.21/24)
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_bullet-m-ar7240-squashfs-factory.bin
The "fixed-link" section of the device tree is needed to avoid errors like this:
Generic PHY mdio.0:1f:04: Master/Slave resolution failed, maybe conflicting manual settings?
With "fixed-link", the errors go away and eth0 comes up reliably.
Signed-off-by: Russell Senior <russell@personaltelco.net>
[fix SUPPORTED_DEVICES]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-03-19 11:27:28 +00:00
|
|
|
DEVICE_VARIANT := XM (AR7240)
|
|
|
|
DEVICE_PACKAGES += rssileds
|
|
|
|
SUPPORTED_DEVICES += bullet-m
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_bullet-m-ar7240
|
|
|
|
|
2020-03-11 01:06:03 +00:00
|
|
|
define Device/ubnt_bullet-m-ar7241
|
2018-05-06 08:20:11 +00:00
|
|
|
$(Device/ubnt-xm)
|
2020-03-11 01:06:02 +00:00
|
|
|
SOC := ar7241
|
2020-07-15 16:41:57 +00:00
|
|
|
DEVICE_MODEL := Bullet M
|
2020-03-11 01:06:03 +00:00
|
|
|
DEVICE_VARIANT := XM (AR7241)
|
2019-11-13 15:18:59 +00:00
|
|
|
DEVICE_PACKAGES += rssileds
|
2020-03-11 01:06:03 +00:00
|
|
|
SUPPORTED_DEVICES += bullet-m ubnt,bullet-m
|
2018-05-06 08:20:11 +00:00
|
|
|
endef
|
2020-03-11 01:06:03 +00:00
|
|
|
TARGET_DEVICES += ubnt_bullet-m-ar7241
|
2018-05-06 08:20:11 +00:00
|
|
|
|
2018-11-17 07:01:55 +00:00
|
|
|
define Device/ubnt_bullet-m-xw
|
|
|
|
$(Device/ubnt-xw)
|
2020-07-15 16:41:57 +00:00
|
|
|
DEVICE_MODEL := Bullet M
|
2019-11-13 15:18:59 +00:00
|
|
|
DEVICE_PACKAGES += rssileds
|
2018-11-17 07:01:55 +00:00
|
|
|
SUPPORTED_DEVICES += bullet-m-xw
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_bullet-m-xw
|
|
|
|
|
2020-01-01 09:01:48 +00:00
|
|
|
define Device/ubnt_edgeswitch-5xp
|
|
|
|
$(Device/ubnt-sw)
|
|
|
|
DEVICE_MODEL := EdgeSwitch 5XP
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_edgeswitch-5xp
|
|
|
|
|
2019-12-03 21:48:35 +00:00
|
|
|
define Device/ubnt_edgeswitch-8xp
|
|
|
|
$(Device/ubnt-sw)
|
|
|
|
DEVICE_MODEL := EdgeSwitch 8XP
|
2020-05-13 21:42:15 +00:00
|
|
|
DEVICE_PACKAGES += kmod-switch-bcm53xx-mdio
|
2019-12-03 21:48:35 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_edgeswitch-8xp
|
|
|
|
|
2018-09-19 12:17:35 +00:00
|
|
|
define Device/ubnt_lap-120
|
|
|
|
$(Device/ubnt-wa)
|
2020-07-15 16:41:57 +00:00
|
|
|
DEVICE_MODEL := LiteAP ac (LAP-120)
|
2019-12-22 20:05:13 +00:00
|
|
|
DEVICE_PACKAGES += kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
2018-09-19 12:17:35 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_lap-120
|
|
|
|
|
2019-04-12 17:21:58 +00:00
|
|
|
define Device/ubnt_litebeam-ac-gen2
|
|
|
|
$(Device/ubnt-wa)
|
|
|
|
DEVICE_MODEL := LiteBeam AC
|
|
|
|
DEVICE_VARIANT := Gen2
|
2019-12-22 20:05:13 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
2019-04-12 17:21:58 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_litebeam-ac-gen2
|
|
|
|
|
2019-01-08 14:27:57 +00:00
|
|
|
define Device/ubnt_nanobeam-ac
|
|
|
|
$(Device/ubnt-wa)
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := NanoBeam AC
|
2020-10-25 13:51:55 +00:00
|
|
|
DEVICE_VARIANT := Gen1
|
2019-12-22 20:05:13 +00:00
|
|
|
DEVICE_PACKAGES += kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
|
2019-01-08 14:27:57 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_nanobeam-ac
|
|
|
|
|
2020-10-25 13:51:55 +00:00
|
|
|
define Device/ubnt_nanobeam-ac-gen2
|
|
|
|
$(Device/ubnt-wa)
|
|
|
|
DEVICE_MODEL := NanoBeam AC
|
|
|
|
DEVICE_VARIANT := Gen2
|
|
|
|
DEVICE_PACKAGES += kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_nanobeam-ac-gen2
|
|
|
|
|
2022-01-16 18:00:19 +00:00
|
|
|
define Device/ubnt_nanobeam-ac-xc
|
|
|
|
$(Device/ubnt-xc)
|
|
|
|
SOC := qca9558
|
|
|
|
DEVICE_MODEL := NanoBeam AC
|
|
|
|
DEVICE_VARIANT := Gen1 (XC)
|
|
|
|
DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct rssileds
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_nanobeam-ac-xc
|
|
|
|
|
ath79: add support for Ubiquiti NanoBridge M (XM)
This patch adds support for the Ubiquiti NanoBridge M (XM), a
802.11n wireless with a feed+dish form factor, with the same board
definition as the Bullet M (XM).
Specifications:
- Atheros AR7241 SoC
- 32 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet port, 24 Vdc PoE-in
- Power and LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1)
Flashing via stock GUI:
- WARNING: flashing OpenWrt from AirOS v5.6 or newer will brick your
device! Read the wiki for more info.
- Downgrade to AirOS v5.5.x (latest available is 5.5.11) first.
- Upload the factory image via AirOS web GUI.
Flashing via TFTP:
- WARNING: flashing OpenWrt from AirOS v5.6 or newer will brick your
device! Read the wiki for more info.
- Downgrade to AirOS v5.5.x (latest available is 5.5.11) first.
- Use a pointy tool (e.g., pen cap, slotted screwdriver) to keep the
reset button pressed.
- Power on the device (keep reset button pressed).
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button.
- The device starts a TFTP server at 192.168.1.20.
- Set a static IP on the computer (e.g., 192.168.1.21/24).
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_nanobridge-m-squashfs-factory.bin
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
[rebase, fix includes in DTS, add label MAC address, add SOC and
fix sorting in generic-ubnt.mk]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-03-15 17:20:03 +00:00
|
|
|
define Device/ubnt_nanobridge-m
|
|
|
|
$(Device/ubnt-xm)
|
|
|
|
SOC := ar7241
|
|
|
|
DEVICE_MODEL := NanoBridge M
|
|
|
|
DEVICE_PACKAGES += rssileds
|
|
|
|
SUPPORTED_DEVICES += bullet-m
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_nanobridge-m
|
|
|
|
|
2018-09-04 00:08:01 +00:00
|
|
|
define Device/ubnt_nanostation-ac
|
|
|
|
$(Device/ubnt-wa)
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Nanostation AC
|
2019-12-22 20:05:13 +00:00
|
|
|
DEVICE_PACKAGES += kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
|
2018-09-04 00:08:01 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_nanostation-ac
|
|
|
|
|
2018-01-23 10:36:41 +00:00
|
|
|
define Device/ubnt_nanostation-ac-loco
|
|
|
|
$(Device/ubnt-wa)
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Nanostation AC loco
|
2019-12-22 20:05:13 +00:00
|
|
|
DEVICE_PACKAGES += kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
2018-01-23 10:36:41 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_nanostation-ac-loco
|
|
|
|
|
ath79: add support for Ubiquiti Nanostation Loco M (XM)
This adds support for the Ubiquiti Nanostation Loco M (XM), which
has the same board/LEDs as the Bullet M XM, but different case and
antennas.
Specifications:
- AR7241 SoC @ 400 MHz
- 32 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet, 24 Vdc PoE-in
- NS Loco M2: built-in antenna: 8 dBi; AR9287
- NS Loco M5: built-in antenna: 13 dBi; 2T2R 5 GHz radio
- POWER/LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1) on PCB
Flashing via WebUI:
Upload the factory image via the stock firmware web UI.
Note that only certain firmware versions accept unsigned
images. Refer to the device's Wiki page for further information.
Flashing via TFTP:
Same procedure as other NanoStation M boards.
- Use a pointy tool (e.g., pen cap, paper clip) and keep the reset
button on the device or on the PoE supply pressed
- Power on the device via PoE (keep reset button pressed)
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button
- The device starts a TFTP server at 192.168.1.20
- Set a static IP on the computer (e.g., 192.168.1.21/24)
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_nanostation-loco-m-squashfs-factory.bin
Tested on NanoStation Loco M2.
Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
Co-developed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-02-17 11:22:53 +00:00
|
|
|
define Device/ubnt_nanostation-loco-m
|
|
|
|
$(Device/ubnt-xm)
|
2020-03-11 01:06:02 +00:00
|
|
|
SOC := ar7241
|
ath79: add support for Ubiquiti Nanostation Loco M (XM)
This adds support for the Ubiquiti Nanostation Loco M (XM), which
has the same board/LEDs as the Bullet M XM, but different case and
antennas.
Specifications:
- AR7241 SoC @ 400 MHz
- 32 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet, 24 Vdc PoE-in
- NS Loco M2: built-in antenna: 8 dBi; AR9287
- NS Loco M5: built-in antenna: 13 dBi; 2T2R 5 GHz radio
- POWER/LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1) on PCB
Flashing via WebUI:
Upload the factory image via the stock firmware web UI.
Note that only certain firmware versions accept unsigned
images. Refer to the device's Wiki page for further information.
Flashing via TFTP:
Same procedure as other NanoStation M boards.
- Use a pointy tool (e.g., pen cap, paper clip) and keep the reset
button on the device or on the PoE supply pressed
- Power on the device via PoE (keep reset button pressed)
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button
- The device starts a TFTP server at 192.168.1.20
- Set a static IP on the computer (e.g., 192.168.1.21/24)
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_nanostation-loco-m-squashfs-factory.bin
Tested on NanoStation Loco M2.
Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
Co-developed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-02-17 11:22:53 +00:00
|
|
|
DEVICE_MODEL := Nanostation Loco M
|
|
|
|
DEVICE_PACKAGES += rssileds
|
|
|
|
SUPPORTED_DEVICES += bullet-m
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_nanostation-loco-m
|
|
|
|
|
2019-09-18 13:17:56 +00:00
|
|
|
define Device/ubnt_nanostation-loco-m-xw
|
|
|
|
$(Device/ubnt-xw)
|
|
|
|
DEVICE_MODEL := Nanostation Loco M
|
|
|
|
DEVICE_PACKAGES += rssileds
|
|
|
|
SUPPORTED_DEVICES += loco-m-xw
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_nanostation-loco-m-xw
|
|
|
|
|
2019-08-22 12:34:45 +00:00
|
|
|
define Device/ubnt_nanostation-m
|
|
|
|
$(Device/ubnt-xm)
|
2020-03-11 01:06:02 +00:00
|
|
|
SOC := ar7241
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_MODEL := Nanostation M
|
2019-11-13 15:18:59 +00:00
|
|
|
DEVICE_PACKAGES += rssileds
|
2019-10-04 12:44:07 +00:00
|
|
|
SUPPORTED_DEVICES += nanostation-m
|
2019-08-22 12:34:45 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_nanostation-m
|
|
|
|
|
|
|
|
define Device/ubnt_nanostation-m-xw
|
|
|
|
$(Device/ubnt-xw)
|
|
|
|
DEVICE_MODEL := Nanostation M
|
2019-11-13 15:18:59 +00:00
|
|
|
DEVICE_PACKAGES += rssileds
|
2019-08-22 12:34:45 +00:00
|
|
|
SUPPORTED_DEVICES += nanostation-m-xw
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_nanostation-m-xw
|
|
|
|
|
ath79: add support for Ubiquiti Picostation M (XM)
This adds support for the Ubiquiti Picostation M (XM), which has the
same board/LEDs as the Bullet M XM, but different case and antennas.
Specifications:
- AR7241 SoC @ 400 MHz
- 32 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet, 24 Vdc PoE-in
- External antenna: 5 dBi (USA), 2 dBi (EU)
- POWER/LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1) on PCB
Flashing via WebUI:
Upload the factory image via the stock firmware web UI.
Attention: airOS firmware versions >= 5.6 have a new bootloader with
an incompatible partition table!
Please downgrade to <= 5.5 _before_ flashing OpenWrt!
Refer to the device's Wiki page for further information.
Flashing via TFTP:
Same procedure as other NanoStation M boards.
- Use a pointy tool (e.g., pen cap, paper clip) and keep the reset
button on the device or on the PoE supply pressed
- Power on the device via PoE (keep reset button pressed)
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button
- The device starts a TFTP server at 192.168.1.20
- Set a static IP on the computer (e.g., 192.168.1.21/24)
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_picostation-m-squashfs-factory.bin
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-02-17 23:08:18 +00:00
|
|
|
define Device/ubnt_picostation-m
|
|
|
|
$(Device/ubnt-xm)
|
2020-03-11 01:06:02 +00:00
|
|
|
SOC := ar7241
|
ath79: add support for Ubiquiti Picostation M (XM)
This adds support for the Ubiquiti Picostation M (XM), which has the
same board/LEDs as the Bullet M XM, but different case and antennas.
Specifications:
- AR7241 SoC @ 400 MHz
- 32 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet, 24 Vdc PoE-in
- External antenna: 5 dBi (USA), 2 dBi (EU)
- POWER/LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1) on PCB
Flashing via WebUI:
Upload the factory image via the stock firmware web UI.
Attention: airOS firmware versions >= 5.6 have a new bootloader with
an incompatible partition table!
Please downgrade to <= 5.5 _before_ flashing OpenWrt!
Refer to the device's Wiki page for further information.
Flashing via TFTP:
Same procedure as other NanoStation M boards.
- Use a pointy tool (e.g., pen cap, paper clip) and keep the reset
button on the device or on the PoE supply pressed
- Power on the device via PoE (keep reset button pressed)
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button
- The device starts a TFTP server at 192.168.1.20
- Set a static IP on the computer (e.g., 192.168.1.21/24)
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_picostation-m-squashfs-factory.bin
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-02-17 23:08:18 +00:00
|
|
|
DEVICE_MODEL := Picostation M
|
|
|
|
DEVICE_PACKAGES += rssileds
|
|
|
|
SUPPORTED_DEVICES += bullet-m
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_picostation-m
|
|
|
|
|
2020-04-24 00:22:44 +00:00
|
|
|
define Device/ubnt_powerbeam-5ac-500
|
|
|
|
$(Device/ubnt-xc)
|
|
|
|
SOC := qca9558
|
|
|
|
DEVICE_MODEL := PowerBeam 5AC
|
|
|
|
DEVICE_VARIANT := 500
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_powerbeam-5ac-500
|
|
|
|
|
2020-03-12 10:37:10 +00:00
|
|
|
define Device/ubnt_powerbeam-5ac-gen2
|
|
|
|
$(Device/ubnt-wa)
|
|
|
|
DEVICE_MODEL := PowerBeam 5AC
|
|
|
|
DEVICE_VARIANT := Gen2
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_powerbeam-5ac-gen2
|
|
|
|
|
ath79: add support for Ubiquiti PowerBeam M2 (XW)
This patch adds support for the Ubiquiti PowerBeam M2 (XW), e.g. PBE-M2-400,
a 802.11n wireless with a feed+dish form factor. This device was previously
supported by the ar71xx loco-m-xw firmware.
Specifications:
- Atheros AR9342 SoC
- 64 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet port, 24 Vdc PoE-in
- Power and LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1)
Flashing via stock GUI:
- Downgrade to AirOS v5.5.x (latest available is 5.5.10-u2) first (see
https://openwrt.org/toh/ubiquiti/powerbeam installation instructions)
- Upload the factory image via AirOS web GUI.
Flashing via TFTP:
- Use a pointy tool (e.g., unbent paperclip) to keep the
reset button pressed.
- Power on the device (keep reset button pressed).
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button.
- The device starts a TFTP server at 192.168.1.20.
- Set a static IP on the computer (e.g., 192.168.1.21/24).
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-ubnt_powerbeam-m2-xw-squashfs-factory.bin
WARNING: so far, no non-destructive method has been discovered for
opening the enclosure to reach the serial console. Internal photos
are available here: https://fcc.io/SWX-NBM2HP
Signed-off-by: Russell Senior <russell@personaltelco.net>
2021-08-13 05:57:41 +00:00
|
|
|
define Device/ubnt_powerbeam-m2-xw
|
|
|
|
$(Device/ubnt-xw)
|
|
|
|
DEVICE_MODEL := PowerBeam M2
|
|
|
|
DEVICE_PACKAGES += rssileds
|
|
|
|
SUPPORTED_DEVICES += loco-m-xw
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_powerbeam-m2-xw
|
|
|
|
|
2021-08-13 05:57:39 +00:00
|
|
|
define Device/ubnt_powerbeam-m5-xw
|
ath79: add support for Ubiquiti PowerBeam M (XW)
This patch adds support for the Ubiquiti PowerBeam M (XW), e.g. PBE-M5-400,
a 802.11n wireless with a feed+dish form factor. This device was previously
supported by the ar71xx loco-m-xw firmware.
Specifications:
- Atheros AR9342 SoC
- 64 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet port, 24 Vdc PoE-in
- Power and LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1)
Flashing via stock GUI:
- Downgrade to AirOS v5.5.x (latest available is 5.5.10-u2) first (see
https://openwrt.org/toh/ubiquiti/powerbeam installation instructions)
- Upload the factory image via AirOS web GUI.
Flashing via TFTP:
- Use a pointy tool (e.g., unbent paperclip) to keep the
reset button pressed.
- Power on the device (keep reset button pressed).
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button.
- The device starts a TFTP server at 192.168.1.20.
- Set a static IP on the computer (e.g., 192.168.1.21/24).
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_powerbeam-m-xw-squashfs-factory.bin
WARNING: so far, no non-destructive method has been discovered for
opening the enclosure to reach the serial console. Internal photos
are available here: https://fcc.io/SWX-NBM5HP
Signed-off-by: Russell Senior <russell@personaltelco.net>
2021-06-05 00:27:48 +00:00
|
|
|
$(Device/ubnt-xw)
|
2021-08-13 05:57:39 +00:00
|
|
|
DEVICE_MODEL := PowerBeam M5
|
ath79: add support for Ubiquiti PowerBeam M (XW)
This patch adds support for the Ubiquiti PowerBeam M (XW), e.g. PBE-M5-400,
a 802.11n wireless with a feed+dish form factor. This device was previously
supported by the ar71xx loco-m-xw firmware.
Specifications:
- Atheros AR9342 SoC
- 64 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet port, 24 Vdc PoE-in
- Power and LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1)
Flashing via stock GUI:
- Downgrade to AirOS v5.5.x (latest available is 5.5.10-u2) first (see
https://openwrt.org/toh/ubiquiti/powerbeam installation instructions)
- Upload the factory image via AirOS web GUI.
Flashing via TFTP:
- Use a pointy tool (e.g., unbent paperclip) to keep the
reset button pressed.
- Power on the device (keep reset button pressed).
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button.
- The device starts a TFTP server at 192.168.1.20.
- Set a static IP on the computer (e.g., 192.168.1.21/24).
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_powerbeam-m-xw-squashfs-factory.bin
WARNING: so far, no non-destructive method has been discovered for
opening the enclosure to reach the serial console. Internal photos
are available here: https://fcc.io/SWX-NBM5HP
Signed-off-by: Russell Senior <russell@personaltelco.net>
2021-06-05 00:27:48 +00:00
|
|
|
DEVICE_PACKAGES += rssileds
|
|
|
|
SUPPORTED_DEVICES += loco-m-xw
|
|
|
|
endef
|
2021-08-13 05:57:39 +00:00
|
|
|
TARGET_DEVICES += ubnt_powerbeam-m5-xw
|
ath79: add support for Ubiquiti PowerBeam M (XW)
This patch adds support for the Ubiquiti PowerBeam M (XW), e.g. PBE-M5-400,
a 802.11n wireless with a feed+dish form factor. This device was previously
supported by the ar71xx loco-m-xw firmware.
Specifications:
- Atheros AR9342 SoC
- 64 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet port, 24 Vdc PoE-in
- Power and LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1)
Flashing via stock GUI:
- Downgrade to AirOS v5.5.x (latest available is 5.5.10-u2) first (see
https://openwrt.org/toh/ubiquiti/powerbeam installation instructions)
- Upload the factory image via AirOS web GUI.
Flashing via TFTP:
- Use a pointy tool (e.g., unbent paperclip) to keep the
reset button pressed.
- Power on the device (keep reset button pressed).
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button.
- The device starts a TFTP server at 192.168.1.20.
- Set a static IP on the computer (e.g., 192.168.1.21/24).
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_powerbeam-m-xw-squashfs-factory.bin
WARNING: so far, no non-destructive method has been discovered for
opening the enclosure to reach the serial console. Internal photos
are available here: https://fcc.io/SWX-NBM5HP
Signed-off-by: Russell Senior <russell@personaltelco.net>
2021-06-05 00:27:48 +00:00
|
|
|
|
ath79: add support for Ubiquiti PowerBridge M
This adds support for the Ubiquiti PowerBridge M, which has the same
board/LEDs as the Bullet M XM, but different case and antennas.
Specifications:
- AR7241 SoC @ 400 MHz
- 64 MB RAM
- 8 MB SPI flash
- 1x 10/100 Mbps Ethernet, 24 Vdc PoE-in
- Internal antenna: 25 dBi
- POWER/LAN green LEDs
- 4x RSSI LEDs (red, orange, green, green)
- UART (115200 8N1) on PCB
Flashing via WebUI:
Upload the factory image via the stock firmware web UI.
Attention: airOS firmware versions >= 5.6 have a new bootloader with
an incompatible partition table!
Please downgrade to <= 5.5 _before_ flashing OpenWrt!
Refer to the device's Wiki page for further information.
Flashing via TFTP:
Same procedure as other Bullet M (XM) boards.
- Use a pointy tool (e.g., pen cap, paper clip) and keep the reset
button on the device or on the PoE supply pressed
- Power on the device via PoE (keep reset button pressed)
- Keep pressing until LEDs flash alternatively LED1+LED3 =>
LED2+LED4 => LED1+LED3, etc.
- Release reset button
- The device starts a TFTP server at 192.168.1.20
- Set a static IP on the computer (e.g., 192.168.1.21/24)
- Upload via tftp the factory image:
$ tftp 192.168.1.20
tftp> bin
tftp> trace
tftp> put openwrt-ath79-generic-xxxxx-ubnt_powerbridge-m-squashfs-factory.bin
Signed-off-by: Vieno Hakkerinen <vieno@hakkerinen.eu>
2020-07-10 21:23:01 +00:00
|
|
|
define Device/ubnt_powerbridge-m
|
|
|
|
$(Device/ubnt-xm)
|
|
|
|
SOC := ar7241
|
|
|
|
DEVICE_MODEL := PowerBridge M
|
|
|
|
DEVICE_PACKAGES += rssileds
|
|
|
|
SUPPORTED_DEVICES += bullet-m
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_powerbridge-m
|
|
|
|
|
2021-04-25 20:41:46 +00:00
|
|
|
define Device/ubnt_rocket-5ac-lite
|
|
|
|
$(Device/ubnt-xc)
|
|
|
|
SOC := qca9558
|
|
|
|
DEVICE_MODEL := Rocket 5AC
|
|
|
|
DEVICE_VARIANT := Lite
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_rocket-5ac-lite
|
|
|
|
|
2019-08-22 12:34:45 +00:00
|
|
|
define Device/ubnt_rocket-m
|
|
|
|
$(Device/ubnt-xm)
|
2020-03-11 01:06:02 +00:00
|
|
|
SOC := ar7241
|
2020-07-15 16:41:57 +00:00
|
|
|
DEVICE_MODEL := Rocket M
|
2019-11-13 15:18:59 +00:00
|
|
|
DEVICE_PACKAGES += rssileds
|
2019-08-22 12:34:45 +00:00
|
|
|
SUPPORTED_DEVICES += rocket-m
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_rocket-m
|
|
|
|
|
|
|
|
define Device/ubnt_routerstation_common
|
2020-07-27 10:30:41 +00:00
|
|
|
DEVICE_PACKAGES := -kmod-ath9k -wpad-basic-wolfssl -uboot-envtools kmod-usb-ohci \
|
2019-12-19 19:42:19 +00:00
|
|
|
kmod-usb2 fconfig
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_VENDOR := Ubiquiti
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar7161
|
2019-08-22 12:34:45 +00:00
|
|
|
IMAGE_SIZE := 16128k
|
2020-12-01 17:30:27 +00:00
|
|
|
IMAGES += factory.bin
|
2019-12-19 19:42:19 +00:00
|
|
|
IMAGE/factory.bin := append-rootfs | pad-rootfs | mkubntimage | \
|
2020-03-10 13:58:27 +00:00
|
|
|
check-size
|
2020-12-01 17:30:27 +00:00
|
|
|
IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | combined-image | \
|
2021-06-20 16:54:36 +00:00
|
|
|
check-size | append-metadata
|
2019-08-22 12:34:45 +00:00
|
|
|
KERNEL := kernel-bin | append-dtb | lzma | pad-to $$(BLOCKSIZE)
|
|
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/ubnt_routerstation
|
|
|
|
$(Device/ubnt_routerstation_common)
|
|
|
|
DEVICE_MODEL := RouterStation
|
|
|
|
UBNT_BOARD := RS
|
|
|
|
UBNT_TYPE := RSx
|
|
|
|
UBNT_CHIP := ar7100
|
|
|
|
DEVICE_PACKAGES += -swconfig
|
|
|
|
SUPPORTED_DEVICES += routerstation
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_routerstation
|
|
|
|
|
|
|
|
define Device/ubnt_routerstation-pro
|
|
|
|
$(Device/ubnt_routerstation_common)
|
|
|
|
DEVICE_MODEL := RouterStation Pro
|
|
|
|
UBNT_BOARD := RSPRO
|
|
|
|
UBNT_TYPE := RSPRO
|
|
|
|
UBNT_CHIP := ar7100pro
|
|
|
|
SUPPORTED_DEVICES += routerstation-pro
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_routerstation-pro
|
|
|
|
|
2018-05-08 05:22:38 +00:00
|
|
|
define Device/ubnt_unifi
|
2018-05-06 08:20:11 +00:00
|
|
|
$(Device/ubnt-bz)
|
2022-03-24 08:26:01 +00:00
|
|
|
DEVICE_MODEL := UniFi AP
|
2018-05-07 20:41:04 +00:00
|
|
|
SUPPORTED_DEVICES += unifi
|
2018-05-06 08:20:11 +00:00
|
|
|
endef
|
2018-05-08 05:22:38 +00:00
|
|
|
TARGET_DEVICES += ubnt_unifi
|
2018-06-05 12:38:02 +00:00
|
|
|
|
2018-06-27 10:10:33 +00:00
|
|
|
define Device/ubnt_unifiac
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_VENDOR := Ubiquiti
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9563
|
2018-06-05 12:38:02 +00:00
|
|
|
IMAGE_SIZE := 7744k
|
2018-09-05 12:51:44 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
2018-06-05 12:38:02 +00:00
|
|
|
endef
|
|
|
|
|
2018-06-27 10:10:33 +00:00
|
|
|
define Device/ubnt_unifiac-lite
|
|
|
|
$(Device/ubnt_unifiac)
|
2020-07-15 16:41:57 +00:00
|
|
|
DEVICE_MODEL := UniFi AC Lite
|
2019-10-14 09:16:54 +00:00
|
|
|
SUPPORTED_DEVICES += unifiac-lite
|
2018-06-05 12:38:02 +00:00
|
|
|
endef
|
2018-06-27 10:10:33 +00:00
|
|
|
TARGET_DEVICES += ubnt_unifiac-lite
|
2018-06-26 07:30:46 +00:00
|
|
|
|
2019-10-06 17:48:34 +00:00
|
|
|
define Device/ubnt_unifiac-lr
|
|
|
|
$(Device/ubnt_unifiac)
|
2020-07-15 16:41:57 +00:00
|
|
|
DEVICE_MODEL := UniFi AC LR
|
2019-10-06 17:48:34 +00:00
|
|
|
SUPPORTED_DEVICES += unifiac-lite ubnt,unifiac-lite
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_unifiac-lr
|
|
|
|
|
2018-06-27 12:33:40 +00:00
|
|
|
define Device/ubnt_unifiac-mesh
|
|
|
|
$(Device/ubnt_unifiac)
|
2020-07-15 16:41:57 +00:00
|
|
|
DEVICE_MODEL := UniFi AC Mesh
|
2020-01-23 14:42:48 +00:00
|
|
|
SUPPORTED_DEVICES += unifiac-lite
|
2018-06-27 12:33:40 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_unifiac-mesh
|
|
|
|
|
2018-07-02 12:39:54 +00:00
|
|
|
define Device/ubnt_unifiac-mesh-pro
|
|
|
|
$(Device/ubnt_unifiac)
|
2020-07-15 16:41:57 +00:00
|
|
|
DEVICE_MODEL := UniFi AC Mesh Pro
|
2020-01-23 14:42:48 +00:00
|
|
|
SUPPORTED_DEVICES += unifiac-pro
|
2018-07-02 12:39:54 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_unifiac-mesh-pro
|
|
|
|
|
2018-06-26 07:30:46 +00:00
|
|
|
define Device/ubnt_unifiac-pro
|
|
|
|
$(Device/ubnt_unifiac)
|
2020-07-15 16:41:57 +00:00
|
|
|
DEVICE_MODEL := UniFi AC Pro
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES += kmod-usb2
|
2020-01-23 14:42:48 +00:00
|
|
|
SUPPORTED_DEVICES += unifiac-pro
|
2018-06-26 07:30:46 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_unifiac-pro
|
2020-09-11 16:32:05 +00:00
|
|
|
|
2020-12-09 21:18:43 +00:00
|
|
|
define Device/ubnt_unifi-ap-outdoor-plus
|
|
|
|
$(Device/ubnt-bz)
|
|
|
|
$(Device/ubnt-unifi-jffs2)
|
|
|
|
DEVICE_MODEL := UniFi AP Outdoor+
|
|
|
|
SUPPORTED_DEVICES += unifi-outdoor-plus
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_unifi-ap-outdoor-plus
|
|
|
|
|
2020-09-11 16:32:05 +00:00
|
|
|
define Device/ubnt_unifi-ap-pro
|
2020-12-09 21:18:43 +00:00
|
|
|
$(Device/ubnt-unifi-jffs2)
|
2020-09-11 16:32:05 +00:00
|
|
|
SOC := ar9344
|
|
|
|
DEVICE_MODEL := UniFi AP Pro
|
|
|
|
UBNT_CHIP := ar934x
|
|
|
|
SUPPORTED_DEVICES += uap-pro
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_unifi-ap-pro
|