From 9596d1b5fcf6983816aa322dcfccb5fec85b644e Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Mon, 19 Feb 2024 08:24:34 +0100 Subject: [PATCH] Add options into BPI-R4 config like build bot have; disable on AX3200 The build bot [1] includes some options, that are not enabled in the config by default. According to the comment [2], the parameter CONFIG_ALL_KMODS is breaking Xiaomi AX3200 (Xiaomi AX6S) router, due insufficient space for kernel [3] and because of that, this parameter is disabled on Xiaomi router. [1] https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/config.buildinfo [2] https://github.com/openwrt/openwrt/commit/dadad6bb731ff1025125c619da7ccc196ad6ea01#commitcomment-138768708 [3] https://github.com/openwrt/openwrt/commit/dadad6bb731ff1025125c619da7ccc196ad6ea01 --- configs/mediatek/mt7622/basic | 4 ++++ configs/mediatek/mt7622/dumb_ap | 4 ++++ configs/mediatek/mt7622/extended | 4 ++++ configs/mediatek/mt7988a/extended | 16 ++++++++++++++++ 4 files changed, 28 insertions(+) diff --git a/configs/mediatek/mt7622/basic b/configs/mediatek/mt7622/basic index 3b1f820..242c653 100644 --- a/configs/mediatek/mt7622/basic +++ b/configs/mediatek/mt7622/basic @@ -36,3 +36,7 @@ CONFIG_PACKAGE_luci-proto-ppp=y CONFIG_PACKAGE_luci-app-attendedsysupgrade=y CONFIG_PACKAGE_attendedsysupgrade-common=y CONFIG_PACKAGE_auc=y + +# Disable CONFIG_ALL_KMODS +# More: https://github.com/openwrt/openwrt/commit/dadad6bb731ff1025125c619da7ccc196ad6ea01 +CONFIG_ALL_KMODS=n diff --git a/configs/mediatek/mt7622/dumb_ap b/configs/mediatek/mt7622/dumb_ap index 63bfe0c..50fef55 100644 --- a/configs/mediatek/mt7622/dumb_ap +++ b/configs/mediatek/mt7622/dumb_ap @@ -92,3 +92,7 @@ CONFIG_PACKAGE_luci-app-usteer=y # language CONFIG_LUCI_LANG_pl=y + +# Disable CONFIG_ALL_KMODS +# More: https://github.com/openwrt/openwrt/commit/dadad6bb731ff1025125c619da7ccc196ad6ea01 +CONFIG_ALL_KMODS=n diff --git a/configs/mediatek/mt7622/extended b/configs/mediatek/mt7622/extended index 56a6c19..bcde5af 100644 --- a/configs/mediatek/mt7622/extended +++ b/configs/mediatek/mt7622/extended @@ -113,3 +113,7 @@ CONFIG_PACKAGE_bind-host=y # language CONFIG_LUCI_LANG_pl=y + +# Disable CONFIG_ALL_KMODS +# More: https://github.com/openwrt/openwrt/commit/dadad6bb731ff1025125c619da7ccc196ad6ea01 +CONFIG_ALL_KMODS=n diff --git a/configs/mediatek/mt7988a/extended b/configs/mediatek/mt7988a/extended index 554b7b8..c671938 100644 --- a/configs/mediatek/mt7988a/extended +++ b/configs/mediatek/mt7988a/extended @@ -122,8 +122,24 @@ CONFIG_PACKAGE_kmod-mt7921-common=y CONFIG_PACKAGE_kmod-mt7921-firmware=y CONFIG_PACKAGE_kmod-mt7921e=y +# Intel BE200 +CONFIG_PACKAGE_iwlwifi-firmware-be200=y + ## debuging CONFIG_PACKAGE_block-mount=y CONFIG_PACKAGE_blockd=m CONFIG_PACKAGE_mtdev=m CONFIG_PACKAGE_kmod-mtd-rw=y + +## Additional configs to be more "compatible" with OpenWRT build bots. +## https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/config.buildinfo +#CONFIG_ALL_KMODS=y +#CONFIG_ALL_NONSHARED=y +#CONFIG_BPF_TOOLCHAIN_BUILD_LLVM=y +#CONFIG_COLLECT_KERNEL_DEBUG=y +#CONFIG_HAS_BPF_TOOLCHAIN=y +#CONFIG_IB=y +#CONFIG_SDK=y +#CONFIG_SDK_LLVM_BPF=y +#CONFIG_TARGET_ALL_PROFILES=y +#CONFIG_USE_LLVM_BUILD=y