All pastes #746511 Raw Edit

Unbenannt

public text v1 · immutable
·published 2007-10-23 08:00 UTC
rendered paste body
#
# old_revision [9bf73e3ce3d178a8f906b34eb68394c5435e36e3]
#
# add_dir "packages/fbset/fbset-modes"
# 
# add_dir "packages/fbset/fbset-modes/fic-gta01"
# 
# add_file "packages/fbset/fbset-modes/fic-gta01/fb.modes"
#  content [69c95216456c7e600b70f0abf276b88b6dabc0fc]
# 
# add_file "packages/fbset/fbset-modes.bb"
#  content [3dca297f288c4175e1895a15e01ce3cfa110a7eb]
# 
# patch "packages/fbset/fbset_2.1.bb"
#  from [40a6c728d0367db58266310f67a8cd583691333e]
#    to [e076fdda9b2d137ffe3b0f7e1919558a79759bda]
#
============================================================
--- packages/fbset/fbset-modes/fic-gta01/fb.modes	69c95216456c7e600b70f0abf276b88b6dabc0fc
+++ packages/fbset/fbset-modes/fic-gta01/fb.modes	69c95216456c7e600b70f0abf276b88b6dabc0fc
@@ -0,0 +1,29 @@
+# Timings for GTA01 VGA and QVGA mode
+
+mode "480x640"
+    # D: 26.000 MHz, H: 43.334 kHz, V: 65.657 Hz
+    geometry 480 640 480 640 16
+    timings 38461 104 8 2 16 8 2
+    accel false
+endmode
+
+mode "vga"
+    # D: 26.000 MHz, H: 43.334 kHz, V: 65.657 Hz
+    geometry 480 640 480 640 16
+    timings 38461 104 8 2 16 8 2
+    accel false
+endmode
+
+mode "240x320"
+    # D: 8.475 MHz, H: 24.635 kHz, V: 75.569 Hz
+    geometry 240 320 240 320 16
+    timings 118000 88 8 2 2 8 2
+    accel false
+endmode
+
+mode "qvga"
+    # D: 8.475 MHz, H: 24.635 kHz, V: 75.569 Hz
+    geometry 240 320 240 320 16
+    timings 118000 88 8 2 2 8 2
+    accel false
+endmode
============================================================
--- packages/fbset/fbset-modes.bb	3dca297f288c4175e1895a15e01ce3cfa110a7eb
+++ packages/fbset/fbset-modes.bb	3dca297f288c4175e1895a15e01ce3cfa110a7eb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Default display timings and resolutions for fbset"
+PV = "0.1.0"
+PR = "r0"
+
+ALLOW_EMPTY = 1
+
+SRC_URI_append_fic-gta01 = " \
+    file://fb.modes"
+
+do_install() {
+    install -d ${D}${sysconfdir}
+    install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir}
+}
+
+FILES_${PN} = "${sysconfdir}/fb.modes"
+PACKAGE_ARCH_${PN} = "all"
+PACKAGE_ARCH_fbset-modes = "${MACHINE}"
+
============================================================
--- packages/fbset/fbset_2.1.bb	40a6c728d0367db58266310f67a8cd583691333e
+++ packages/fbset/fbset_2.1.bb	e076fdda9b2d137ffe3b0f7e1919558a79759bda
@@ -7,6 +7,7 @@ LICENSE = "GPL"
 
 DESCRIPTION = "The fbset console tool"
 LICENSE = "GPL"
+RRECOMMENDS = "fbset-modes"
 
 PR = "r2"