openwrt-mirror/target/linux
Tomasz Maciej Nowak ebf71533f9 ath79: add support for ALLNET ALL-WAP02860AC
ALLNET ALL-WAP02860AC is a dual-band wireless access point.

Specification
SoC: Qualcomm Atheros QCA9558
RAM: 128 MB DDR2
Flash: 16 MB SPI NOR
WIFI: 2.4 GHz 3T3R integrated
      5 GHz 3T3R QCA9880 Mini PCIe card
Ethernet: 1x 10/100/1000 Mbps AR8035-A, PoE capable (802.3at)
LEDS: 5x, which four are GPIO controlled
Buttons: 1x GPIO controlled
UART: 4 pin header near Mini PCIe card, starting count from white
      triangle on PCB
      1. VCC 3.3V, 2. GND, 3. TX, 4. RX
      baud: 115200, parity: none, flow control: none

MAC addresses
Calibration data does not contain valid MAC addresses.
The calculated MAC addresses are chosen in accordance with OEM firmware.

Because of:
a) constrained environment (SNMP) when connecting through Telnet
   or SSH,
b) hard-coded kernel and rootfs sizes,
c) checksum verification of kerenel and rootfs images in bootloder,

creating factory image accepted by OEM web interface is difficult,
therefore, to install OpenWrt on this device UART connection is needed.
The teardown is simple, unscrew four screws to disassemble the casing,
plus two screws to separate mainboard from the casing.
Before flashing, be sure to have a copy of factory firmware, in case You
wish to revert to original firmware.

Installation
1. Prepare TFTP server with OpenWrt initramfs-kernel image.
2. Connect to LAN port.
3. Connect to UART port.
4. Power on the device and when prompted to stop autoboot, hit any key.
5. Alter U-Boot environment with following commands:
    setenv failsafe_boot bootm 0x9f0a0000
    saveenv
6. Adjust "ipaddr" and "serverip" addresses in U-Boot environment, use
   'setenv' to do that, then run following commands:
    tftpboot 0x81000000 <openwrt_initramfs-kernel_image_name>
    bootm 0x81000000
7. Wait about 1 minute for OpenWrt to boot.
8. Transfer OpenWrt sysupgrade image to /tmp directory and flash it
   with:
    sysupgrade -n /tmp/<openwrt_sysupgrade_image_name>
9. After flashing, the access point will reboot to OpenWrt. Wait few
   minutes, until the Power LED stops blinking, then it's ready for
   configuration.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
[add MAC address comment to commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-15 15:58:39 +02:00
..
apm821xx kernel: Update kernel 4.19 to version 4.19.138 2020-08-10 19:34:37 +02:00
ar71xx ar71xx: fix ZyXEL NBG6616 wifi switch 2020-08-11 01:12:22 +02:00
arc770 arc770: update kernel version to 5.4 2020-07-27 20:15:10 +02:00
archs38 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
armvirt kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
at91 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
ath25 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
ath79 ath79: add support for ALLNET ALL-WAP02860AC 2020-08-15 15:58:39 +02:00
bcm27xx kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
bcm47xx bcm47xx: use vendor_model scheme for device/image names 2020-08-12 11:08:05 +02:00
bcm53xx kernel: add CGROUPS and IOSCHED_BFQ back to config 2020-08-12 14:03:17 +02:00
bcm63xx bcm63xx: switch to upstream CFE detection patch 2020-08-11 08:04:40 +02:00
cns3xxx kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
gemini gemini: Add swap partition to DNS-313 2020-07-31 18:34:40 +02:00
generic kernel: mips: fix init crash/bootloop on 64-bit systems 2020-08-15 00:04:59 +08:00
imx6 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
ipq40xx ipq40xx: refresh kernel 5.4 config 2020-08-06 12:51:51 +02:00
ipq806x kernel: usb: move phy-qcom-ipq806x-usb to ipq806x modules.mk 2020-08-13 02:12:12 +02:00
ipq807x kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
kirkwood treewide: add sysupgrade comment for early DSA-adopters 2020-08-08 20:56:12 +02:00
lantiq kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
layerscape kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
malta kernel: add CGROUPS and IOSCHED_BFQ back to config 2020-08-12 14:03:17 +02:00
mediatek mediatek: disable btif in device tree to make the WMAC work again 2020-08-12 13:02:13 +02:00
mpc85xx mpc85xx: tidy up 10-fix-wifi-mac 2020-08-13 20:29:20 +02:00
mvebu kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
mxs treewide: make dependency on kmod-usb-net selective 2020-08-10 12:54:30 +02:00
octeon kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
octeontx kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
omap treewide: make dependency on kmod-usb-net selective 2020-08-10 12:54:30 +02:00
oxnas oxnas: reduce size of ATA DMA descriptor space 2020-08-11 00:16:04 +01:00
pistachio kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
ramips ramips: add support for MikroTik RouterBOARD 760iGS (hEX S) 2020-08-13 12:47:45 +02:00
rb532 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
rockchip kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
samsung kernel: Update kernel 4.14 to version 4.14.187 2020-07-04 21:12:42 +02:00
sunxi treewide: make dependency on kmod-usb-net selective 2020-08-10 12:54:30 +02:00
tegra kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
zynq kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00