summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Miguel Silva <rui.silva@linaro.org>2019-10-11 14:45:12 +0100
committerRui Miguel Silva <rui.silva@linaro.org>2019-10-14 14:11:34 +0100
commit3ce6cb871d0d95e3dd8112372ed6fbd143813f48 (patch)
treea864c10d3ded69752e868a675b5fb4427df8a027
parentcbaa787f9e1b38c39570bd61284c8cd73bdbbdba (diff)
corstone700: linux add config for cramfs-xipcorstone700_cramfs_xip
Add the necessary config options to support rootfs as cramfs-xip. Replace for now the kernel defconfig in layer. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
-rw-r--r--meta-corstone700/recipes-kernel/linux/linux-arm.bbappend7
-rw-r--r--meta-corstone700/recipes-kernel/linux/linux-arm/defconfig57
2 files changed, 62 insertions, 2 deletions
diff --git a/meta-corstone700/recipes-kernel/linux/linux-arm.bbappend b/meta-corstone700/recipes-kernel/linux/linux-arm.bbappend
index 237c91a..22944ad 100644
--- a/meta-corstone700/recipes-kernel/linux/linux-arm.bbappend
+++ b/meta-corstone700/recipes-kernel/linux/linux-arm.bbappend
@@ -2,8 +2,11 @@ SUMMARY = "Linux Kernel provided and supported by Arm/Linaro for Cortex-A32"
KERNEL_IMAGETYPE = "xipImage"
-KBUILD_DEFCONFIG = "corstone700_defconfig"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-SRC_URI = "git://${USER}@git.linaro.org/landing-teams/working/arm/kernel-release.git;protocol=https;branch=iota"
+SRC_URI = " \
+ git://${USER}@git.linaro.org/landing-teams/working/arm/kernel-release.git;protocol=https;branch=iota \
+ file://defconfig \
+ "
SRCREV = "CORSTONE-700-2019.09.23"
diff --git a/meta-corstone700/recipes-kernel/linux/linux-arm/defconfig b/meta-corstone700/recipes-kernel/linux/linux-arm/defconfig
new file mode 100644
index 0000000..af4ba58
--- /dev/null
+++ b/meta-corstone700/recipes-kernel/linux/linux-arm/defconfig
@@ -0,0 +1,57 @@
+CONFIG_PHYS_OFFSET=0x02100000
+# CONFIG_LOCALVERSION_AUTO is not set
+CONFIG_LOG_BUF_SHIFT=12
+# CONFIG_UTS_NS is not set
+# CONFIG_PID_NS is not set
+# CONFIG_NET_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+# CONFIG_LBDAF is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+CONFIG_ARM_SINGLE_ARMV7A=y
+CONFIG_ARCH_TINY_VEXPRESS=y
+CONFIG_HAVE_ARM_ARCH_TIMER=y
+CONFIG_THUMB2_KERNEL=y
+CONFIG_ZBOOT_ROM_TEXT=0x0
+CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_CMDLINE="console=ttyAMA0"
+CONFIG_XIP_KERNEL=y
+CONFIG_XIP_PHYS_ADDR=0x08500000
+CONFIG_VFP=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_IPV6 is not set
+# CONFIG_WIRELESS is not set
+CONFIG_DEVTMPFS=y
+CONFIG_MTD=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_RAM=y
+CONFIG_MTD_ROM=y
+CONFIG_MTD_PHYSMAP=y
+CONFIG_MTD_PHYSMAP_COMPAT=y
+CONFIG_MTD_PHYSMAP_START=0x08100000
+CONFIG_MTD_PHYSMAP_LEN=0x400000
+CONFIG_EXTSYS_CTRL=y
+CONFIG_NETDEVICES=y
+CONFIG_SMC91X=y
+CONFIG_SMSC911X=y
+# CONFIG_WLAN is not set
+# CONFIG_SERIO_SERPORT is not set
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_PL031=y
+CONFIG_MAILBOX=y
+CONFIG_ARM_MHUv2=y
+CONFIG_RPMSG_CHAR=y
+CONFIG_RPMSG_ARM=y
+CONFIG_CRAMFS=y
+CONFIG_CRAMFS_MTD=y
+# CONFIG_CRYPTO_HW is not set