ramips: add support for D-Link DAP-1620 B1
authorRani Hod <rani.hod@gmail.com>
Sun, 9 Apr 2023 19:47:58 +0000 (22:47 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Apr 2023 20:05:20 +0000 (22:05 +0200)
commite4c7703d2a62b8914e4723adae3f67c68a57532c
tree242200c1e7cfc5a574aeb6fa08051e387078bd5c
parent829a50d242287060c749882b7bf9af4c6a4505b4
ramips: add support for D-Link DAP-1620 B1

The DAP-1620 rev B is a wall-plug AC1300 repeater.

Specifications:
- MT7621AT, 256 MiB RAM, 16 MiB SPI NOR
- MT7615DN 2x2 802.11n +2x2 802.11ac (DBDC)
- Ethernet: 1 port 10/100/1000
- Status LEDs (1x red+green)
- LED RSSI bargraph (2x green, 1x red+green)

Installation:
- Keep reset button pressed during plug-in
- Web Recovery Updater is at 192.168.0.50
- Upload factory.bin, confirm flashing
  (seems to work best with Chromium-based browsers)

Revert to OEM firmware:
- tail -c+117 DAP1620B1_FW212B03.bin | \
  openssl aes-256-cbc -d -md md5 -out decrypted.bin \
  -k 905503a4e0c3cd3c1ce062246de427a68962347e
- flash decrypted.bin via D-Link Web Recovery

Signed-off-by: Rani Hod <rani.hod@gmail.com>
include/image-commands.mk
target/linux/ramips/dts/mt7621_dlink_dap-1620-b1.dts [new file with mode: 0644]
target/linux/ramips/image/mt7621.mk
target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
target/linux/ramips/mt7621/base-files/etc/board.d/02_network
target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac