[meta-intel] [PATCH 02/27] Add Intel core2 and corei7 BSPs and tune files

Darren Hart dvhart at linux.intel.com
Mon Jan 27 16:45:41 PST 2014


Introduce two new generic BSPs that parallel the updated core2 and new
corei7 tune files in oe-core. These BSPs provided optimized tune flags
for Intel Core and Atom CPUs since 2006 in the 32 bit core2 BSP and since
Nehalem and Silvermont (Bay Trail) in the 64 bit corei7 BSP.

These establish a suitable balance between compatibility and performance
optimization.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
Cc: Richard Purdie <richard.purdie at intel.com>
Cc: Paul Eggleton <paul.eggleton at intel.com>
Cc: Tom Zanussi <tom.zanussi at intel.com>
Cc: Nitin Kamble <nitin.a.kamble at intel.com>
Cc: Mark Hatle <mark.hatle at windriver.com>
Cc: Bruce Ashfield <bruce.ashfield at windriver.com>
---
 conf/machine/include/intel-common-pkgarch.inc   |    4 ++++
 conf/machine/include/intel-core2-32-common.inc  |    8 ++++++++
 conf/machine/include/intel-corei7-64-common.inc |    8 ++++++++
 conf/machine/intel-core2-32.conf                |    8 ++++++++
 conf/machine/intel-corei7-64.conf               |    9 +++++++++
 5 files changed, 37 insertions(+)
 create mode 100644 conf/machine/include/intel-common-pkgarch.inc
 create mode 100644 conf/machine/include/intel-core2-32-common.inc
 create mode 100644 conf/machine/include/intel-corei7-64-common.inc
 create mode 100644 conf/machine/intel-core2-32.conf
 create mode 100644 conf/machine/intel-corei7-64.conf

diff --git a/conf/machine/include/intel-common-pkgarch.inc b/conf/machine/include/intel-common-pkgarch.inc
new file mode 100644
index 0000000..23e4297
--- /dev/null
+++ b/conf/machine/include/intel-common-pkgarch.inc
@@ -0,0 +1,4 @@
+INTEL_COMMON_PACKAGE_ARCH ?= "${TUNE_PKGARCH}-intel-common"
+PACKAGE_ARCH_pn-linux-yocto = "${INTEL_COMMON_PACKAGE_ARCH}"
+PACKAGE_ARCH_pn-linux-yocto-dev = "${INTEL_COMMON_PACKAGE_ARCH}"
+PACKAGE_EXTRA_ARCH_append = "${INTEL_COMMON_PACKAGE_ARCH}"
diff --git a/conf/machine/include/intel-core2-32-common.inc b/conf/machine/include/intel-core2-32-common.inc
new file mode 100644
index 0000000..16c12f6
--- /dev/null
+++ b/conf/machine/include/intel-core2-32-common.inc
@@ -0,0 +1,8 @@
+#
+# Common configuration for all MACHINEs of the intel-core2 type
+#
+
+DEFAULTTUNE ?= "core2-32"
+require intel-common-pkgarch.inc
+require conf/machine/include/tune-core2.inc
+require conf/machine/include/x86-base.inc
diff --git a/conf/machine/include/intel-corei7-64-common.inc b/conf/machine/include/intel-corei7-64-common.inc
new file mode 100644
index 0000000..935cd22
--- /dev/null
+++ b/conf/machine/include/intel-corei7-64-common.inc
@@ -0,0 +1,8 @@
+#
+# Common configuration for all MACHINES of the intel-corei7-64 type
+#
+
+DEFAULTTUNE ?= "corei7-64"
+require intel-common-pkgarch.inc
+require conf/machine/include/tune-corei7.inc
+require conf/machine/include/x86-base.inc
diff --git a/conf/machine/intel-core2-32.conf b/conf/machine/intel-core2-32.conf
new file mode 100644
index 0000000..a702c809
--- /dev/null
+++ b/conf/machine/intel-core2-32.conf
@@ -0,0 +1,8 @@
+#@TYPE: Machine
+#@NAME: intel-core2-32
+
+#@DESCRIPTION: Machine configuration for 32 bit Intel Core 2 CPU (and later) with MMX, SSE, SSE2, SSE3, and SSSE3 instruction set support. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
+
+include conf/machine/include/intel-core2-32-common.inc
diff --git a/conf/machine/intel-corei7-64.conf b/conf/machine/intel-corei7-64.conf
new file mode 100644
index 0000000..abf3872
--- /dev/null
+++ b/conf/machine/intel-corei7-64.conf
@@ -0,0 +1,9 @@
+#@TYPE: Machine
+#@NAME: intel-corei7-64
+
+#@DESCRIPTION: Machine configuration for 64 bit Intel Core i7 CPU (and later) with MMX, SSE, SSE2, SSE3, and SSSE3 instruction set support. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
+
+# Should these be require?
+include conf/machine/include/intel-corei7-64-common.inc
-- 
1.7.9.5



More information about the meta-intel mailing list