diff options
author | Thibaut VARENE <hacks@slashdirt.org> | 2017-07-30 12:17:44 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-08-03 00:11:25 +0200 |
commit | 695f5ea85a20d14b179053496ff007cb5d947923 (patch) | |
tree | 8a1f61918417218a9fcca12d7bbf452d0a422552 | |
parent | 8a13895a2e3fc749e0038b50e7b6b4988505179b (diff) | |
download | upstream-695f5ea85a20d14b179053496ff007cb5d947923.tar.gz upstream-695f5ea85a20d14b179053496ff007cb5d947923.tar.bz2 upstream-695f5ea85a20d14b179053496ff007cb5d947923.zip |
ramips: Add support for Netgear EX3800
The Netgear EX3800 is essentially an EX3700 with a mains output socket.
Both devices use the exact same firmware image (original firmware is named
EX3700-EX3800-version.chk).
This patch adds suport by renaming the EX3700 device to EX3700/EX3800 and
updating the necessary glue.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/EX3700.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/image/mt7620.mk | 7 |
3 files changed, 6 insertions, 5 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 1dc1391800..0087f2003b 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -181,7 +181,7 @@ ramips_board_detect() { *"EX2700") name="ex2700"; ;; - *"EX3700") + *"EX3700/EX3800") name="ex3700" ;; *"F5D8235 v1") diff --git a/target/linux/ramips/dts/EX3700.dts b/target/linux/ramips/dts/EX3700.dts index 72aeb6152d..2cf1c0b3e8 100644 --- a/target/linux/ramips/dts/EX3700.dts +++ b/target/linux/ramips/dts/EX3700.dts @@ -9,7 +9,7 @@ / { compatible = "ralink,mt7620a-soc"; - model = "Netgear EX3700"; + model = "Netgear EX3700/EX3800"; chosen { bootargs = "console=ttyS0,57600"; diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 84999f08de..f9a9fdb84c 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -140,7 +140,7 @@ define Device/ex2700 endef TARGET_DEVICES += ex2700 -define Device/ex3700 +define Device/ex3700-ex3800 NETGEAR_BOARD_ID := U12H319T00_NETGEAR DTS := EX3700 BLOCKSIZE := 4k @@ -148,9 +148,10 @@ define Device/ex3700 IMAGES += factory.chk IMAGE/factory.chk := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | netgear-chk DEVICE_PACKAGES := -kmod-mt76 kmod-mt76x2 - DEVICE_TITLE := Netgear EX3700 + DEVICE_TITLE := Netgear EX3700/EX3800 + SUPPORTED_DEVICES := ex3700 endef -TARGET_DEVICES += ex3700 +TARGET_DEVICES += ex3700-ex3800 define Device/gl-mt300a DTS := GL-MT300A |