mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-20 00:23:30 +00:00
78 lines
2.1 KiB
Makefile
78 lines
2.1 KiB
Makefile
define Device/EmmcImage
|
|
IMAGES += factory.bin recovery.bin
|
|
IMAGE/factory.bin := append-kernel | pad-to 12288k | append-rootfs | append-metadata
|
|
IMAGE/recovery.bin := append-kernel | pad-to 6144k | append-rootfs | append-metadata
|
|
IMAGE/sysupgrade.bin/squashfs := append-rootfs | pad-to 64k | sysupgrade-tar rootfs=$$$$@ | append-metadata
|
|
endef
|
|
|
|
define Device/cmcc_rax3000q
|
|
$(call Device/FitImage)
|
|
$(call Device/UbiFit)
|
|
SOC := ipq5018
|
|
DEVICE_VENDOR := CMCC
|
|
DEVICE_MODEL := RAX3000Q
|
|
BLOCKSIZE := 128k
|
|
PAGESIZE := 2048
|
|
DEVICE_DTS_CONFIG := config@mp02.1
|
|
DEVICE_PACKAGES := ath11k-firmware-qcn6122 ipq-wifi-cmcc_rax3000q
|
|
endef
|
|
TARGET_DEVICES += cmcc_rax3000q
|
|
|
|
define Device/glinet_gl-b3000
|
|
$(call Device/FitImage)
|
|
$(call Device/UbiFit)
|
|
SOC := ipq5018
|
|
DEVICE_VENDOR := GL.iNET
|
|
DEVICE_MODEL := GL-B3000
|
|
BLOCKSIZE := 128k
|
|
PAGESIZE := 2048
|
|
DEVICE_DTS_CONFIG := config@mp03.5-c1
|
|
DEVICE_PACKAGES := ath11k-firmware-qcn6122 ipq-wifi-gl-b3000
|
|
endef
|
|
TARGET_DEVICES += glinet_gl-b3000
|
|
|
|
define Device/jdcloud_re-cs-03
|
|
$(call Device/FitImage)
|
|
$(call Device/EmmcImage)
|
|
SOC := ipq5018
|
|
BLOCKSIZE := 64k
|
|
KERNEL_SIZE := 6144k
|
|
DEVICE_VENDOR := JDCloud
|
|
DEVICE_MODEL := AX3000
|
|
DEVICE_DTS_CONFIG := config@mp03.5-c2
|
|
endef
|
|
TARGET_DEVICES += jdcloud_re-cs-03
|
|
|
|
define Device/linksys_ipq50xx_mx_base
|
|
$(call Device/FitImageLzma)
|
|
DEVICE_VENDOR := Linksys
|
|
BLOCKSIZE := 128k
|
|
PAGESIZE := 2048
|
|
KERNEL_SIZE := 8192k
|
|
IMAGE_SIZE := 83968k
|
|
NAND_SIZE := 256m
|
|
SOC := ipq5018
|
|
IMAGES += factory.bin
|
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
|
|
append-ubi | linksys-image type=$$$$(DEVICE_MODEL)
|
|
endef
|
|
|
|
define Device/linksys_mx2000
|
|
$(call Device/linksys_ipq50xx_mx_base)
|
|
DEVICE_MODEL := MX2000
|
|
DEVICE_DTS_CONFIG := config@mp03.5-c1
|
|
DEVICE_PACKAGES := ath11k-firmware-qcn6122 \
|
|
ipq-wifi-linksys_mx2000
|
|
endef
|
|
TARGET_DEVICES += linksys_mx2000
|
|
|
|
define Device/linksys_mx5500
|
|
$(call Device/linksys_ipq50xx_mx_base)
|
|
DEVICE_MODEL := MX5500
|
|
DEVICE_DTS_CONFIG := config@mp03.1
|
|
DEVICE_PACKAGES := kmod-ath11k-pci \
|
|
ath11k-firmware-qcn9074 \
|
|
ipq-wifi-linksys_mx5500
|
|
endef
|
|
TARGET_DEVICES += linksys_mx5500
|