[linux-yocto] [PATCH 4/4] intel-common: Add intel-common BSPs

Darren Hart dvhart at linux.intel.com
Thu Feb 6 17:18:24 PST 2014


Create the intel-core2-32 and intel-corei7-64 BSP descriptions. These
BSPs include all the core support for the other Intel BSPs in the
repository by including the corresponding BSP scc file.

This is an initial step to get the machines available and testing.
Further refactoring is expected to take place to reduce duplication and
ultimately obviate the need for many of the other BSP descriptions, at
least the -standard versions which should be adequately covered by these
generic versions.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
---
 .../bsp/intel-common/intel-common-standard.scc     |   61 ++++++++++++++++++++
 .../kernel-cache/bsp/intel-common/intel-common.scc |   11 ++++
 .../bsp/intel-common/intel-core2-32-standard.scc   |   11 ++++
 .../bsp/intel-common/intel-core2-32.cfg            |    2 +
 .../bsp/intel-common/intel-core2-32.scc            |   18 ++++++
 .../bsp/intel-common/intel-corei7-64-standard.scc  |   11 ++++
 .../bsp/intel-common/intel-corei7-64.cfg           |    2 +
 .../bsp/intel-common/intel-corei7-64.scc           |   20 +++++++
 8 files changed, 136 insertions(+)
 create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-common-standard.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-common.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32-standard.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32.cfg
 create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64-standard.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64.cfg
 create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64.scc

diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-common-standard.scc b/meta/cfg/kernel-cache/bsp/intel-common/intel-common-standard.scc
new file mode 100644
index 0000000..19d6521
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-common-standard.scc
@@ -0,0 +1,61 @@
+# intel-common-standard.scc
+#
+# Common drivers and technologies to enable for the "standard" ktype for
+# intel-common derived BSPs.
+#
+
+include ktypes/standard/standard.scc
+include intel-common.scc
+
+# Borrow the driver selection from common-pc until
+# it is better abstracted on its own.
+kconf hardware bsp/common-pc/common-pc-drivers.cfg
+kconf hardware bsp/common-pc/common-pc-eth.cfg
+kconf hardware bsp/common-pc/common-pc-gfx.cfg
+kconf hardware bsp/common-pc/common-pc-wifi.cfg
+
+# USB
+include features/usb/ehci-hcd.scc
+include features/usb/uhci-hcd.scc
+include features/usb/ohci-hcd.scc
+include features/usb/xhci-hcd.scc
+include features/usb/usb-gadgets.scc
+include features/usb/touchscreen-composite.scc
+
+include cfg/timer/hpet.scc
+include cfg/timer/rtc.scc
+include features/eg20t/eg20t.scc
+
+# Graphics
+include cfg/vesafb.scc
+include features/i915/i915.scc
+include features/drm-gma500/drm-gma500.scc
+
+# Networking
+include features/intel-e1xxxx/intel-e100.scc
+include features/intel-e1xxxx/intel-e1xxxx.scc
+include features/igb/igb.scc
+include features/ixgbe/ixgbe.scc
+include features/iwlwifi/iwlwifi.scc
+include features/iwlegacy/iwlegacy.scc
+
+# Intel technology
+include features/amt/mei/mei.scc
+include features/power/intel.scc
+
+# Subsystems and interfaces
+include features/hugetlb/hugetlb.scc
+include features/i2c/i2cdev.scc
+include features/leds/leds.scc
+include features/spi/spidev.scc
+
+# Miscellaneous
+include cfg/dmaengine.scc
+include features/uio/uio.scc
+include cfg/efi-ext.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-common.scc b/meta/cfg/kernel-cache/bsp/intel-common/intel-common.scc
new file mode 100644
index 0000000..76cfea2
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-common.scc
@@ -0,0 +1,11 @@
+# intel-common.scc
+#
+# Core Intel platform support that should be included in all kernels,
+# standard, rt, tiny, or otherwise. Generally should not included drivers,
+# especially large generic driver blocks.
+#
+
+include cfg/efi.scc
+# Earlyprintk and port debug requires 8250
+include cfg/8250.scc
+
diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32-standard.scc b/meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32-standard.scc
new file mode 100644
index 0000000..9f5b5f0
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32-standard.scc
@@ -0,0 +1,11 @@
+# intel-core2-32-standard.scc
+#
+# Standard ktype for 32 bit Core 2 and later CPUs.
+#
+
+define KMACHINE intel-core2-32
+define KARCH i386
+define KTYPE standard
+
+include intel-common-standard.scc
+include intel-core2-32.scc
diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32.cfg b/meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32.cfg
new file mode 100644
index 0000000..3c23249
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32.cfg
@@ -0,0 +1,2 @@
+CONFIG_MCORE2=y
+CONFIG_PROCESSOR_SELECT=y
diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32.scc b/meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32.scc
new file mode 100644
index 0000000..5938932
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-core2-32.scc
@@ -0,0 +1,18 @@
+# intel-core2-32.scc
+#
+# Core platform enablement for all intel-core2-32 ktypes. This should only
+# contain CPU features and devices known to be present on the supported
+# platforms, SoCs, and boards.
+#
+
+include cfg/x86.scc
+
+# Supported platforms
+include bsp/crownbay/crownbay.scc
+include bsp/emenlow/emenlow.scc
+include bsp/fri2/fri2.scc
+include bsp/sys940x/sys940x.scc
+
+# This line comes last as it has the final word on
+# CONFIG values.
+kconf hardware intel-core2-32.cfg
diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64-standard.scc b/meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64-standard.scc
new file mode 100644
index 0000000..f614ff3
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64-standard.scc
@@ -0,0 +1,11 @@
+# intel-corei7-64-standard.scc
+#
+# Standard ktype for 64 bit Nehalem, Bay Trail, and later CPUs.
+#
+
+define KMACHINE intel-corei7-64
+define KARCH x86_64
+define KTYPE standard
+
+include intel-common-standard.scc
+include intel-corei7-64.scc
diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64.cfg b/meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64.cfg
new file mode 100644
index 0000000..e7616f3
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64.cfg
@@ -0,0 +1,2 @@
+# There isn't an option for CPUs newer than MCORE2 in the Kconfig
+CONFIG_MCORE2=y
diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64.scc b/meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64.scc
new file mode 100644
index 0000000..c176d17
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-corei7-64.scc
@@ -0,0 +1,20 @@
+# intel-corei7-64.scc
+#
+# Core platform enablement for all intel-corei7-64 ktypes. This should only
+# contain CPU features and devices known to be present on the supported
+# platforms, SoCs, and boards.
+#
+
+include cfg/x86_64.scc
+
+# Supported platforms
+include bsp/chiefriver/chiefriver.scc
+include bsp/crystalforest/crystalforest.scc
+include bsp/haswell-wc/haswell-wc.scc
+include bsp/jasperforest/jasperforest.scc
+include bsp/romley/romley.scc
+include bsp/sugarbay/sugarbay.scc
+
+# This line comes last as it has the final word on
+# CONFIG values.
+kconf hardware intel-corei7-64.cfg
-- 
1.7.9.5



More information about the linux-yocto mailing list