Просмотр исходного кода

ath79: add support for Ubiquiti SW devices

SW devices are Ubiquit ToughSwitch and EdgeSwitch series devices.
Hardware-wise they are very similar to the XM device series.

Signed-off-by: Tobias Schramm <[email protected]>
Tobias Schramm 6 лет назад
Родитель
Сommit
7d97fdf5ef
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      target/linux/ath79/image/generic-ubnt.mk

+ 12 - 0
target/linux/ath79/image/generic-ubnt.mk

@@ -47,6 +47,18 @@ define Device/ubnt-bz
   UBNT_VERSION := 6.0.0
 endef
 
+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
+
 define Device/ubnt-wa
   $(Device/ubnt)
   SOC := ar9342