summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/fbset/fbset-modes.bb18
-rw-r--r--packages/fbset/fbset-modes/.mtn2git_empty0
-rw-r--r--packages/fbset/fbset-modes/fic-gta01/.mtn2git_empty0
-rw-r--r--packages/fbset/fbset-modes/fic-gta01/fb.modes29
-rw-r--r--packages/fbset/fbset_2.1.bb1
5 files changed, 48 insertions, 0 deletions
diff --git a/packages/fbset/fbset-modes.bb b/packages/fbset/fbset-modes.bb
new file mode 100644
index 0000000000..1daa0e8f57
--- /dev/null
+++ b/packages/fbset/fbset-modes.bb
@@ -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}"
+
diff --git a/packages/fbset/fbset-modes/.mtn2git_empty b/packages/fbset/fbset-modes/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fbset/fbset-modes/.mtn2git_empty
diff --git a/packages/fbset/fbset-modes/fic-gta01/.mtn2git_empty b/packages/fbset/fbset-modes/fic-gta01/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fbset/fbset-modes/fic-gta01/.mtn2git_empty
diff --git a/packages/fbset/fbset-modes/fic-gta01/fb.modes b/packages/fbset/fbset-modes/fic-gta01/fb.modes
new file mode 100644
index 0000000000..446d23dd8e
--- /dev/null
+++ b/packages/fbset/fbset-modes/fic-gta01/fb.modes
@@ -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
diff --git a/packages/fbset/fbset_2.1.bb b/packages/fbset/fbset_2.1.bb
index ab505110e4..9037350bad 100644
--- a/packages/fbset/fbset_2.1.bb
+++ b/packages/fbset/fbset_2.1.bb
@@ -7,6 +7,7 @@
DESCRIPTION = "The fbset console tool"
LICENSE = "GPL"
+RRECOMMENDS = "fbset-modes"
PR = "r2"