From 41aadd929e3da7fe5f7441af68df0fc9dc83de38 Mon Sep 17 00:00:00 2001 From: MichaIng Date: Tue, 14 Mar 2023 16:25:26 +0100 Subject: [PATCH] Update kernel config Make binfmt and fuse again builtin, since those are always loaded by default DietPi/Debian/systemd setup. Enable zswap support with zstd as default compression algorithm. Add WireGuard and OpenVPN modules and enable NFSv4 server protocol support. Attempt to remove /dev/hvc* and /dev/vcs* Hypervisor Virtual Console devices. Signed-off-by: MichaIng --- dietpi_visionfive2_defconfig | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dietpi_visionfive2_defconfig b/dietpi_visionfive2_defconfig index 2e6133cbb16a1..5d0eaed4ee988 100644 --- a/dietpi_visionfive2_defconfig +++ b/dietpi_visionfive2_defconfig @@ -2,13 +2,18 @@ CONFIG_SOC_SIFIVE=n CONFIG_LEGACY_PTYS=n CONFIG_FB_SIMPLE=y CONFIG_MODULE_COMPRESS_XZ=y +CONFIG_ZSWAP=y +CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD=y CONFIG_F2FS_FS=y CONFIG_BTRFS_FS=y CONFIG_NFSD=m +CONFIG_NFSD_V4=y CONFIG_CIFS=m CONFIG_CIFS_POSIX=y CONFIG_CIFS_FSCACHE=y -CONFIG_BINFMT_MISC=m +CONFIG_BINFMT_MISC=y +CONFIG_WIREGUARD=m +CONFIG_TUN=m CONFIG_DEFAULT_HOSTNAME="DietPi" CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y @@ -179,7 +184,7 @@ CONFIG_SERIAL_8250_MANY_PORTS=y CONFIG_SERIAL_8250_DW=y CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_EARLYCON_RISCV_SBI=y -CONFIG_HVC_RISCV_SBI=y +CONFIG_HVC_RISCV_SBI=n CONFIG_TTY_PRINTK=y CONFIG_VIRTIO_CONSOLE=n CONFIG_HW_RANDOM=y @@ -293,7 +298,7 @@ CONFIG_CPUFREQ_DT=y CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_AUTOFS4_FS=y -CONFIG_FUSE_FS=m +CONFIG_FUSE_FS=y CONFIG_CUSE=y CONFIG_VIRTIO_FS=n CONFIG_OVERLAY_FS=m