aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-04-24 19:52:13 +0200
committerJohn Crispin <john@phrozen.org>2018-05-07 10:42:26 +0200
commitb6a4c674684585902ee07a4ba7c89d988d633650 (patch)
tree37fe2cf0fcaf56bd88f3a5b293acd2337ba60cfd /target/linux/ar71xx/image
parent66c8afd115f4d03fefc0e650b90dd922487cc50f (diff)
downloadupstream-b6a4c674684585902ee07a4ba7c89d988d633650.tar.gz
upstream-b6a4c674684585902ee07a4ba7c89d988d633650.tar.bz2
upstream-b6a4c674684585902ee07a4ba7c89d988d633650.zip
ar71xx: add support for Fritz!Box 4020
This commit adds support for the AVM Fritz!Box 4020 WiFi-router. SoC: Qualcomm Atheros QCA9561 (Dragonfly) 750MHz RAM: Winbond W971GG6KB-25 FLASH: Macronix MX25L12835F WiFi: QCA9561 b/g/n 3x3 450Mbit/s USB: 1x USB 2.0 IN: WPS button, WiFi button OUT: Power LED green, Internet LED green, WLAN LED green, LAN LED green, INFO LED green, INFO LED red UART: Header Next to Black metal shield Pinout is 3.3V - RX - TX - GND (Square Pad is 3.3V) The Serial setting is 115200-8-N-1. Tested and working: - Ethernet (LAN + WAN) - WiFi (correct MAC) - Installation via EVA bootloader - OpenWRT sysupgrade - Buttons - LEDs Not working: - USB port Installation via EVA: In the first seconds after Power is connected, the bootloader will listen for FTP connections on 169.254.157.1 (Might also be 192.168.178.1). Firmware can be uploaded like following: ftp> quote USER adam2 ftp> quote PASS adam2 ftp> binary ftp> debug ftp> passive ftp> quote MEDIA FLSH ftp> put openwrt-sysupgrade.bin mtd1 Note that this procedure might take up to two minutes. After transfer is complete you need to powercycle the device to boot OpenWRT. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ar71xx/image')
-rw-r--r--target/linux/ar71xx/image/generic.mk27
1 files changed, 21 insertions, 6 deletions
diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index 0d3aedb460..a0f6326145 100644
--- a/target/linux/ar71xx/image/generic.mk
+++ b/target/linux/ar71xx/image/generic.mk
@@ -1282,16 +1282,31 @@ define Device/zbt-we1526
endef
TARGET_DEVICES += zbt-we1526
-define Device/fritz300e
- DEVICE_TITLE := AVM FRITZ!WLAN Repeater 300E
- DEVICE_PACKAGES := fritz-tffs rssileds -swconfig -uboot-envtools
- BOARDNAME := FRITZ300E
- SUPPORTED_DEVICES := fritz300e
- IMAGE_SIZE := 15232k
+define Device/AVM
+ DEVICE_PACKAGES := fritz-tffs -uboot-envtools
KERNEL := kernel-bin | patch-cmdline | lzma | eva-image
KERNEL_INITRAMFS := $$(KERNEL)
IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | \
append-squashfs-fakeroot-be | pad-to 256 | \
append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
endef
+
+define Device/fritz300e
+ $(call Device/AVM)
+ DEVICE_TITLE := AVM FRITZ!WLAN Repeater 300E
+ DEVICE_PACKAGES := rssileds -swconfig
+ BOARDNAME := FRITZ300E
+ SUPPORTED_DEVICES := fritz300e
+ IMAGE_SIZE := 15232k
+endef
TARGET_DEVICES += fritz300e
+
+define Device/fritz4020
+ $(call Device/AVM)
+ DEVICE_TITLE := AVM FRITZ!Box 4020
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage
+ BOARDNAME := FRITZ4020
+ SUPPORTED_DEVICES := fritz4020
+ IMAGE_SIZE := 15232k
+endef
+TARGET_DEVICES += fritz4020