diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-08-13 16:10:55 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-08-13 17:25:39 +0100 |
commit | aeb73bdf2035faaa3a9fa889200a831b9217a40f (patch) | |
tree | d38e187d8bbe3363619a7060456bbb8b11329bdd /meta/packages/linux/linux-wrs/connect-size.patch | |
parent | 1c4cc60e282ef153cbcbbe56bb739912a0e0ea0c (diff) | |
download | openembedded-core-aeb73bdf2035faaa3a9fa889200a831b9217a40f.tar.gz openembedded-core-aeb73bdf2035faaa3a9fa889200a831b9217a40f.tar.bz2 openembedded-core-aeb73bdf2035faaa3a9fa889200a831b9217a40f.tar.xz openembedded-core-aeb73bdf2035faaa3a9fa889200a831b9217a40f.zip |
linux-wrs: Fix qemux86-64
Use the fragment support provided by kern-tools in the linux-wrs recipe to add
some extra modules required for qemux86-64 such as evdev and uvesafb.
Add a patch to increase CONNECTOR_MAX_MESSAGE_SIZE as uvesafb was sending
larger messages than the kernel would accept.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/linux/linux-wrs/connect-size.patch')
-rw-r--r-- | meta/packages/linux/linux-wrs/connect-size.patch | 35 |
1 files changed, 35 insertions, 0 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 000000000..a78629c85 --- /dev/null +++ b/meta/packages/linux/linux-wrs/connect-size.patch @@ -0,0 +1,35 @@ +Increase the connector message size to avoid message to long errors from +uvesafb as per the below dmesg fragment: + +uvesafb: Bochs/Plex86 Developers, Bochs/Plex86 VBE Adapter, $Id$, OEM: Bochs/Plex86 VBE(C) 2003 http://savannah.nongnu.org/projects/vgabios/, VBE v2.0 +uvesafb: no monitor limits have been set, default refresh rate will be used +uvesafb: scrolling: redraw +uvesafb: framebuffer at 0xe0000000, mapped to 0xffffc90000080000, using 8192k, total 8192k +fb0: VESA VGA frame buffer device +uvesafb: message too long (57808), can't execute task +uvesafb: VBE get state call failed (eax=0x4f04, err=-7) +udev: starting version 158 +EXT3-fs (hda): using internal journal +uvesafb: message too long (57808), can't execute task +uvesafb: VBE get state call failed (eax=0x4f04, err=-7) +uvesafb: message too long (57808), can't execute task +uvesafb: VBE get state call failed (eax=0x4f04, err=-7) +uvesafb: message too long (57808), can't execute task +uvesafb: VBE get state call failed (eax=0x4f04, err=-7) + +JL 13/0/10 + +Index: linux/include/linux/connector.h +=================================================================== +--- linux.orig/include/linux/connector.h 2010-08-13 13:16:28.000000000 +0100 ++++ linux/include/linux/connector.h 2010-08-13 13:18:29.507791929 +0100 +@@ -48,7 +48,8 @@ + /* + * Maximum connector's message size. + */ +-#define CONNECTOR_MAX_MSG_SIZE 16384 ++//#define CONNECTOR_MAX_MSG_SIZE 16384 ++#define CONNECTOR_MAX_MSG_SIZE 65536 + + /* + * idx and val are unique identifiers which |