[LEDE-DEV] [PATCH 2/4] arc770: Update kernel configuration

Alexey Brodkin Alexey.Brodkin at synopsys.com
Wed Aug 24 07:48:10 PDT 2016


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 <abrodkin at synopsys.com>
---
 target/linux/arc770/config-4.4 | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/target/linux/arc770/config-4.4 b/target/linux/arc770/config-4.4
index 87fd7e3..f484de3 100644
--- a/target/linux/arc770/config-4.4
+++ b/target/linux/arc770/config-4.4
@@ -38,18 +38,24 @@ CONFIG_ARC_PAGE_SIZE_8K=y
 CONFIG_ARC_PLAT_AXS10X=y
 CONFIG_ARC_PLAT_SIM=y
 # CONFIG_ARC_PLAT_TB10X is not set
-# CONFIG_ARC_UBOOT_SUPPORT is not set
+CONFIG_ARC_UBOOT_SUPPORT=y
 CONFIG_AXS101=y
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_CLONE_BACKWARDS=y
 CONFIG_COMMON_CLK=y
 # CONFIG_CPU_BIG_ENDIAN is not set
+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
@@ -89,6 +95,7 @@ CONFIG_IRQ_DOMAIN=y
 CONFIG_IRQ_WORK=y
 CONFIG_ISA_ARCOMPACT=y
 # CONFIG_ISA_ARCV2 is not set
+CONFIG_JBD2=y
 CONFIG_KALLSYMS=y
 CONFIG_LIBFDT=y
 CONFIG_LINUX_LINK_BASE=0x80000000
@@ -97,6 +104,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
-- 
2.7.4




More information about the Lede-dev mailing list