diff options
-rw-r--r-- | meta/packages/linux/linux-wrs/connect-size.patch | 35 | ||||
-rw-r--r-- | meta/packages/linux/linux-wrs/qemux86-64.cfg | 10 | ||||
-rw-r--r-- | meta/packages/linux/linux-wrs_git.bb | 8 |
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 @@ | |||
1 | Increase the connector message size to avoid message to long errors from | ||
2 | uvesafb as per the below dmesg fragment: | ||
3 | |||
4 | uvesafb: Bochs/Plex86 Developers, Bochs/Plex86 VBE Adapter, $Id$, OEM: Bochs/Plex86 VBE(C) 2003 http://savannah.nongnu.org/projects/vgabios/, VBE v2.0 | ||
5 | uvesafb: no monitor limits have been set, default refresh rate will be used | ||
6 | uvesafb: scrolling: redraw | ||
7 | uvesafb: framebuffer at 0xe0000000, mapped to 0xffffc90000080000, using 8192k, total 8192k | ||
8 | fb0: VESA VGA frame buffer device | ||
9 | uvesafb: message too long (57808), can't execute task | ||
10 | uvesafb: VBE get state call failed (eax=0x4f04, err=-7) | ||
11 | udev: starting version 158 | ||
12 | EXT3-fs (hda): using internal journal | ||
13 | uvesafb: message too long (57808), can't execute task | ||
14 | uvesafb: VBE get state call failed (eax=0x4f04, err=-7) | ||
15 | uvesafb: message too long (57808), can't execute task | ||
16 | uvesafb: VBE get state call failed (eax=0x4f04, err=-7) | ||
17 | uvesafb: message too long (57808), can't execute task | ||
18 | uvesafb: VBE get state call failed (eax=0x4f04, err=-7) | ||
19 | |||
20 | JL 13/0/10 | ||
21 | |||
22 | Index: 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 @@ | |||
1 | CONFIG_AGP=y | ||
2 | CONFIG_DRM=y | ||
3 | CONFIG_FB=y | ||
4 | CONFIG_FB_MODE_HELPERS=y | ||
5 | CONFIG_CONNECTOR=y | ||
6 | CONFIG_FB_UVESA=m | ||
7 | CONFIG_INPUT_TABLET=y | ||
8 | CONFIG_TABLET_USB_WACOM=y | ||
9 | CONFIG_INPUT_EVDEV=y | ||
10 | CONFIG_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" |
14 | SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${WRMACHINE}-${LINUX_KERNEL_TYPE};name=machine \ | 14 | SRC_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 | |||
17 | SRC_URI_append_qemux86-64 = "\ | ||
18 | file://connect-size.patch \ | ||
19 | file://qemux86-64.cfg" | ||
16 | 20 | ||
17 | 21 | ||
18 | WRMACHINE = "${MACHINE}" | 22 | WRMACHINE = "${MACHINE}" |
@@ -22,11 +26,11 @@ WRMACHINE_qemuppc = "qemu_ppc32" | |||
22 | WRMACHINE_qemumips = "mti_malta32_be" | 26 | WRMACHINE_qemumips = "mti_malta32_be" |
23 | WRMACHINE_qemuarm = "arm_versatile_926ejs" | 27 | WRMACHINE_qemuarm = "arm_versatile_926ejs" |
24 | 28 | ||
25 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips)" | 29 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)" |
26 | 30 | ||
27 | LINUX_VERSION = "v2.6.34" | 31 | LINUX_VERSION = "v2.6.34" |
28 | LINUX_VERSION_EXTENSION = "-wr-${LINUX_KERNEL_TYPE}" | 32 | LINUX_VERSION_EXTENSION = "-wr-${LINUX_KERNEL_TYPE}" |
29 | PR = "r5" | 33 | PR = "r6" |
30 | 34 | ||
31 | S = "${WORKDIR}/linux" | 35 | S = "${WORKDIR}/linux" |
32 | B = "${WORKDIR}/linux-${WRMACHINE}-${LINUX_KERNEL_TYPE}-build" | 36 | B = "${WORKDIR}/linux-${WRMACHINE}-${LINUX_KERNEL_TYPE}-build" |