ramips: add support for Netgear R6260 and R6850

As Netgear uses the same image for R6260, R6350 & R6850
we can merge device tree files and generate separate
images for each device.

Signed-off-by: Christoph Krapp <achterin@googlemail.com>
[add missing WiFi compatible string, fix network
configuration]
Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
Christoph Krapp
2019-08-29 10:08:38 +02:00
committed by David Bauer
parent 3c8df280a9
commit 6cea9688af
8 changed files with 251 additions and 146 deletions

View File

@@ -414,7 +414,7 @@ define Device/netgear_r6220
endef
TARGET_DEVICES += netgear_r6220
define Device/netgear_r6350
define Device/netgear_r6260_r6350_r6850
MTK_SOC := mt7621
BLOCKSIZE := 128k
PAGESIZE := 2048
@@ -431,12 +431,28 @@ define Device/netgear_r6350
IMAGE/kernel.bin := append-kernel
IMAGE/rootfs.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := R6350
DEVICE_PACKAGES := \
kmod-mt7603 kmod-mt7615e kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
endef
define Device/netgear_r6260
$(Device/netgear_r6260_r6350_r6850)
DEVICE_MODEL := R6260
endef
TARGET_DEVICES += netgear_r6260
define Device/netgear_r6350
$(Device/netgear_r6260_r6350_r6850)
DEVICE_MODEL := R6350
endef
TARGET_DEVICES += netgear_r6350
define Device/netgear_r6850
$(Device/netgear_r6260_r6350_r6850)
DEVICE_MODEL := R6850
endef
TARGET_DEVICES += netgear_r6850
define Device/netgear_wndr3700-v5
MTK_SOC := mt7621
BLOCKSIZE := 64k