Skip to content

Commit

Permalink
qualcommax: ipq50xx: add nand-factory image for GL.iNET GL-B3000
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Feb 9, 2025
1 parent 43e59ca commit a9e47ab
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions target/linux/qualcommax/image/ipq50xx.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ define Device/glinet_gl-b3000
BLOCKSIZE := 128k
PAGESIZE := 2048
DEVICE_DTS_CONFIG := [email protected]
IMAGES += nand-factory.img
IMAGE/nand-factory.img := append-ubi | qsdk-ipq-factory-nand | append-metadata
DEVICE_PACKAGES := ath11k-firmware-qcn6122 ipq-wifi-gl-b3000
endef
TARGET_DEVICES += glinet_gl-b3000
Expand All @@ -49,36 +51,34 @@ define Device/jdcloud_re-cs-03
endef
TARGET_DEVICES += jdcloud_re-cs-03

define Device/linksys_mx2000
define Device/linksys_ipq50xx_mx_base
$(call Device/FitImageLzma)
DEVICE_VENDOR := Linksys
DEVICE_MODEL := MX2000
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 8192k
IMAGE_SIZE := 83968k
DEVICE_DTS_CONFIG := [email protected]
NAND_SIZE := 256m
SOC := ipq5018
UBINIZE_OPTS := -E 5
IMAGES += factory.bin
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=MX2000
DEVICE_PACKAGES := ath11k-firmware-qcn6122 ipq-wifi-linksys_mx2000
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 := [email protected]
DEVICE_PACKAGES := ath11k-firmware-qcn6122 \
ipq-wifi-linksys_mx2000
endef
TARGET_DEVICES += linksys_mx2000

define Device/linksys_mx5500
$(call Device/FitImageLzma)
DEVICE_VENDOR := Linksys
$(call Device/linksys_ipq50xx_mx_base)
DEVICE_MODEL := MX5500
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 8192k
IMAGE_SIZE := 83968k
DEVICE_DTS_CONFIG := [email protected]
SOC := ipq5018
UBINIZE_OPTS := -E 5
IMAGES += factory.bin
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=MX5500
DEVICE_PACKAGES := kmod-ath11k-pci ath11k-firmware-qcn9074 ipq-wifi-linksys_mx5500
DEVICE_PACKAGES := kmod-ath11k-pci \
ath11k-firmware-qcn9074 \
ipq-wifi-linksys_mx5500
endef
TARGET_DEVICES += linksys_mx5500

0 comments on commit a9e47ab

Please sign in to comment.