Browse Source

add yeelong specific xorg config

Waldemar Brodkorb 14 years ago
parent
commit
0ea897e395
2 changed files with 57 additions and 1 deletions
  1. 3 1
      package/xorg-server/Makefile
  2. 54 0
      package/xorg-server/files/xorg.conf.lemote-yeelong

+ 3 - 1
package/xorg-server/Makefile

@@ -103,8 +103,10 @@ xorg-server-install:
 		$(IDIR_XORG_SERVER)/usr/lib/xorg/modules/extensions
 	${CP} ${WRKINST}/usr/lib/xorg/modules/multimedia/*.so \
 		$(IDIR_XORG_SERVER)/usr/lib/xorg/modules/multimedia
-	-$(CP) $(TOPDIR)/target/$(ADK_TARGET)/xorg.conf \
+ifeq (${ADK_TARGET_SYSTEM_LEMOTE_YEELONG},y)
+	${CP} ./files/xorg.conf.lemote-yeelong \
 		$(IDIR_XORG_SERVER)/etc/X11
+endif
 ifeq (${ADK_PACKAGE_XORG_SERVER_WITH_DRI},y)
 	${CP} ${WRKINST}/usr/lib/xorg/modules/extensions/*dri*.so \
 		$(IDIR_XORG_SERVER)/usr/lib/xorg/modules/extensions

+ 54 - 0
package/xorg-server/files/xorg.conf.lemote-yeelong

@@ -0,0 +1,54 @@
+Section "ServerLayout"
+       Identifier      "Default Layout"
+       Screen          "Default Screen"
+       Option          "AIGLX"         "false"
+EndSection
+
+Section "ServerFlags"
+       Option  "NoTrapSignals"
+EndSection
+
+Section "Module"
+       Load  "vgahw"
+       Load  "fb"
+       Load  "exa"
+       Load  "xaa"
+       Load  "int10"
+       Load  "ddc"
+       Load  "i2c"
+       Load  "vbe"
+       Disable "glx"
+       Disable "dri"
+EndSection
+
+Section "Device"
+       Identifier  "card0"
+       Driver      "siliconmotion"
+       VendorName  "Silicon Motion, Inc."
+       BoardName   "SM712 LynxEM+"
+       BusID       "PCI:0:8:0"
+       Option      "AccelMethod"       "EXA"
+       Option      "pci_burst"         "true"
+       Option      "HWCursor"          "false"
+       Option      "SWCursor"          "true"
+       Option      "UseBIOS"           "false"
+       Option      "PanelSize"         "1024x600"
+EndSection
+
+Section "Monitor"
+       Identifier   "Generic Monitor"
+       Option       "DPMS"     "true"
+       HorizSync    30-70
+       VertRefresh  50-80
+EndSection
+
+Section "Screen"
+       Identifier      "Default Screen"
+       Device          "card0"
+       Monitor         "Generic Monitor"
+       DefaultDepth            16
+       SubSection "Display"
+               Modes           "1024x600"
+       EndSubSection
+EndSection
+