difos/target/linux/ath79/image
Manuel Giganto b2130b9ce8 ath79: add support for Devolo Magic 2 WIFI
This patch support Devolo Magic 2 WIFI, board devolo_dlan2-2400-ac.
This device is a plc wifi AC2400 router/extender with 2 Ethernet
ports, has a G.hn PLC and uses LCMP protocol from Home Grid Forum.

Hardware:
   SoC:         AR9344
   CPU:         560 MHz
   Flash:       16 MiB (W25Q128JVSIQ)
   RAM:         128 MiB DDR2
   Ethernet:    2xLAN 10/100/1000
   PLC:         88LX5152 (MaxLinear G.hn)
   PLC Flash:   W25Q32JVSSIQ
   PLC Uplink:  1Gbps MIMO
   PLC Link:    RGMII 1Gbps (WAN)
   WiFi:        Atheros AR9340 2.4GHz 802.11bgn
                Atheros AR9882-BR4A 5GHz 802.11ac
   Switch:      QCA8337, Port0:CPU, Port2:PLC, Port3:LAN1, Port4:LAN2
   Button:      3x Buttons (Reset, wifi and plc)
   LED:         3x Leds (wifi, plc white, plc red)
   GPIO Switch: 11-PLC Pairing (Active Low)
                13-PLC Enable
                21-WLAN power

MACs Details verified with the stock firmware:
   Radio1: 2.4 GHz &wmac     *:4c Art location: 0x1002
   Radio0: 5.0 GHz &pcie     *:4d Art location: 0x5006
   Ethernet        &ethernet *:4e = 2.4 GHz + 2
   PLC uplink      ---       *:4f = 2.4 GHz + 3
Label MAC address is from PLC uplink

OEM SSID: echo devolo-$(grep SerialNumber /dev/mtd1 | grep -o ...$)
OEM WiFi password: grep DlanSecurityID /dev/mtd1|tr -d -|cut -d'=' -f 2

Recommendations: Configure and link your PLC with OEM firmware
BEFORE you flash the device. PLC configuration/link should
remain in different memory and should work straight forward
after flashing.

Restrictions: PLC link detection to trigger plc red led is not
available. PLC G.hn chip is not compatible with open-plc-tools,
it uses LCMP protocol with AES-128 and requires different
software.

Notes: Pairing should be possible with gpio switch. Default
configuration will trigger wifi led with 2.4Ghz wifi traffic
and plc white led with wan traffic.

Flash instruction (TFTP):
 1. Set PC to fixed ip address 192.168.0.100
 2. Download the sysupgrade image and rename it to uploadfile
 3. Start a tftp server with the image file in its root directory
 4. Turn off the router
 5. Press and hold Reset button
 6. Turn on router with the reset button pressed and wait ~15 seconds
 7. Release the reset button and after a short time
    the firmware should be transferred from the tftp server
 8. Allow 1-2 minutes for the first boot.

Signed-off-by: Manuel Giganto <mgigantoregistros@gmail.com>
2020-03-07 11:02:13 +08:00
..
bin ath79: add support for PISEN WMB001N 2019-08-08 21:00:59 +08:00
lzma-loader ath79: move lzma-loader to the end of available RAM 2020-01-23 15:28:03 +01:00
common-buffalo.mk ath79: sort device definitions in image/* 2019-09-21 22:17:39 +02:00
common-mikrotik.mk ath79: add support for MikroTik RouterBOARD wAP G-5HacT2HnD 2020-01-23 15:28:03 +01:00
common-netgear.mk ath79: harmonize line breaks in image Makefiles 2019-12-20 00:29:05 +01:00
common-tp-link.mk ath79: move TPLINK_HWID/_HWREV to parent for tplink-safeloader 2020-02-19 23:19:43 +01:00
common-yuncore.mk ath79: add support for YunCore TFTP image generation 2019-11-25 17:32:46 +01:00
generic-tp-link.mk ath79: move TPLINK_HWID/_HWREV to parent for tplink-safeloader 2020-02-19 23:19:43 +01:00
generic-ubnt.mk ath79: add support for Ubiquiti Picostation M (XM) 2020-02-19 23:20:09 +01:00
generic.mk ath79: add support for Devolo Magic 2 WIFI 2020-03-07 11:02:13 +08:00
Makefile ath79: move lzma-loader to the end of available RAM 2020-01-23 15:28:03 +01:00
nand.mk ath79: add support for DomyWifi DW33D 2020-03-07 11:02:13 +08:00
tiny-netgear.mk ath79: rename ATH_SOC to SOC 2019-12-20 01:12:42 +01:00
tiny-tp-link.mk ath79: add support for TP-Link TL-WA701ND/730RE/801ND/901ND v1 2020-02-21 13:55:33 +01:00
tiny.mk ath79: Do not build dlink_dir-615-e4 by default 2019-12-23 15:24:43 +01:00