From 83bd1f81c406ed346fd6d500634a718aee90a2e9 Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Tue, 16 Aug 2016 14:49:18 +0300 Subject: [PATCH] archs38: Update kernel configuration Now when we're switching to FS on SD-card it's necessary to have full stack of MMC block & FC drivers built-in otherwise kernel won't be able to mount FS with needed modules. Also we enable parsing of input parameters passed to the kernel by U-Boot. Otherwise kernel won't know where to look for command line and what's worse device tree blob (we had to disable this by default for cases when kernel is loaded by JTAG and core registers may have undefined state lading to kernel going bonkers). Signed-off-by: Alexey Brodkin --- target/linux/archs38/config-4.4 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/target/linux/archs38/config-4.4 b/target/linux/archs38/config-4.4 index 9ea33c6015..a09c7c4b61 100644 --- a/target/linux/archs38/config-4.4 +++ b/target/linux/archs38/config-4.4 @@ -42,19 +42,25 @@ CONFIG_ARC_PLAT_SIM=y # CONFIG_ARC_PLAT_TB10X is not set # CONFIG_ARC_SMP_HALT_ON_RESET is not set CONFIG_ARC_STAR_9000923308=y -# CONFIG_ARC_UBOOT_SUPPORT is not set +CONFIG_ARC_UBOOT_SUPPORT=y CONFIG_AXS103=y CONFIG_CLKDEV_LOOKUP=y CONFIG_CLONE_BACKWARDS=y CONFIG_COMMON_CLK=y # CONFIG_CPU_BIG_ENDIAN is not set CONFIG_CPU_RMAP=y +CONFIG_CRC16=y +CONFIG_CRYPTO_CRC32C=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_DTC=y CONFIG_DWMAC_GENERIC=y # CONFIG_DWMAC_SUNXI is not set CONFIG_DW_APB_ICTL=y +CONFIG_EXT4_FS=y +CONFIG_FS_MBCACHE=y CONFIG_GENERIC_ATOMIC64=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CSUM=y @@ -96,6 +102,7 @@ CONFIG_IRQ_DOMAIN=y CONFIG_IRQ_WORK=y # CONFIG_ISA_ARCOMPACT is not set CONFIG_ISA_ARCV2=y +CONFIG_JBD2=y CONFIG_KALLSYMS=y CONFIG_LIBFDT=y CONFIG_LINUX_LINK_BASE=0x80000000 @@ -105,6 +112,7 @@ CONFIG_LZO_DECOMPRESS=y CONFIG_MDIO_BOARDINFO=y CONFIG_MFD_SYSCON=y CONFIG_MMC=y +CONFIG_MMC_BLOCK=y CONFIG_MMC_DW=y # CONFIG_MMC_DW_EXYNOS is not set # CONFIG_MMC_DW_K3 is not set @@ -175,7 +183,6 @@ CONFIG_SRCU=y CONFIG_STACKTRACE=y CONFIG_STMMAC_ETH=y CONFIG_STMMAC_PLATFORM=y -# CONFIG_SUNXI_SRAM is not set CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_UNINLINE_SPIN_UNLOCK=y CONFIG_USB_SUPPORT=y