factory install work again now on UBNT unifi AP & inifi AP LR
--
SMA -
From fc69198fa40c56b8ee9ee60b835292791d1243a1 Mon Sep 17 00:00:00 2001
From: smail <[email protected]>
Date: Fri, 11 Dec 2015 00:19:29 +0300
Subject: [PATCH] Unifi Ap board id fixed
---
target/linux/ar71xx/image/Makefile | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index d12ad8b..be82cb3 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -1030,6 +1030,19 @@ define Device/ubnt-bz
IMAGE/sysupgrade.bin = append-kernel $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
endef
+define Device/ubnt-bz7
+ DEVICE_PROFILE := UBNT
+ IMAGE_SIZE := 7552k
+ MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro
+ UBNT_TYPE := BZ
+ UBNT_BOARD := XM
+ UBNT_CHIP := ar7240
+ IMAGES := sysupgrade.bin factory.bin
+ IMAGE/factory.bin = $$(IMAGE/sysupgrade.bin) | mkubntimage-split
+ IMAGE/sysupgrade.bin = append-kernel $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
+endef
+
+
define Device/rw2458n
$(Device/ubnt-xm)
BOARDNAME := RW2458N
@@ -1057,7 +1070,7 @@ endef
TARGET_DEVICES += rw2458n ubnt-airrouter ubnt-bullet-m ubnt-rocket-m ubnt-nano-m
define Device/ubnt-unifi
- $(Device/ubnt-bz)
+ $(Device/ubnt-bz7)
BOARDNAME := UBNT-UF
DEVICE_PROFILE := UBNT UBNTUNIFI
endef
--
1.9.1
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel