From 079d09454c69743a48ab2a31b433256751d5aa34 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Mon, 1 Aug 2022 18:11:28 +0300 Subject: MTCDT SD image: Configure Linux to boot from the SD-card - marked `CONFIG_MMC_ATMELMCI` (the SD-card kernel module) as a built-in module - required to boot from rootfs on the SD card; - maked `CONFIG_REGMAP_I2C` as a built-in module - automatically by menuconfig, may be unnecessary; - maked `CONFIG_EXT4_FS` as a built-in module - to mount EXT4 rootfs; - maked `CONFIG_JBD2` and `CONFIG_FS_MBCACHE` as built-ins - automatically by menuconfig, may be unnecessary; - removed automatically by menuconfig: `CONFIG_GCC_PLUGIN_STRUCTLEAK_USER`, `CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF`, `CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL`. --- recipes-kernel/linux/linux-at91-5.4.81/defconfig | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/recipes-kernel/linux/linux-at91-5.4.81/defconfig b/recipes-kernel/linux/linux-at91-5.4.81/defconfig index 3b6613b..480e94b 100644 --- a/recipes-kernel/linux/linux-at91-5.4.81/defconfig +++ b/recipes-kernel/linux/linux-at91-5.4.81/defconfig @@ -1298,7 +1298,7 @@ CONFIG_DEV_COREDUMP=y CONFIG_GENERIC_CPU_AUTOPROBE=y CONFIG_SOC_BUS=y CONFIG_REGMAP=y -CONFIG_REGMAP_I2C=m +CONFIG_REGMAP_I2C=y CONFIG_REGMAP_MMIO=y CONFIG_DMA_SHARED_BUFFER=y # CONFIG_DMA_FENCE_TRACE is not set @@ -3211,7 +3211,7 @@ CONFIG_MMC_BLOCK_MINORS=8 # # CONFIG_MMC_DEBUG is not set # CONFIG_MMC_SDHCI is not set -CONFIG_MMC_ATMELMCI=m +CONFIG_MMC_ATMELMCI=y CONFIG_MMC_SPI=y # CONFIG_MMC_DW is not set # CONFIG_MMC_VUB300 is not set @@ -4148,14 +4148,14 @@ CONFIG_NVMEM_SYSFS=y CONFIG_FS_IOMAP=y # CONFIG_EXT2_FS is not set # CONFIG_EXT3_FS is not set -CONFIG_EXT4_FS=m +CONFIG_EXT4_FS=y CONFIG_EXT4_USE_FOR_EXT2=y CONFIG_EXT4_FS_POSIX_ACL=y # CONFIG_EXT4_FS_SECURITY is not set # CONFIG_EXT4_DEBUG is not set -CONFIG_JBD2=m +CONFIG_JBD2=y # CONFIG_JBD2_DEBUG is not set -CONFIG_FS_MBCACHE=m +CONFIG_FS_MBCACHE=y # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_XFS_FS is not set @@ -4422,9 +4422,6 @@ CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity,tomoyo" # Memory initialization # CONFIG_INIT_STACK_NONE=y -# CONFIG_GCC_PLUGIN_STRUCTLEAK_USER is not set -# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set -# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set # CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set # end of Memory initialization -- cgit v1.2.3