ath79: add support for Aruba AP-115
authorDavid Bauer <mail@david-bauer.net>
Mon, 3 Apr 2023 11:56:58 +0000 (13:56 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sat, 10 Jun 2023 23:00:35 +0000 (01:00 +0200)
commit318167f0189e63fefffcd70e8449019d2b872049
treeb46b9d9b9850ab7da50c0b4dbccc45ca5566eb5c
parentb4767179f87c43d58ba47fa7c3043aa629da58cc
ath79: add support for Aruba AP-115

Hardware
========

CPU   Qualcomm Atheros QCA9558
RAM   256MB DDR2
FLASH 2x 16M SPI-NOR (Macronix MX25L12805D)
WIFI  Qualcomm Atheros QCA9558
      Atheros AR9590

Installation
============

1. Attach to the serial console of the AP-105.
   Interrupt autoboot and change the U-Boot env.

   $ setenv rb_openwrt "setenv ipaddr 192.168.1.1;
     setenv serverip 192.168.1.66;
     netget 0x80060000 ap115.bin; go 0x80060000"
   $ setenv fb_openwrt "bank 1;
     cp.b 0xbf100040 0x80060000 0x10000; go 0x80060000"
   $ setenv bootcmd "run fb_openwrt"
   $ saveenv

2. Load the OpenWrt initramfs image on the device using TFTP.
   Place the initramfs image as "ap105.bin" in the TFTP server
   root directory, connect it to the AP and make the server reachable
   at 192.168.1.66/24.

   $ run rb_openwrt

3. Once OpenWrt booted, transfer the sysupgrade image to the device
   using scp and use sysupgrade to install the firmware.

Signed-off-by: David Bauer <mail@david-bauer.net>
package/boot/uboot-envtools/files/ath79
target/linux/ath79/dts/qca9558_aruba_ap-115.dts [new file with mode: 0644]
target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
target/linux/ath79/image/generic.mk