Skip to contentSkip to conversation

meta-sugarbay: new layer for Sandy Bridge/Cougar Point systems

PATCH Applied Tom Zanussi 1 participant 1 message Feb 1, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 meta-sugarbay: new layer for Sandy Bridge/Cougar Point systems

From: Tom Zanussi <[email protected]>

This layer provides support for Sandy Bridge + Cougar Point Intel systems.

The 'Sugar Bay' platform consists of the Intel Sandy Bridge processor, plus the Cougar Point PCH (Q67 Express or B65 Express chipsets).

This BSP assumes that the Sandy Bridge integrated graphics are being used, and makes use of the grub2 and associated live-install changes in meta-intel/common.

---
 meta-sugarbay/COPYING.MIT                          |   17 ++++
 meta-sugarbay/README                               |   84 ++++++++++++++++++++
 meta-sugarbay/conf/layer.conf                      |   12 +++
 meta-sugarbay/conf/machine/sugarbay.conf           |   57 +++++++++++++
 .../formfactor/formfactor/sugarbay/machconfig      |    3 +
 .../recipes-bsp/formfactor/formfactor_0.0.bbappend |    3 +
 .../xserver-xf86-config/sugarbay/xorg.conf         |   26 ++++++
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |    3 +
 .../xserver-xf86-dri-lite_1.9.3.bbappend           |    1 +
 .../recipes-kernel/linux/linux-yocto_git.bbappend  |    5 +
 10 files changed, 211 insertions(+), 0 deletions(-)
 create mode 100644 meta-sugarbay/COPYING.MIT
 create mode 100644 meta-sugarbay/README
 create mode 100644 meta-sugarbay/binary/.gitignore
 create mode 100644 meta-sugarbay/conf/layer.conf
 create mode 100644 meta-sugarbay/conf/machine/sugarbay.conf
 create mode 100644 meta-sugarbay/recipes-bsp/formfactor/formfactor/sugarbay/machconfig
 create mode 100644 meta-sugarbay/recipes-bsp/formfactor/formfactor_0.0.bbappend
 create mode 100644 meta-sugarbay/recipes-graphics/xorg-xserver/xserver-xf86-config/sugarbay/xorg.conf
 create mode 100644 meta-sugarbay/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 create mode 100644 meta-sugarbay/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.3.bbappend
 create mode 100644 meta-sugarbay/recipes-kernel/linux/linux-yocto_git.bbappend
meta-sugarbay/COPYING.MIT new file +17 -0
new file mode 100644
index 0000000..fb950dc
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy 
+of this software and associated documentation files (the "Software"), to deal 
+in the Software without restriction, including without limitation the rights 
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
+copies of the Software, and to permit persons to whom the Software is 
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in 
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
+THE SOFTWARE.
meta-sugarbay/README new file +84 -0

84 lines not on this page · raw message

meta-sugarbay/binary/.gitignore new file +0 -0
new file mode 100644
index 0000000..e69de29
meta-sugarbay/conf/layer.conf new file +12 -0
new file mode 100644
index 0000000..e23d123
@@ -0,0 +1,12 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH := "${BBPATH}:${LAYERDIR}"
+
+# We have a recipes directory, add to BBFILES
+BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
+	${LAYERDIR}/recipes-*/*/*.bbappend \
+	${LAYERDIR}/../common/recipes-*/*/*.bb \
+	${LAYERDIR}/../common/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS_sugarbay += "sugarbay"
+BBFILE_PATTERN_sugarbay := "^${LAYERDIR}/"
+BBFILE_PRIORITY_sugarbay = "6"
meta-sugarbay/conf/machine/sugarbay.conf new file +57 -0

57 lines not on this page · raw message

meta-sugarbay/recipes-bsp/formfactor/formfactor/sugarbay/machconfig new file +3 -0
new file mode 100644
index 0000000..ffce012
@@ -0,0 +1,3 @@
+# Assume a USB mouse and keyboard are connected
+HAVE_TOUCHSCREEN=0
+HAVE_KEYBOARD=1
meta-sugarbay/recipes-bsp/formfactor/formfactor_0.0.bbappend new file +3 -0
new file mode 100644
index 0000000..4a41d48
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS := "${THISDIR}/${PN}"
+ 
+PRINC = "1"
meta-sugarbay/recipes-graphics/xorg-xserver/xserver-xf86-config/sugarbay/xorg.conf new file +26 -0
new file mode 100644
index 0000000..96b94b4
@@ -0,0 +1,26 @@
+Section "Device"
+    Identifier	"Intel Graphics Driver"
+    Driver	"intel"
+EndSection
+
+Section "Monitor"
+    Identifier    "Generic Monitor"
+    Option        "DPMS"
+EndSection
+
+Section "Screen"
+    Identifier    "Default Screen"
+    Device	  "Intel Graphics Driver"
+    Monitor       "Generic Monitor"
+    DefaultDepth  24
+EndSection
+
+Section "ServerLayout"
+    Identifier     "Default Layout"
+    Screen         "Default Screen"
+EndSection
+
+Section "ServerFlags"
+    Option        "DontZap"  "0"
+    Option        "AutoAddDevices"  "False"
+EndSection
meta-sugarbay/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend new file +3 -0
new file mode 100644
index 0000000..4b8d0e6
@@ -0,0 +1,3 @@
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+
meta-sugarbay/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.3.bbappend new file +1 -0
new file mode 100644
index 0000000..b2808ef
@@ -0,0 +1 @@
+EXTRA_OECONF += "--enable-dga"
meta-sugarbay/recipes-kernel/linux/linux-yocto_git.bbappend new file +5 -0
new file mode 100644
index 0000000..07fd27b
@@ -0,0 +1,5 @@
+FILESEXTRAPATHS := "${THISDIR}/${PN}"
+
+COMPATIBLE_MACHINE_sugarbay = "sugarbay"
+KMACHINE_sugarbay  = "yocto/standard/sugarbay"
+
Signature · 1 line
1.7.0.4