From 62db255543c8fb5d1787caf36c6c7c9c51db71cd Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sun, 27 Oct 2019 15:49:18 +0100 Subject: ath79: add support for Aerohive HiveAP 121 This commit adds support for the Aerohive HiveAP-121. It was previously already supported in the ar71xx subtarget. The following is copied from the commit which added ar71xx support: Specification: - SoC: Atheros AR9344-BC2A at 560MHz - WiFi 1: 2.4GHz Atheros AR9340? - SoC - WiFi 2: 5.0GHz Atheros AR9382-AL1A - Memory: 128MB from 2x Nanya NT5TU32M16DG-AC - SPI: 1MB Macronix MX25L8006E - NAND: 128MB Hynix H27U1G8F2BTR-BC - Ethernet: Atheros AR8035-A - USB: 1x 2.0 - TPM: Atmel SC3204 Flashing: 1. Hook into UART (9600 baud) and enter U-Boot. You may need to enter a password of administrator or AhNf?d@ta06 if prompted. 2. Once in U-Boot, download and flash LEDE factory image over tftp: dhcp; setenv serverip tftp-server-ip; tftpboot 0x81000000 lede-ar71xx-nand-hiveap-121-squashfs-factory.bin; nand erase 0x800000 0x800000; nand write 0x81000000 0x800000 0x800000; reset; Signed-off-by: David Bauer --- target/linux/ath79/image/nand.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'target/linux/ath79/image') diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk index c30fa814c2..c11ff6a257 100644 --- a/target/linux/ath79/image/nand.mk +++ b/target/linux/ath79/image/nand.mk @@ -26,6 +26,23 @@ define Build/zyxel-factory fi endef +define Device/aerohive_hiveap-121 + ATH_SOC := ar9344 + DEVICE_VENDOR := Aerohive + DEVICE_MODEL := HiveAP 121 + DEVICE_PACKAGES := kmod-usb2 + BLOCKSIZE := 128k + PAGESIZE := 2048 + IMAGE_SIZE := 116m + KERNEL_SIZE := 5120k + UBINIZE_OPTS := -E 5 + SUPPORTED_DEVICES += hiveap-121 + IMAGES += factory.bin + IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE) + IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata +endef +TARGET_DEVICES += aerohive_hiveap-121 + define Device/glinet_gl-ar300m-nand ATH_SOC := qca9531 DEVICE_VENDOR := GL.iNet -- cgit v1.2.3