summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2010-09-29 01:47:22 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-09 15:55:06 +0100
commit1bc382586a02bb8646bf36ffeb7d7b474f542fdc (patch)
treebd677e29ab4239d93a970916abff093c714ba405 /meta/recipes-kernel
parentca664ee35de674442da0b5ea800680b4b2227c02 (diff)
downloadpoky-1bc382586a02bb8646bf36ffeb7d7b474f542fdc.tar.gz
linux-wrs: Add support for atom-pc
Add the option of using linux-wrs as the kernel provider for atom-pc. This patch uses poky to apply config fragments to the common_pc-standard branch of the linux-wrs kernel. A follow-on patch will remove these once linux-wrs has an atom-pc branch and the config fragments are present in the kernel repository. This configuration boots to a prompt on the BlackSand, but panics unable to find the root partition on the Toshiba NB305 where the "rootwait" kernel boot option appears to be being ignored. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/linux/linux-wrs/i915.cfg18
-rw-r--r--meta/recipes-kernel/linux/linux-wrs_git.bb8
2 files changed, 24 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux/linux-wrs/i915.cfg b/meta/recipes-kernel/linux/linux-wrs/i915.cfg
new file mode 100644
index 0000000000..b20d9ab8fe
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-wrs/i915.cfg
@@ -0,0 +1,18 @@
1CONFIG_I2C=y
2CONFIG_I2C_BOARDINFO=y
3CONFIG_I2C_COMPAT=y
4CONFIG_I2C_HELPER_AUTO=y
5CONFIG_I2C_ALGOBIT=y
6
7CONFIG_AGP=y
8CONFIG_AGP_INTEL=y
9CONFIG_DRM=y
10CONFIG_DRM_KMS_HELPER=y
11CONFIG_DRM_I915=y
12CONFIG_DRM_I915_KMS=y
13
14CONFIG_FB=y
15CONFIG_FB_CFB_FILLRECT=y
16CONFIG_FB_CFB_COPYAREA=y
17CONFIG_FB_CFB_IMAGEBLIT=y
18
diff --git a/meta/recipes-kernel/linux/linux-wrs_git.bb b/meta/recipes-kernel/linux/linux-wrs_git.bb
index 9d0f613c9e..cd3e064504 100644
--- a/meta/recipes-kernel/linux/linux-wrs_git.bb
+++ b/meta/recipes-kernel/linux/linux-wrs_git.bb
@@ -12,6 +12,9 @@ PV = "2.6.34+git${SRCPV}"
12# SRC_URI = "git://///path/to/kernel/default_kernel.git;fullclone=1" 12# SRC_URI = "git://///path/to/kernel/default_kernel.git;fullclone=1"
13SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${WRMACHINE}-${LINUX_KERNEL_TYPE};name=machine \ 13SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${WRMACHINE}-${LINUX_KERNEL_TYPE};name=machine \
14 git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta" 14 git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta"
15
16SRC_URI_append_atom-pc = "\
17 file://i915.cfg"
15 18
16WRMACHINE = "${MACHINE}" 19WRMACHINE = "${MACHINE}"
17WRMACHINE_qemux86 = "common_pc" 20WRMACHINE_qemux86 = "common_pc"
@@ -19,12 +22,13 @@ WRMACHINE_qemux86-64 = "common_pc_64"
19WRMACHINE_qemuppc = "qemu_ppc32" 22WRMACHINE_qemuppc = "qemu_ppc32"
20WRMACHINE_qemumips = "mti_malta32_be" 23WRMACHINE_qemumips = "mti_malta32_be"
21WRMACHINE_qemuarm = "arm_versatile_926ejs" 24WRMACHINE_qemuarm = "arm_versatile_926ejs"
25WRMACHINE_atom-pc = "common_pc"
22 26
23COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)" 27COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|atom-pc)"
24 28
25LINUX_VERSION = "v2.6.34" 29LINUX_VERSION = "v2.6.34"
26LINUX_VERSION_EXTENSION = "-wr-${LINUX_KERNEL_TYPE}" 30LINUX_VERSION_EXTENSION = "-wr-${LINUX_KERNEL_TYPE}"
27PR = "r6" 31PR = "r7"
28 32
29S = "${WORKDIR}/linux" 33S = "${WORKDIR}/linux"
30B = "${WORKDIR}/linux-${WRMACHINE}-${LINUX_KERNEL_TYPE}-build" 34B = "${WORKDIR}/linux-${WRMACHINE}-${LINUX_KERNEL_TYPE}-build"