From d7412481bce4103c5f607a8ceb7881e7cc0bc10f Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Tue, 23 Oct 2007 08:07:27 +0000 Subject: fbset-modes: Mechanism to install a fb.modes file for devices --- packages/fbset/fbset-modes.bb | 18 ++++++++++++++ packages/fbset/fbset-modes/.mtn2git_empty | 0 .../fbset/fbset-modes/fic-gta01/.mtn2git_empty | 0 packages/fbset/fbset-modes/fic-gta01/fb.modes | 29 ++++++++++++++++++++++ packages/fbset/fbset_2.1.bb | 1 + 5 files changed, 48 insertions(+) create mode 100644 packages/fbset/fbset-modes.bb create mode 100644 packages/fbset/fbset-modes/.mtn2git_empty create mode 100644 packages/fbset/fbset-modes/fic-gta01/.mtn2git_empty create mode 100644 packages/fbset/fbset-modes/fic-gta01/fb.modes 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 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 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" -- cgit v1.2.3