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] dadad6bb73 (commitcomment-138768708)
[3] dadad6bb73
This commit is contained in:
Daniel Pawlik
2024-02-19 08:24:34 +01:00
parent 35eea85c6a
commit 9596d1b5fc
4 changed files with 28 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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