aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorRani Hod <rani.hod@gmail.com>2023-04-25 01:26:28 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2023-08-27 19:13:36 +0200
commita4eb1ea3319296d99d36be8c4d786f4e3ee6acb9 (patch)
tree953c3c5cae29bafa48e8f0aa07f8f8fbc2446d5b /target/linux/ramips/image
parente80a3875172178cdcc02d13826717413cc1534a8 (diff)
downloadupstream-a4eb1ea3319296d99d36be8c4d786f4e3ee6acb9.tar.gz
upstream-a4eb1ea3319296d99d36be8c4d786f4e3ee6acb9.tar.bz2
upstream-a4eb1ea3319296d99d36be8c4d786f4e3ee6acb9.zip
ramips: add support for D-Link DRA-1360
The DRA-1360 rev A is a wall-plug AC1300 repeater. Hardware is identical (same FCC ID, black case instead of white) to D-Link DAP-1620 rev B, which is already supported, but a different model name, revision, and hardware ID are needed. Thus, the bulk of the DAP-1620 device tree is extracted to a common dtsi included by the two models' device trees. Repeating specs and installation instructions from e4c7703: (note that the RAM size mentioned there was incorrect, oops) Specs: - SoC: MT7621AT (880MHz dual-core MIPS1004Kc) - Memory: 128 MiB RAM, 16 MiB NOR SPI - WiFi: MT7615DN 2x2 802.11n + 2x2 802.11ac (DBDC) - Ethernet: 1 RJ45 port 10/100/1000 - Power/status LED: 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 (pings are ignored, it listens only for http) - Upload factory.bin, confirm flashing (seems to work best with Chromium-based browsers) Revert to OEM firmware: - tail -c+117 DRA1360A1_FW112B03.bin | \ openssl aes-256-cbc -d -md md5 -out decrypted.bin \ -k c471706398cb147c6619f8a04a18d53e9c17ede8 - flash decrypted.bin via D-Link Web Recovery Signed-off-by: Rani Hod <rani.hod@gmail.com>
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/mt7621.mk20
1 files changed, 16 insertions, 4 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index ad45613a0b4..338cbae5b6a 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -614,12 +614,9 @@ define Device/cudy_x6-v2
endef
TARGET_DEVICES += cudy_x6-v2
-define Device/dlink_dap-1620-b1
+define Device/dlink_dxx-1xx0-x1
DEVICE_VENDOR := D-Link
- DEVICE_MODEL := DAP-1620
- DEVICE_VARIANT := B1
DEVICE_PACKAGES := kmod-mt7615-firmware rssileds
- DLINK_HWID := MT76XMT7621-RP-PR2475-NA
IMAGE_SIZE := 16064k
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | \
@@ -628,6 +625,13 @@ define Device/dlink_dap-1620-b1
append-string $$(DLINK_HWID) | \
check-size
endef
+
+define Device/dlink_dap-1620-b1
+ $(Device/dlink_dxx-1xx0-x1)
+ DEVICE_MODEL := DAP-1620
+ DEVICE_VARIANT := B1
+ DLINK_HWID := MT76XMT7621-RP-PR2475-NA
+endef
TARGET_DEVICES += dlink_dap-1620-b1
define Device/dlink_dap-x1860-a1
@@ -799,6 +803,14 @@ define Device/dlink_dir-882-r1
endef
TARGET_DEVICES += dlink_dir-882-r1
+define Device/dlink_dra-1360-a1
+ $(Device/dlink_dxx-1xx0-x1)
+ DEVICE_MODEL := DRA-1360
+ DEVICE_VARIANT := A1
+ DLINK_HWID := MT76XMT7621-RP-RA1360-NA
+endef
+TARGET_DEVICES += dlink_dra-1360-a1
+
define Device/dual-q_h721
$(Device/dsa-migration)
$(Device/uimage-lzma-loader)