summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/image/generic.mk
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2017-03-31 13:37:31 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-07-22 23:13:55 +0200
commit0c6165d21ad274261bf8176828e122964e25c215 (patch)
tree0866801d72bc2c8d1b1b40a90a60870071cae56c /target/linux/ar71xx/image/generic.mk
parent5bc5d94549d51a4579bd956f9495c6be0d5a712f (diff)
downloadmtk-20170518-0c6165d21ad274261bf8176828e122964e25c215.zip
mtk-20170518-0c6165d21ad274261bf8176828e122964e25c215.tar.gz
mtk-20170518-0c6165d21ad274261bf8176828e122964e25c215.tar.bz2
ar71xx: add support for ALFA Network AP121F
ALFA Network AP121F is a pocket-size router dedicated for VPN/TOR users. Device is based on Atheros AR9331 WiSoC and is running a custom version (updated from OpenWrt CC to LEDE 17.01 release) of NetAidKit firmware. Specification: - 400/400/200 MHz (CPU/DDR/AHB) - 64 MB of RAM (DDR1) - 16 MB of FLASH (SPI NOR) - 1x 10/100 Mbps Ethernet - 1T1R 2.4 GHz - 1x microSD (optional, on separate PCB) - 3x LED, 1x button, 1x switch - UART header on PCB Flash instruction (under U-Boot web recovery mode): 1. Configure PC with static IP 192.168.1.2/24. 2. Connect PC with RJ45 port, press the reset button, power up device, wait for first blink of all LEDs (indicates network setup), then keep button for 3 following blinks and release it. 3. Open 192.168.1.1 address in your browser and upload sysupgrade image. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/image/generic.mk')
-rw-r--r--target/linux/ar71xx/image/generic.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index 3f1486e..01c5bdc 100644
--- a/target/linux/ar71xx/image/generic.mk
+++ b/target/linux/ar71xx/image/generic.mk
@@ -75,6 +75,19 @@ define Build/wrgg-pad-rootfs
endef
+define Device/ap121f
+ DEVICE_TITLE := ALFA Network AP121F
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage -swconfig
+ BOARDNAME := AP121F
+ IMAGE_SIZE := 16064k
+ CONSOLE := ttyATH0,115200
+ MTDPARTS := spi0.0:192k(u-boot)ro,64k(u-boot-env),64k(art)ro,-(firmware)
+ SUPPORTED_DEVICES := ap121f
+ IMAGE/sysupgrade.bin = append-kernel | pad-to $$$$(BLOCKSIZE) | \
+ append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
+endef
+TARGET_DEVICES += ap121f
+
define Device/ap531b0
DEVICE_TITLE := Rockeetech AP531B0
DEVICE_PACKAGES := kmod-usb-core kmod-usb2