openwrt/target/linux
Russell Senior 591a4c9ed3 ath79: Add support for Ubiquiti Bullet AC
CPU:         Atheros AR9342 rev 3 SoC
RAM:         64 MB DDR2
Flash:       16 MB NOR SPI
WLAN 2.4GHz: Atheros AR9342 v3 (ath9k)
WLAN 5.0GHz: QCA988X
Ports:       1x GbE

Flashing procedure is identical to other ubnt devices.
https://openwrt.org/toh/ubiquiti/common

Flashing through factory firmware
1. Ensure firmware version v8.7.0 is installed.
   Up/downgrade to this exact version.
2. Patch fwupdate.real binary using
   `hexdump -Cv /bin/ubntbox | sed 's/14 40 fe 27/00 00 00 00/g' | \
    hexdump -R > /tmp/fwupdate.real`
3. Make the patched fwupdate.real binary executable using
   `chmod +x /tmp/fwupdate.real`
4. Copy the squashfs factory image to /tmp on the device
5. Flash OpenWrt using `/tmp/fwupdate.real -m <squashfs-factory image>`
6. Wait for the device to reboot
(copied from Ubiquiti NanoBeam AC and modified)

Flashing from serial console
1. Connect serial console (115200 baud)
2. Connect ethernet to a network with a TFTP server, through a
   passive PoE injector.
3. Press a key to obtain a u-boot prompt
4. Set your TFTP server's ip address, with:
   setenv serverip <tftp-server-address>
5. Set the Bullet AC's ip address, with:
   setenv ipaddr <bullet-ac-address>
6. Set the boot file, with:
   setenv bootfile <name-of-initramfs-binary-on-tftp-server>
7. Fetch the binary with tftp:
   tftpboot
8. Boot the initramfs binary:
   bootm
9. From the initramfs, fetch the sysupgrade binary, and flash it with
   sysupgrade.

The Bullet AC is identified as a 2WA board by Ubiquiti. As such, the UBNT_TYPE
must match from the "Flashing through factory firmware" install instructions
to work.

Phy0 is QCA988X which can tune either band (2.4 or 5GHz). Phy1 is AR9342,
on which 5GHz is disabled.  It isn't currently known whether phy1 is
routed to the N connector at all.

Signed-off-by: Russell Senior <russell@personaltelco.net>
2021-01-15 18:32:38 +01:00
..
apm821xx apm821xx: Netgear WNDR4700 limit kernel lzma dictionary 2020-12-22 19:11:50 +01:00
arc770 arc770: drop support for kernel 4.14 2020-09-02 16:29:22 +02:00
archs38 treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
armvirt armvirt: README: rename it from LEDE to OpenWrt 2020-12-14 21:38:10 +00:00
at91 treewide: do not disable LED triggers in target config 2021-01-15 18:22:45 +01:00
ath25 kernel: bump 5.4 to 5.4.86 2021-01-01 17:07:28 +01:00
ath79 ath79: Add support for Ubiquiti Bullet AC 2021-01-15 18:32:38 +01:00
bcm27xx kernel: bump 5.4 to 5.4.89 2021-01-15 17:29:41 +01:00
bcm47xx kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
bcm53xx kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
bcm63xx kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
bcm4908 bcm4908: prepend kernel images with a custom header 2021-01-15 07:45:19 +01:00
gemini kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
generic kernel: enable CONFIG_LEDS_TRIGGER_HEARTBEAT 2021-01-15 18:20:55 +01:00
imx6 imx6: disable unrequired pcie host driver 2021-01-07 12:08:31 +01:00
ipq40xx uboot-envtools: add support for Aruba AP-303 and AP-365 2021-01-14 01:04:02 +01:00
ipq806x ipq806x: fix Ubiquiti UniFi AC HD partition map 2021-01-15 17:34:04 +01:00
ipq807x kernel: add disabled PROC_STRIPPED 2020-12-27 19:07:42 +01:00
kirkwood kirkwood: add support for Seagate BlackArmor NAS220 2020-12-22 19:11:50 +01:00
lantiq kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
layerscape kernel: bump 5.4 to 5.4.89 2021-01-15 17:29:41 +01:00
malta kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
mediatek kernel: bump 5.4 to 5.4.89 2021-01-15 17:29:41 +01:00
mpc85xx kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
mvebu kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
mxs kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
octeon kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2020-10-09 23:20:19 +01:00
omap kernel: enable CONFIG_LEDS_TRIGGER_HEARTBEAT 2021-01-15 18:20:55 +01:00
oxnas kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
pistachio kernel: move some disabled symbols to generic 2020-12-22 19:11:50 +01:00
ramips kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
realtek kernel: bump 5.4 to 5.4.87 2021-01-08 21:09:17 +01:00
rockchip kernel: enable CONFIG_LEDS_TRIGGER_HEARTBEAT 2021-01-15 18:20:55 +01:00
sunxi kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
tegra tegra: image: remove unnecessary assumptions from bootscript 2020-12-22 18:59:10 +01:00
uml kernel: bump 5.4 to 5.4.71 2020-10-15 17:46:54 +02:00
x86 kernel: drop empty kmod-ledtrig-* packages 2021-01-15 18:24:31 +01:00
zynq treewide: do not disable LED triggers in target config 2021-01-15 18:22:45 +01:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00