From 2ff587659537dbdc31829739bcbb72731fab5ef9 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Wed, 8 Jul 2015 10:26:08 -0700 Subject: intel-quark: Introduce new BSP for Quark/X1000 SOC This new BSP is for the Quark/X1000 and related series that need the limited no-lock-prefix. Signed-off-by: Saul Wold --- conf/machine/include/intel-quark-common.inc | 7 +++++++ conf/machine/intel-quark.conf | 28 ++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 conf/machine/include/intel-quark-common.inc create mode 100644 conf/machine/intel-quark.conf diff --git a/conf/machine/include/intel-quark-common.inc b/conf/machine/include/intel-quark-common.inc new file mode 100644 index 00000000..e2d34d70 --- /dev/null +++ b/conf/machine/include/intel-quark-common.inc @@ -0,0 +1,7 @@ +# +# Common configuration for all MACHINES of the intel-corei7-64 type +# + +DEFAULTTUNE ?= "i586-nlp-32" +require conf/machine/include/tune-i586-nlp.inc +require conf/machine/include/x86-base.inc diff --git a/conf/machine/intel-quark.conf b/conf/machine/intel-quark.conf new file mode 100644 index 00000000..b59e5664 --- /dev/null +++ b/conf/machine/intel-quark.conf @@ -0,0 +1,28 @@ +#@TYPE: Machine +#@NAME: quark + +#@DESCRIPTION: Machine configuration for Quark systems + +require conf/machine/include/meta-intel.inc +require conf/machine/include/intel-quark-common.inc +require conf/machine/include/intel-common-pkgarch.inc + +# Use dev kernel which is 4.1 based currently +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-dev" +PREFERRED_PROVIDER_linux-yocto ?= "linux-yocto-dev" + +#Avoid pulling in GRUB +MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "" + +MACHINE_FEATURES = "efi usb" +MACHINE_FEATURES += "intel-ucode" + +MACHINE_EXTRA_RRECOMMENDS += "kernel-modules linux-firmware" + +SERIAL_CONSOLE = "115200 ttyS1" +APPEND += "console=ttyS1,115200 console=tty0" + +EFI_PROVIDER = "gummiboot" + + + -- cgit v1.2.3-54-g00ecf From 6b3837170bfda7ce9df409c10e05f66f4b987a89 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Wed, 8 Jul 2015 10:36:16 -0700 Subject: linux-yocto-dev: Enable the intel-quark BSP The linux-yocto-dev kernel is 4.1 based and has the support needed to enable the intel-quark bsp without additional patching Signed-off-by: Saul Wold --- common/recipes-kernel/linux/linux-yocto-dev.bbappend | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/recipes-kernel/linux/linux-yocto-dev.bbappend b/common/recipes-kernel/linux/linux-yocto-dev.bbappend index 554bd624..75cd2809 100644 --- a/common/recipes-kernel/linux/linux-yocto-dev.bbappend +++ b/common/recipes-kernel/linux/linux-yocto-dev.bbappend @@ -14,6 +14,14 @@ KMACHINE_corei7-64-intel-common = "intel-corei7-64" KBRANCH_corei7-64-intel-common = "standard/base" KERNEL_FEATURES_append_corei7-64-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}" +# Quark / X1000 BSP Info +LINUX_VERSION_i586-nlp-32-intel-common = "4.1" +COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}" +KMACHINE_i586-nlp-32-intel-common = "intel-quark" +KBRANCH_i586-nlp-32-intel-common = "standard/base" +KERNEL_FEATURES_append_i586-nlp-32-intel-common = "" +#KCONFIG_MODE_i586-nlp-32-intel-common = "--allnoconfig" + # NOTE: We do not set SRCREVs here as -dev is intended to be built with AUTOREV # and setting them here breaks the default mechanism to use AUTOREV if the # default SRCREV is set and linux-yocto-dev is the preferred provider. -- cgit v1.2.3-54-g00ecf