]> code.ossystems Code Review - meta-freescale.git/commitdiff
xserver-xf86-config: add xorg.conf for mxs
authorEric Bénard <eric@eukrea.com>
Thu, 13 Sep 2012 15:52:15 +0000 (17:52 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 13 Sep 2012 16:34:51 +0000 (13:34 -0300)
so that X gets a chance to run on the default framebuffer device.
Tested on mx28evk with fsl-image-gui.

Signed-off-by: Eric Bénard <eric@eukrea.com>
meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs/xorg.conf [new file with mode: 0644]
meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend

diff --git a/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs/xorg.conf b/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs/xorg.conf
new file mode 100644 (file)
index 0000000..79b6c0f
--- /dev/null
@@ -0,0 +1,12 @@
+Section "Device"
+    Identifier  "Kernel Framebuffer Device"
+    Driver      "fbdev"
+    Option      "fbdev" "/dev/fb0"
+EndSection
+
+Section "ServerFlags"
+    Option "BlankTime"  "0"
+    Option "StandbyTime"  "0"
+    Option "SuspendTime"  "0"
+    Option "OffTime"  "0"
+EndSection
index 032aad57dafd374363ca390c10514f1e05ff1e86..f9ea3a4d1fd1e081347cb9afb9846906abc400c8 100644 (file)
@@ -1,4 +1,4 @@
 # Append path for freescale layer to include bsp xorg.conf 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PRINC := "${@int(PRINC) + 6}"
+PRINC := "${@int(PRINC) + 7}"