aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image
diff options
context:
space:
mode:
authorChris Blake <chrisrblake93@gmail.com>2016-09-20 07:14:29 -0500
committerJohn Crispin <john@phrozen.org>2016-09-27 17:50:22 +0200
commit68d649f5cd9ee2f6fda00df7bde4b9074474becf (patch)
tree8e5364f7fd24c938ca6046ea2d85aa1e24a52826 /target/linux/ar71xx/image
parentb1f39d3d7ee7ba0714e45af64a935b01877a5175 (diff)
downloadupstream-68d649f5cd9ee2f6fda00df7bde4b9074474becf.tar.gz
upstream-68d649f5cd9ee2f6fda00df7bde4b9074474becf.tar.bz2
upstream-68d649f5cd9ee2f6fda00df7bde4b9074474becf.zip
ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway
This patch adds support for Cisco's Z1. Detailed instructions for the flashing the device can be found in the OpenWrt wiki: <https://wiki.openwrt.org/toh/meraki/z1> Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/image')
-rw-r--r--target/linux/ar71xx/image/nand.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/nand.mk b/target/linux/ar71xx/image/nand.mk
index c6a8d7e410..aa431ac18c 100644
--- a/target/linux/ar71xx/image/nand.mk
+++ b/target/linux/ar71xx/image/nand.mk
@@ -20,6 +20,29 @@ define Device/mr18
endef
TARGET_DEVICES += mr18
+define Build/MerakiNAND-old
+ -$(STAGING_DIR_HOST)/bin/mkmerakifw-old \
+ -B $(BOARDNAME) -s \
+ -i $@ \
+ -o $@.new
+ @mv $@.new $@
+endef
+
+define Device/z1
+ DEVICE_TITLE := Meraki Z1
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-spi-gpio kmod-ath9k kmod-owl-loader
+ BOARDNAME = Z1
+ BLOCKSIZE := 64k
+ CONSOLE = ttyS0,115200
+ MTDPARTS = ar934x-nfc:128K(loader1)ro,8064K(kernel),128K(loader2)ro,8064K(recovery),114560K(ubi),128K(origcaldata)ro
+ IMAGES := sysupgrade.tar
+ KERNEL := kernel-bin | patch-cmdline | MerakiNAND-old
+ KERNEL_INITRAMFS := kernel-bin | patch-cmdline | MerakiNAND-old
+ IMAGE/sysupgrade.tar := sysupgrade-tar
+endef
+
+TARGET_DEVICES += z1
+
define LegacyDevice/R6100
DEVICE_TITLE := NETGEAR R6100
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev