From 02d53e6a2113f80ae429664e7990d167fbf44604 Mon Sep 17 00:00:00 2001 From: Johann Neuhauser Date: Thu, 17 May 2018 19:12:35 +0200 Subject: lantiq: add support for FritzBox 7312 The FritzBox 7312 is also known as 1&1 WLAN-MODEM. The device is almost the same as FB7330, but only one ETH-Port and no USB. Hardware SoC: Lantiq Xway ARX188 PSB 50812 EL RAM: 64MB DDR1 (Zentel A4S12D40FTP-G5) Ethernet: Atheros 8030 Wireless: Atheros AR9227 b/g/n 2x2 DSL: Lantiq ADSL2+ DECT: Dialog SC14441 Buttons: WiFi, DECT LEDs: Power/DSL, Fon, DECT, WLAN, Info LEDs Power: GPIO#44 (active low) Internet: GPIO#47 (active low) DECT: GPIO#38 (active low) WLAN: GPIO#37 (active low) Info: GPIO#35 (active low) The Fon LED is labeled as internet in avm gpl sources. Buttons WLAN: GPIO#1 (active low) DECT: GPIO#2 (active low) Phy GPIO#03: 25 MHz GPIO#34: Reset (active low) GPIO#39: Int GPIO#42: MII MDIO GPIO#43: MII MDC PCIe GPIO#21: reset (active low) Installation: To install OpenWrt via Eva bootloader, within the first seconds after power on a ftp connection need to be established to the FRITZ!Box at 192.168.178.1 and the the following ftp commands need to be run: ftp> quote USER adam2 ftp> quote PASS adam2 ftp> binary ftp> debug ftp> passive ftp> quote MEDIA FLSH ftp> put /path/to/openwrt-lantiq-xway-avm_fritz7312-squashfs-sysupgrade.bin mtd1 ftp> quote REBOOT Signed-off-by: Johann Neuhauser --- target/linux/lantiq/image/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'target/linux/lantiq/image/Makefile') diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index c4419ce629..0bedfcf0af 100644 --- a/target/linux/lantiq/image/Makefile +++ b/target/linux/lantiq/image/Makefile @@ -485,6 +485,19 @@ define Device/buffalo_wbmr-hp-g300h-b endef TARGET_DEVICES += buffalo_wbmr-hp-g300h-b +define Device/avm_fritz7312 + $(Device/AVM) + DEVICE_DTS := FRITZ7312 + IMAGE_SIZE := 15744k + DEVICE_TITLE := 1&1 WLAN-MODEM - FRITZ7312 + DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini \ + kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ + kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ + ltq-adsl-app ppp-mod-pppoa \ + kmod-ltq-deu-ar9 -swconfig +endef +TARGET_DEVICES += avm_fritz7312 + define Device/avm_fritz7320 $(Device/AVM) DEVICE_DTS := FRITZ7320 -- cgit v1.2.3