Skip to contentSkip to conversation

meta-crownbay: add a machine configuration that doesn't use EMGD graphics

PATCH New Tom Zanussi 1 participant 1 message Dec 17, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-crownbay: add a machine configuration that doesn't use EMGD graphics

This adds a second machine to the meta-crownbay BSP that uses generic vesa graphics instead of the Intel-proprietary straight 'crownbay' version that does.

The name of the new machine is 'crownbay-noemgd'.

Though the graphics quality isn't as nice, the binaries for this version can be distributed without any need for license click-throughs or the manual step currently required for the EMGD version.

---
 meta-crownbay/conf/layer.conf                      |    6 ++-
 meta-crownbay/conf/machine/crownbay-noemgd.conf    |   45 ++++++++++++++++++++
 .../formfactor/crownbay-noemgd/machconfig          |    3 +
 .../xserver-xf86-config/crownbay-noemgd/xorg.conf  |   26 +++++++++++
 .../recipes-kernel/linux/linux-wrs_git.bbappend    |    4 ++
 5 files changed, 83 insertions(+), 1 deletions(-)
 create mode 100644 meta-crownbay/conf/machine/crownbay-noemgd.conf
 create mode 100644 meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay-noemgd/machconfig
 create mode 100644 meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay-noemgd/xorg.conf
meta-crownbay/conf/layer.conf +5 -1
index 52581e1..cee4ba2 100644
@@ -5,6 +5,10 @@ BBPATH := "${BBPATH}:${LAYERDIR}"
 BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
 	${LAYERDIR}/recipes-*/*/*.bbappend"
 
-BBFILE_COLLECTIONS += "crownbay"
+BBFILE_COLLECTIONS_crownbay += "crownbay"
 BBFILE_PATTERN_crownbay := "^${LAYERDIR}/"
 BBFILE_PRIORITY_crownbay = "6"
+
+BBFILE_COLLECTIONS_crownbay-noemgd += "crownbay-noemgd"
+BBFILE_PATTERN_crownbay-noemgd := "^${LAYERDIR}/"
+BBFILE_PRIORITY_crownbay-noemgd = "6"
meta-crownbay/conf/machine/crownbay-noemgd.conf new file +45 -0

45 lines not on this page · raw message

meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay-noemgd/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-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay-noemgd/xorg.conf new file +26 -0
new file mode 100644
index 0000000..da4fc3c
@@ -0,0 +1,26 @@
+Section "Device"
+    Identifier	"Generic VESA"
+    Driver	"vesa"
+EndSection
+
+Section "Monitor"
+    Identifier    "Generic Monitor"
+    Option        "DPMS"
+EndSection
+
+Section "Screen"
+    Identifier    "Default Screen"
+    Device	  "Generic VESA"
+    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-crownbay/recipes-kernel/linux/linux-wrs_git.bbappend +4 -0
index 9709c36..aebe789 100644
@@ -1,3 +1,7 @@
 FILESEXTRAPATHS := "${THISDIR}/${PN}"
+
 COMPATIBLE_MACHINE_crownbay = "crownbay"
 WRMACHINE_crownbay  = "crownbay"
+
+COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd"
+WRMACHINE_crownbay-noemgd  = "crownbay"
Signature · 1 line
1.7.0.4