ipq60xx: define common Linksys MR devices configuration
ipq60xx series MR devices share some common attributes such as LED for USB port. Signed-off-by: Weikai Kong <priv@pppig236.com> Link: https://github.com/openwrt/openwrt/pull/18185 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
8e6c49766d
commit
284f37ed80
1 changed files with 13 additions and 10 deletions
|
@ -54,21 +54,24 @@ define Device/glinet_gl-axt1800
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += glinet_gl-axt1800
|
TARGET_DEVICES += glinet_gl-axt1800
|
||||||
|
|
||||||
define Device/linksys_mr7350
|
define Device/linksys_mr
|
||||||
$(call Device/FitImage)
|
$(call Device/FitImage)
|
||||||
DEVICE_VENDOR := Linksys
|
DEVICE_VENDOR := Linksys
|
||||||
DEVICE_MODEL := MR7350
|
|
||||||
SOC := ipq6000
|
|
||||||
NAND_SIZE := 256m
|
|
||||||
KERNEL_SIZE := 8192k
|
|
||||||
BLOCKSIZE := 128k
|
BLOCKSIZE := 128k
|
||||||
PAGESIZE := 2048
|
PAGESIZE := 2048
|
||||||
IMAGE_SIZE := 75776k
|
KERNEL_SIZE := 8192k
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=$$$$(DEVICE_MODEL)
|
||||||
append-ubi | linksys-image type=MR7350
|
DEVICE_PACKAGE := kmod-usb-ledtrig-usbport
|
||||||
DEVICE_PACKAGES := ipq-wifi-linksys_mr7350 \
|
endef
|
||||||
kmod-leds-pca963x kmod-usb-ledtrig-usbport
|
|
||||||
|
define Device/linksys_mr7350
|
||||||
|
$(call Device/linksys_mr)
|
||||||
|
DEVICE_MODEL := MR7350
|
||||||
|
NAND_SIZE := 256m
|
||||||
|
IMAGE_SIZE := 75776k
|
||||||
|
SOC := ipq6000
|
||||||
|
DEVICE_PACKAGES += ipq-wifi-linksys_mr7350 kmod-leds-pca963x
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += linksys_mr7350
|
TARGET_DEVICES += linksys_mr7350
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue