From 232eed11bd973c2f4fea4ecff715efa09b49ed28 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Fri, 14 Jul 2023 12:35:23 -0300 Subject: [PATCH 1/2] feat: replace MTD flash drives with PMEM drives --- configs/default-linux-config | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/configs/default-linux-config b/configs/default-linux-config index baf8f18..3f32616 100644 --- a/configs/default-linux-config +++ b/configs/default-linux-config @@ -28,13 +28,9 @@ CONFIG_INET=y # CONFIG_WIRELESS is not set CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CFI=y -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_PHYSMAP_OF=y -CONFIG_MTD_PLATRAM=y +CONFIG_LIBNVDIMM=y +CONFIG_BLK_DEV_PMEM=y +CONFIG_OF_PMEM=y CONFIG_VIRTIO_BLK=y CONFIG_NETDEVICES=y CONFIG_VIRTIO_NET=y From bed47c6dd8441166590dd330dc1ae8f94c3c6fcf Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Tue, 25 Jul 2023 17:35:35 -0300 Subject: [PATCH 2/2] feat: trust bootloader rng and enable hugetlbfs support --- configs/default-linux-config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/default-linux-config b/configs/default-linux-config index 3f32616..15e26b5 100644 --- a/configs/default-linux-config +++ b/configs/default-linux-config @@ -42,7 +42,7 @@ CONFIG_VIRTIO_NET=y CONFIG_SERIAL_EARLYCON_RISCV_SBI=y CONFIG_HVC_RISCV_SBI=y # CONFIG_HW_RANDOM is not set -# CONFIG_RANDOM_TRUST_BOOTLOADER is not set +CONFIG_RANDOM_TRUST_BOOTLOADER=y # CONFIG_HWMON is not set # CONFIG_USB_SUPPORT is not set CONFIG_VIRTIO_MMIO=y @@ -55,6 +55,7 @@ CONFIG_EXT2_FS_SECURITY=y CONFIG_EXT4_FS=y # CONFIG_PROC_PAGE_MONITOR is not set CONFIG_TMPFS=y +CONFIG_HUGETLBFS=y # CONFIG_MISC_FILESYSTEMS is not set # CONFIG_NETWORK_FILESYSTEMS is not set CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity"