summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/linux/linux-wrs/connect-size.patch35
-rw-r--r--meta/packages/linux/linux-wrs/qemux86-64.cfg10
-rw-r--r--meta/packages/linux/linux-wrs_git.bb8
3 files changed, 51 insertions, 2 deletions
diff --git a/meta/packages/linux/linux-wrs/connect-size.patch b/meta/packages/linux/linux-wrs/connect-size.patch
new file mode 100644
index 0000000000..a78629c85c
--- /dev/null
+++ b/meta/packages/linux/linux-wrs/connect-size.patch
@@ -0,0 +1,35 @@
1Increase the connector message size to avoid message to long errors from
2uvesafb as per the below dmesg fragment:
3
4uvesafb: Bochs/Plex86 Developers, Bochs/Plex86 VBE Adapter, $Id$, OEM: Bochs/Plex86 VBE(C) 2003 http://savannah.nongnu.org/projects/vgabios/, VBE v2.0
5uvesafb: no monitor limits have been set, default refresh rate will be used
6uvesafb: scrolling: redraw
7uvesafb: framebuffer at 0xe0000000, mapped to 0xffffc90000080000, using 8192k, total 8192k
8fb0: VESA VGA frame buffer device
9uvesafb: message too long (57808), can't execute task
10uvesafb: VBE get state call failed (eax=0x4f04, err=-7)
11udev: starting version 158
12EXT3-fs (hda): using internal journal
13uvesafb: message too long (57808), can't execute task
14uvesafb: VBE get state call failed (eax=0x4f04, err=-7)
15uvesafb: message too long (57808), can't execute task
16uvesafb: VBE get state call failed (eax=0x4f04, err=-7)
17uvesafb: message too long (57808), can't execute task
18uvesafb: VBE get state call failed (eax=0x4f04, err=-7)
19
20JL 13/0/10
21
22Index: linux/include/linux/connector.h
23===================================================================
24--- linux.orig/include/linux/connector.h 2010-08-13 13:16:28.000000000 +0100
25+++ linux/include/linux/connector.h 2010-08-13 13:18:29.507791929 +0100
26@@ -48,7 +48,8 @@
27 /*
28 * Maximum connector's message size.
29 */
30-#define CONNECTOR_MAX_MSG_SIZE 16384
31+//#define CONNECTOR_MAX_MSG_SIZE 16384
32+#define CONNECTOR_MAX_MSG_SIZE 65536
33
34 /*
35 * idx and val are unique identifiers which
diff --git a/meta/packages/linux/linux-wrs/qemux86-64.cfg b/meta/packages/linux/linux-wrs/qemux86-64.cfg
new file mode 100644
index 0000000000..df3fbe32d0
--- /dev/null
+++ b/meta/packages/linux/linux-wrs/qemux86-64.cfg
@@ -0,0 +1,10 @@
1CONFIG_AGP=y
2CONFIG_DRM=y
3CONFIG_FB=y
4CONFIG_FB_MODE_HELPERS=y
5CONFIG_CONNECTOR=y
6CONFIG_FB_UVESA=m
7CONFIG_INPUT_TABLET=y
8CONFIG_TABLET_USB_WACOM=y
9CONFIG_INPUT_EVDEV=y
10CONFIG_E1000=y
diff --git a/meta/packages/linux/linux-wrs_git.bb b/meta/packages/linux/linux-wrs_git.bb
index 427c97b1b0..38718464de 100644
--- a/meta/packages/linux/linux-wrs_git.bb
+++ b/meta/packages/linux/linux-wrs_git.bb
@@ -13,6 +13,10 @@ PV = "2.6.34+git${SRCPV}"
13# SRC_URI = "git://///path/to/kernel/default_kernel.git;fullclone=1" 13# SRC_URI = "git://///path/to/kernel/default_kernel.git;fullclone=1"
14SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${WRMACHINE}-${LINUX_KERNEL_TYPE};name=machine \ 14SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${WRMACHINE}-${LINUX_KERNEL_TYPE};name=machine \
15 git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta" 15 git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta"
16
17SRC_URI_append_qemux86-64 = "\
18 file://connect-size.patch \
19 file://qemux86-64.cfg"
16 20
17 21
18WRMACHINE = "${MACHINE}" 22WRMACHINE = "${MACHINE}"
@@ -22,11 +26,11 @@ WRMACHINE_qemuppc = "qemu_ppc32"
22WRMACHINE_qemumips = "mti_malta32_be" 26WRMACHINE_qemumips = "mti_malta32_be"
23WRMACHINE_qemuarm = "arm_versatile_926ejs" 27WRMACHINE_qemuarm = "arm_versatile_926ejs"
24 28
25COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips)" 29COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)"
26 30
27LINUX_VERSION = "v2.6.34" 31LINUX_VERSION = "v2.6.34"
28LINUX_VERSION_EXTENSION = "-wr-${LINUX_KERNEL_TYPE}" 32LINUX_VERSION_EXTENSION = "-wr-${LINUX_KERNEL_TYPE}"
29PR = "r5" 33PR = "r6"
30 34
31S = "${WORKDIR}/linux" 35S = "${WORKDIR}/linux"
32B = "${WORKDIR}/linux-${WRMACHINE}-${LINUX_KERNEL_TYPE}-build" 36B = "${WORKDIR}/linux-${WRMACHINE}-${LINUX_KERNEL_TYPE}-build"