aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image
diff options
context:
space:
mode:
authorChris Blake <chrisrblake93@gmail.com>2017-04-26 22:09:27 -0500
committerPiotr Dymacz <pepe2k@gmail.com>2017-05-15 22:58:59 +0200
commit10d11859dfbad0b4482d1a50b20ef91eeeeca2d7 (patch)
treeb51f9723c883450d618e8b9536365cfb94c596b2 /target/linux/ar71xx/image
parentcd9d0f9e97c912d45bbceb7868bcec51653de299 (diff)
downloadupstream-10d11859dfbad0b4482d1a50b20ef91eeeeca2d7.tar.gz
upstream-10d11859dfbad0b4482d1a50b20ef91eeeeca2d7.tar.bz2
upstream-10d11859dfbad0b4482d1a50b20ef91eeeeca2d7.zip
ar71xx: add support for Aerohive AP-121
This adds support for Aerohive AP-121 access point. 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: Chris Blake <chrisrblake93@gmail.com> [minor text changes in commit subject and description, fixed alphabetical order in etc/diag.sh, use only model name in lib/ar71xx.sh, fixed code style issues in mach-hiveap-121.c, ubinized factory image] Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/image')
-rw-r--r--target/linux/ar71xx/image/nand.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/nand.mk b/target/linux/ar71xx/image/nand.mk
index dfe78c2168..8f84b0cf7c 100644
--- a/target/linux/ar71xx/image/nand.mk
+++ b/target/linux/ar71xx/image/nand.mk
@@ -23,6 +23,24 @@ define Device/domywifi-dw33d
endef
TARGET_DEVICES += domywifi-dw33d
+define Device/hiveap-121
+ DEVICE_TITLE := Aerohive HiveAP-121
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-i2c-gpio-custom kmod-spi-gpio kmod-ath9k kmod-tpm-i2c-atmel
+ BOARDNAME = HiveAP-121
+ BLOCKSIZE := 128k
+ PAGESIZE := 2048
+ IMAGE_SIZE := 115m
+ KERNEL_SIZE := 5120k
+ UBINIZE_OPTS := -E 5
+ CONSOLE = ttyS0,9600
+ MTDPARTS = spi0.0:512k(u-boot)ro,64k(u-boot-env),64k(hw-info)ro,64k(boot-info)ro,64k(boot-sinfo)ro;ar934x-nfc:4096k(u-boot-1),4096k(u-boot-env-1),5m(kernel),111m(ubi),4096k(wifi-info)ro
+ IMAGES := sysupgrade.tar factory.bin
+ KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
+ IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE)
+ IMAGE/sysupgrade.tar := sysupgrade-tar
+endef
+TARGET_DEVICES += hiveap-121
+
define Build/MerakiNAND
-$(STAGING_DIR_HOST)/bin/mkmerakifw \
-B $(BOARDNAME) -s \