From c5892fe8c566521db3fddabe55f74ccb1331f0eb Mon Sep 17 00:00:00 2001 From: Christoph Krapp Date: Sat, 18 Oct 2025 00:58:37 +0200 Subject: [PATCH] ipq40xx: fix Linksys WHW0x sorting whw01 was incorrectly placed below whw03 definitions. Signed-off-by: Christoph Krapp Link: https://github.com/openwrt/openwrt/pull/20441 Signed-off-by: Robert Marko (cherry picked from commit 1fecbaf3d86ad8ce8bbc4a9504c73e943da323e1) Link: https://github.com/openwrt/openwrt/pull/20454 Signed-off-by: Hauke Mehrtens --- target/linux/ipq40xx/image/generic.mk | 34 +++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk index 21841f4bf1..86bcaf8406 100644 --- a/target/linux/ipq40xx/image/generic.mk +++ b/target/linux/ipq40xx/image/generic.mk @@ -731,6 +731,23 @@ define Device/linksys_mr8300 endef TARGET_DEVICES += linksys_mr8300 +define Device/linksys_whw01 + $(call Device/FitzImage) + DEVICE_VENDOR := Linksys + DEVICE_MODEL := WHW01 + KERNEL_SIZE := 6144k + IMAGE_SIZE := 75776k + NAND_SIZE := 256m + SOC := qcom-ipq4018 + BLOCKSIZE := 128k + PAGESIZE := 2048 + UBINIZE_OPTS := -E 5 # EOD marks to "hide" factory sig at EOF + IMAGES += factory.bin + IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=WHW01 + DEVICE_PACKAGES := uboot-envtools kmod-leds-pca963x +endef +TARGET_DEVICES += linksys_whw01 + define Device/linksys_whw03 $(call Device/FitzImage) DEVICE_VENDOR := Linksys @@ -763,23 +780,6 @@ define Device/linksys_whw03v2 endef TARGET_DEVICES += linksys_whw03v2 -define Device/linksys_whw01 - $(call Device/FitzImage) - DEVICE_VENDOR := Linksys - DEVICE_MODEL := WHW01 - KERNEL_SIZE := 6144k - IMAGE_SIZE := 75776k - NAND_SIZE := 256m - SOC := qcom-ipq4018 - BLOCKSIZE := 128k - PAGESIZE := 2048 - UBINIZE_OPTS := -E 5 # EOD marks to "hide" factory sig at EOF - IMAGES += factory.bin - IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=WHW01 - DEVICE_PACKAGES := uboot-envtools kmod-leds-pca963x -endef -TARGET_DEVICES += linksys_whw01 - define Device/luma_wrtq-329acn $(call Device/FitImage) DEVICE_VENDOR := Luma Home -- 2.30.2