On 26/03/2024 15:50, Joshua Lant wrote:
Add kernel modules to morello_transitional_pcuabi_defconfig required for wireguard-module, wireguard-tools and other userspace programs in the wireguard test script netns.sh.
Signed-off-by: Joshua Lant joshualant@gmail.com
.../morello_transitional_pcuabi_defconfig | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+)
diff --git a/arch/arm64/configs/morello_transitional_pcuabi_defconfig b/arch/arm64/configs/morello_transitional_pcuabi_defconfig index 6291231b8d9c..eb5e32b4f0c6 100644 --- a/arch/arm64/configs/morello_transitional_pcuabi_defconfig +++ b/arch/arm64/configs/morello_transitional_pcuabi_defconfig @@ -162,3 +162,26 @@ CONFIG_DEBUG_FS=y CONFIG_FTRACE_SYSCALLS=y CONFIG_CORESIGHT=y CONFIG_MEMTEST=y +CONFIG_WIREGUARD=y +CONFIG_WIREGUARD_DEBUG=y +CONFIG_DUMMY=y +CONFIG_IP_ADVANCED_ROUTER=y +CONFIG_IP_MULTIPLE_TABLES=y +CONFIG_IP_NF_MANGLE=y +CONFIG_IPV6_MULTIPLE_TABLES=y +CONFIG_NF_TABLES=y +CONFIG_NFT_COMPAT=y +CONFIG_NF_TABLES_INET=y +CONFIG_NF_TABLES_NETDEV=y +CONFIG_NFT_NAT=y +CONFIG_BRIDGE_NF_EBTABLES=y +CONFIG_NETFILTER_XT_MATCH_LENGTH=y +CONFIG_IP_NF_MATCH_LENGTH=y +CONFIG_NFT_MATCH_LENGTH=y +CONFIG_NETFILTER_ADVANCED=y +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y +CONFIG_NETFILTER_XTABLES=y +CONFIG_IP_SET=y +CONFIG_NF_TABLES_IPV4=y +CONFIG_NF_TABLES_ARP=y +CONFIG_NF_TABLES_BRIDGE=y
Generally speaking, we add options to this defconfig if they are enabled (or =m) in the standard arm64 defconfig (arch/arm64/configs/defconfig), or if they are somehow relevant to the Morello board specifically. I don't think this is the case for CONFIG_WIREGUARD and many of the other options added here. I would recommend writing your own config fragment with those options and merging it into this defconfig using scripts/kconfig/merge_config.sh.
Kevin