From 5736af8024bed7a49a8a3e469436bdfe0c02c312 Mon Sep 17 00:00:00 2001 From: Tobias Schramm Date: Tue, 23 Jan 2018 11:36:41 +0100 Subject: ath79: Add support for Ubiquiti NanoStation AC loco Atheros AR9342, 16 MB flash, 64 MB RAM Successor to the old NanoStation M5 loco with AC wireless. Includes a mac80211 patch for ath10k_pci because Ubiquiti uses a Ubiquiti branded and customized QCA988X with vendor id 0777 and device id 11ac for AC wireless. Installation 1. Connect to serial header on device (8N1 115200) 2. Power on device and enter uboot console 3. Set up tftp server serving an openwrt initramfs build 4. Load initramfs build using the command tftpboot in the uboot cli 5. Boot the loaded image using the command bootm 6. Copy squashfs openwrt sysupgrade build to the booted device 7. Use mtd to write sysupgrade to partition "firmware" 8. Reboot and enjoy Signed-off-by: Tobias Schramm --- target/linux/ath79/base-files/etc/board.d/02_network | 1 + target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 1 + 2 files changed, 2 insertions(+) (limited to 'target/linux/ath79/base-files') diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index e608825fb8..30577a1a9f 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -20,6 +20,7 @@ ath79_setup_interfaces() tplink,tl-mr3040-v2|\ tplink,tl-wr703n|\ ubnt,bullet-m|\ + ubnt,nanostation-ac-loco|\ ubnt,rocket-m|\ ubnt,unifiac-lite|\ ubnt,unifiac-mesh|\ diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 8ede82c7ce..ec490dda7f 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -111,6 +111,7 @@ case "$FIRMWARE" in ubnt,unifiac-lite|\ ubnt,unifiac-mesh|\ ubnt,unifiac-mesh-pro|\ + ubnt,nanostation-ac-loco|\ ubnt,unifiac-pro) ath10kcal_extract "EEPROM" 20480 2116 ;; -- cgit v1.2.3