X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fimage%2Fmt7621.mk;h=816652ddaae8cf15dcd48f839bd6222d3b88091a;hp=d32feb7eabec5919a5cc8a03a09e7678bb4936de;hb=12ab6ef5c377e9d4aa8f0758ca92056da7eea0bf;hpb=7ec092e64125b920aee6d1767dacea3f61b2fa6f diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index d32feb7eab..816652ddaa 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -106,6 +106,16 @@ define Device/asiarf_ap7621-001 endef TARGET_DEVICES += asiarf_ap7621-001 +define Device/asiarf_ap7621-nv1 + MTK_SOC := mt7621 + IMAGE_SIZE := 16000k + DEVICE_VENDOR := AsiaRF + DEVICE_MODEL := AP7621-NV1 + DEVICE_PACKAGES := \ + kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 +endef +TARGET_DEVICES += asiarf_ap7621-nv1 + define Device/asus_rt-ac57u MTK_SOC := mt7621 DEVICE_VENDOR := ASUS @@ -115,6 +125,22 @@ define Device/asus_rt-ac57u endef TARGET_DEVICES += asus_rt-ac57u +define Device/asus_rt-ac85p + MTK_SOC := mt7621 + DEVICE_VENDOR := ASUS + DEVICE_MODEL := RT-AC85P + IMAGE_SIZE := 51200k + UBINIZE_OPTS := -E 5 + BLOCKSIZE := 128k + PAGESIZE := 2048 + KERNEL_SIZE := 4096k + IMAGES += factory.bin + IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata + IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE) + DEVICE_PACKAGES := kmod-usb3 kmod-mt7615e wpad-basic uboot-envtools +endef +TARGET_DEVICES += asus_rt-ac85p + define Device/buffalo_wsr-1166dhp MTK_SOC := mt7621 IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata @@ -173,6 +199,20 @@ define Device/d-team_pbr-m1 endef TARGET_DEVICES += d-team_pbr-m1 +define Device/edimax_rg21s + MTK_SOC := mt7621 + IMAGE_SIZE := 16064k + DEVICE_VENDOR := Edimax + DEVICE_MODEL := Gemini AC2600 RG21S + IMAGES += factory.bin + IMAGE/factory.bin := \ + $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + elx-header 02020038 8844A2D168B45A2D + DEVICE_PACKAGES := \ + kmod-mt7615e wpad-basic +endef +TARGET_DEVICES += edimax_rg21s + define Device/elecom_wrc-1167ghbk2-s MTK_SOC := mt7621 IMAGE_SIZE := 15488k @@ -282,6 +322,19 @@ define Device/iodata_wn-gx300gr endef TARGET_DEVICES += iodata_wn-gx300gr +define Device/iodata_wnpr2600g + MTK_SOC := mt7621 + DEVICE_VENDOR := I-O DATA + DEVICE_MODEL := WNPR2600G + IMAGE_SIZE := 13952k + IMAGES += factory.bin + IMAGE/factory.bin := \ + $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + elx-header 0104003a 8844A2D168B45A2D + DEVICE_PACKAGES := kmod-mt7615e wpad-basic +endef +TARGET_DEVICES += iodata_wnpr2600g + define Device/lenovo_newifi-d1 MTK_SOC := mt7621 IMAGE_SIZE := 32448k @@ -397,7 +450,12 @@ define Device/netgear_r6220 KERNEL_SIZE := 4096k IMAGE_SIZE := 28672k UBINIZE_OPTS := -E 5 - IMAGES += kernel.bin rootfs.bin + SERCOMM_HWID := AYA + SERCOMM_HWVER := A001 + SERCOMM_SWVER := 0x0086 + IMAGES += factory.img kernel.bin rootfs.bin + IMAGE/factory.img := pad-extra 2048k | append-kernel | pad-to 6144k | append-ubi | \ + pad-to $$$$(BLOCKSIZE) | sercom-footer | pad-to 128 | zip R6220.bin | sercom-seal IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata IMAGE/kernel.bin := append-kernel IMAGE/rootfs.bin := append-ubi | check-size $$$$(IMAGE_SIZE) @@ -409,24 +467,45 @@ 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 KERNEL_SIZE := 4096k IMAGE_SIZE := 40960k UBINIZE_OPTS := -E 5 - IMAGES += kernel.bin rootfs.bin + SERCOMM_HWID := CHJ + SERCOMM_HWVER := A001 + SERCOMM_SWVER := 0x0052 + IMAGES += factory.img kernel.bin rootfs.bin + IMAGE/factory.img := pad-extra 2048k | append-kernel | pad-to 6144k | append-ubi | \ + pad-to $$$$(BLOCKSIZE) | sercom-footer | pad-to 128 | zip $$$$(DEVICE_MODEL).bin | sercom-seal IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata 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-usb3 kmod-usb-ledtrig-usbport wpad-basic + 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 @@ -535,6 +614,15 @@ define Device/totolink_a7000r endef TARGET_DEVICES += totolink_a7000r +define Device/adslr_g7 + MTK_SOC := mt7621 + IMAGE_SIZE := 16064k + DEVICE_VENDOR := ADSLR + DEVICE_MODEL := G7 + DEVICE_PACKAGES := kmod-mt7615e wpad-basic +endef +TARGET_DEVICES += adslr_g7 + define Device/tplink-safeloader MTK_SOC := mt7621 DEVICE_VENDOR := TP-Link @@ -674,6 +762,15 @@ define Device/xiaomi_mir3p endef TARGET_DEVICES += xiaomi_mir3p +define Device/xiaoyu_xy-c5 + MTK_SOC := mt7621 + IMAGE_SIZE := 32448k + DEVICE_VENDOR := XiaoYu + DEVICE_MODEL := XY-C5 + DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-usb3 +endef +TARGET_DEVICES += xiaoyu_xy-c5 + define Device/xzwifi_creativebox-v1 MTK_SOC := mt7621 IMAGE_SIZE := 32448k