diff options
Diffstat (limited to 'target/linux/ramips/image/mt7621.mk')
-rw-r--r-- | target/linux/ramips/image/mt7621.mk | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index a48aedd661..73ded64e74 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -531,25 +531,41 @@ define Device/totolink_a7000r endef TARGET_DEVICES += totolink_a7000r -define Device/tplink_re350-v1 +define Device/tplink-safeloader MTK_SOC := mt7621 DEVICE_VENDOR := TP-Link - DEVICE_MODEL := RE350 - DEVICE_VARIANT := v1 - DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 wpad-basic - TPLINK_BOARD_ID := RE350-V1 + TPLINK_BOARD_ID := TPLINK_HWID := 0x0 TPLINK_HWREV := 0 TPLINK_HEADER_VERSION := 1 - IMAGE_SIZE := 6016k KERNEL := $(KERNEL_DTB) | tplink-v1-header -e -O IMAGES += factory.bin - IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | append-metadata | check-size $$$$(IMAGE_SIZE) + IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \ + append-metadata | check-size $$$$(IMAGE_SIZE) IMAGE/factory.bin := append-rootfs | tplink-safeloader factory +endef + +define Device/tplink_re350-v1 + $(Device/tplink-safeloader) + DEVICE_MODEL := RE350 + DEVICE_VARIANT := v1 + DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 wpad-basic + TPLINK_BOARD_ID := RE350-V1 + IMAGE_SIZE := 6016k SUPPORTED_DEVICES += re350-v1 endef TARGET_DEVICES += tplink_re350-v1 +define Device/tplink_re650-v1 + $(Device/tplink-safeloader) + DEVICE_MODEL := RE650 + DEVICE_VARIANT := v1 + DEVICE_PACKAGES := kmod-mt7615e wpad-basic + TPLINK_BOARD_ID := RE650-V1 + IMAGE_SIZE := 14208k +endef +TARGET_DEVICES += tplink_re650-v1 + define Device/ubiquiti_edgerouterx MTK_SOC := mt7621 FILESYSTEMS := squashfs |