Build non-ct ipq806x image with image builder 22.03.5

I had some issues with ath10k-ct (lags and drops), mostly 5G. After reverting back to non-ct by "remove ct-pkgs; install nonct-pkgs; reboot" everything works just fine, no error messages, no hangs, no drops. I build images with imagebuilder, it's enough for me, i just want to include some more packages and some files. I patched the makefiles for profile zyxel_nbg6817:

diff -Purp openwrt-imagebuilder-22.03.5-ipq806x-generic.Linux-x86_64.org/target/linux/ipq806x/image/generic.mk openwrt-imagebuilder-22.03.5-ipq806x-generic.Linux-x86_64/target/linux/ipq806x/image/generic.mk
--- openwrt-imagebuilder-22.03.5-ipq806x-generic.Linux-x86_64.org/target/linux/ipq806x/image/generic.mk	2023-04-27 22:28:15.000000000 +0200
+++ openwrt-imagebuilder-22.03.5-ipq806x-generic.Linux-x86_64/target/linux/ipq806x/image/generic.mk	2023-08-16 17:39:24.860881431 +0200
@@ -469,7 +469,7 @@ define Device/zyxel_nbg6817
 	RAS_ROOTFS_SIZE := 20934k
 	RAS_VERSION := "V1.99(OWRT.9999)C0"
 	SUPPORTED_DEVICES += nbg6817
-	DEVICE_PACKAGES := ath10k-firmware-qca9984-ct e2fsprogs \
+	DEVICE_PACKAGES := ath10k-firmware-qca9984 e2fsprogs \
 		kmod-fs-ext4 losetup
 	$(call Device/ZyXELImage)
 endef
diff -Purp openwrt-imagebuilder-22.03.5-ipq806x-generic.Linux-x86_64.org/target/linux/ipq806x/Makefile openwrt-imagebuilder-22.03.5-ipq806x-generic.Linux-x86_64/target/linux/ipq806x/Makefile
--- openwrt-imagebuilder-22.03.5-ipq806x-generic.Linux-x86_64.org/target/linux/ipq806x/Makefile	2023-04-27 22:28:15.000000000 +0200
+++ openwrt-imagebuilder-22.03.5-ipq806x-generic.Linux-x86_64/target/linux/ipq806x/Makefile	2023-08-16 17:38:40.373848479 +0200
@@ -20,7 +20,7 @@ DEFAULT_PACKAGES += \
 	kmod-ata-ahci kmod-ata-ahci-platform \
 	kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
 	kmod-phy-qcom-ipq806x-usb kmod-usb3 kmod-usb-dwc3-qcom \
-	kmod-ath10k-ct wpad-basic-wolfssl \
+	kmod-ath10k wpad-basic-wolfssl \
 	uboot-envtools
 
 $(eval $(call BuildTarget))

but make image PROFILE="zyxel_nbg6817" fails:

Collected errors:
 * check_conflicts_for: The following packages conflict with ath10k-firmware-qca9984-ct:
 * check_conflicts_for: 	ath10k-firmware-qca9984 * 
 * opkg_install_cmd: Cannot install package ath10k-firmware-qca9984-ct.
make[2]: *** [Makefile:170: package_install] Error 255
make[1]: *** [Makefile:125: _call_image] Error 2
make: *** [Makefile:243: image] Fehler 2

because ath10k-firmware-qca9984-ct was somehow included in the package list:

Building images for ipq806x - ZyXEL NBG6817
Packages: ath10k-firmware-qca9984-ct ... kmod-ath10k ...

I even replaced ALL occurences of ath10k-firmware-qca9984-ct with ath10k-firmware-qca9984, no luck, ath10k-firmware-qca9984-ct is always included.

I don't understand the build process, it seems to ignore the packages in the profile.

Has anyone an idea how to fix that?

'make info' shows the profile with ath10-ct but I have no clue where it gets the package list and profile changes in in target/linux/ipq806x/image/generic.mk are not shown by 'make info'

OK, I got it working, i had to change the package names in .targetinfo as well.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.