openwrt/target/linux/ath79
David Bauer bf94e0a383 ath79: add support for UniFi UK-Ultra
Hardware
--------
CPU:   Qualcomm Atheros QCA9563
RAM:   128M DDR2
FLASH: 16MB SPI-NOR
WiFi:  Qualcomm Atheros QCA9563 2x2:2 802.11n 2.4GHz
       Qualcomm Atheros QCA9880 2x2:2 802.11ac 5GHz

Antennas
--------
The device features internal antennas as well as external antenna
connectors. By default, the internal antennas are used.

Two GPIOs are exported by name, which can be used to control the
antenna-path mux. Writing a logical 0 enables the external antenna
connectors.

Installation
------------
1. Download the OpenWrt sysupgrade image to the device. You can use scp
   for this task. The default username and password are "ubnt" and the
   device is reachable at 192.168.1.20.

   $ scp -O openwrt-sysupgrade.bin ubnt@192.168.1.20:/tmp/firmware.bin

2. Connect to the device using SSH.

   $ ssh ubnt@192.168.1.20

3. Disable the write-protect

   $ echo "5edfacbf" > /proc/ubnthal/.uf

4. Verify kernel0 and kernel1 match mtd2 and mtd3

   $ cat /proc/mtd

5. Write the sysupgrade image to kernel0 and kernel1

   $ dd if=/tmp/firmware.bin of=/dev/mtdblock2
   $ dd if=/tmp/firmware.bin of=/dev/mtdblock3

6. Write the bootselect flag to boot from kernel0

   $ dd if=/dev/zero bs=1 count=1 of=/dev/mtd4

7. Reboot the device

   $ reboot

Signed-off-by: David Bauer <mail@david-bauer.net>
2024-01-07 23:06:17 +01:00
..
base-files/etc/hotplug.d/ieee80211 ath79: migrate Archer C5 5GHz radio device paths 2022-03-31 18:07:29 +02:00
dts ath79: add support for UniFi UK-Ultra 2024-01-07 23:06:17 +01:00
files ag71xx: fix wrong register definition issue 2024-01-05 16:44:29 +01:00
generic ath79: add support for UniFi UK-Ultra 2024-01-07 23:06:17 +01:00
image ath79: add support for UniFi UK-Ultra 2024-01-07 23:06:17 +01:00
mikrotik ath79: support MikroTik RouterBOARD 911G-5HPacD 2024-01-07 01:19:56 +01:00
nand ath79: make boot-leds service executable 2023-12-12 19:35:03 +01:00
patches-5.15 ath79: rename pcie-controller to pcie 2024-01-05 16:17:57 +01:00
patches-6.1 ath79: rename pcie-controller to pcie 2024-01-05 16:17:57 +01:00
tiny ath79: add missing symbols by refreshing kernel configs 2023-09-08 18:06:30 +02:00
config-5.15 ath79: add missing symbols by refreshing kernel configs 2023-09-08 18:06:30 +02:00
config-6.1 ath79: refresh patches and configs to introduce kernel 6.1 support 2023-09-08 18:06:30 +02:00
Makefile Revert "ath79: use kernel 6.1 as default" 2023-09-09 08:42:50 +02:00
modules.mk