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
|
|
|
|
|
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)
|
2018-01-23 10:36:41 +00:00
|
|
|
# UBNT_VERSION e.g. one of (6.0.0, 8.5.0)
|
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
|
|
|
|
|
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
|
2018-01-23 10:36:41 +00:00
|
|
|
UBNT_VERSION := 8.5.0
|
|
|
|
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
|
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
|
|
|
|
|
2019-08-22 12:34:45 +00:00
|
|
|
define Device/ubnt_acb-isp
|
|
|
|
$(Device/ubnt)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9533
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_MODEL := airCube ISP
|
2019-12-06 12:56:51 +00:00
|
|
|
IMAGE_SIZE := 15744k
|
2019-08-22 12:34:45 +00:00
|
|
|
UBNT_BOARD := ACB-ISP
|
|
|
|
UBNT_CHIP := qca9533
|
2019-12-06 12:56:51 +00:00
|
|
|
UBNT_TYPE := ACB
|
2019-12-11 13:40:24 +00:00
|
|
|
UBNT_VERSION := 2.5.0
|
2019-08-22 12:34:45 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_acb-isp
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
DEVICE_MODEL := Bullet-M
|
|
|
|
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
|
2019-06-16 19:34:46 +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)
|
2019-06-16 19:34:46 +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
|
|
|
|
DEVICE_PACKAGES += switch-bcm53xx-mdio
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ubnt_edgeswitch-8xp
|
|
|
|
|
2018-09-19 12:17:35 +00:00
|
|
|
define Device/ubnt_lap-120
|
|
|
|
$(Device/ubnt-wa)
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := LiteAP ac
|
|
|
|
DEVICE_VARIANT := 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
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
2019-08-22 12:34:45 +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
|
2019-12-19 19:42:19 +00:00
|
|
|
DEVICE_PACKAGES := -kmod-ath9k -wpad-mini -uboot-envtools kmod-usb-ohci \
|
|
|
|
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
|
|
|
|
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
|
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)
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := UniFi
|
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)
|
2019-06-16 19:34:46 +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)
|
|
|
|
DEVICE_MODEL := UniFi AC-LR
|
|
|
|
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)
|
2019-06-16 19:34:46 +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)
|
2019-06-16 19:34:46 +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)
|
2019-06-16 19:34:46 +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
|