diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2012-01-27 15:41:20 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-01 15:07:43 +0000 |
commit | e670fdc7aef9a287a34700c72956d8a9e0410250 (patch) | |
tree | 6e884ee7cceec1ceefd27254dbf05a26f992c9e7 /meta | |
parent | 278e53ca6b96820e7189b90ceaa772e465b56c08 (diff) | |
download | poky-e670fdc7aef9a287a34700c72956d8a9e0410250.tar.gz |
linux-yocto: add kernel 3.2.2 support
Adding initial support for the linux 3.2 kernel.
Although the branching and naming has changed slightly, the same BSPs and
features exist in this tree as have existed in previous linux-yocto versions.
Notable features of this update are:
- streamlined branch naming
- configuration and functionality split in the standard kernel
- creation of the 'tiny' kernel type branch
- audited kernel configurations with optional features documented
in the meta branch
- feature and BSP refreshes
- 3.2-rt support refresh
- qemu ppc graphics support
Build and boot testing has been performed on all emulated targets
(sato and core).
(From OE-Core rev: 72264df07d7e57ba8232aae90b76ab220fdb2d22)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_3.2.bb | 37 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.2.bb | 41 |
2 files changed, 78 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.2.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.2.bb new file mode 100644 index 0000000000..9b0c1bf98e --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.2.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | inherit kernel | ||
2 | require recipes-kernel/linux/linux-yocto.inc | ||
3 | |||
4 | KMACHINE = "common-pc" | ||
5 | KMACHINE_qemux86 = "common-pc" | ||
6 | KMACHINE_qemux86-64 = "common-pc-64" | ||
7 | KMACHINE_qemuarm = "arm-versatile-926ejs" | ||
8 | KMACHINE_qemuppc = "qemu-ppc32" | ||
9 | KMACHINE_qemumips = "mti-malta32-be" | ||
10 | |||
11 | KBRANCH = "standard/preempt-rt/base" | ||
12 | KBRANCH_qemuppc = "standard/preempt-rt/qemu-ppc32" | ||
13 | |||
14 | LINUX_VERSION ?= "3.2.2" | ||
15 | LINUX_KERNEL_TYPE = "preempt-rt" | ||
16 | |||
17 | SRCREV_machine ?= "415af017cf163c63d7b1e6e929e4a9c9baf5ba6d" | ||
18 | SRCREV_machine_qemuppc ?= "38345c1e41b15c49308a9adbdde95167eeaa05fa" | ||
19 | SRCREV_meta ?= "138bf5b502607fe40315c0d76822318d77d97e01" | ||
20 | |||
21 | PR = "r0" | ||
22 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
23 | |||
24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" | ||
25 | |||
26 | # Omit broken machines from COMPATIBLE_MACHINE | ||
27 | # qemuppc hangs at boot | ||
28 | # qemumips panics at boot | ||
29 | COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)" | ||
30 | |||
31 | # Functionality flags | ||
32 | KERNEL_FEATURES=features/netfilter | ||
33 | KERNEL_FEATURES_append=" features/taskstats" | ||
34 | KERNEL_FEATURES_append_qemux86=" cfg/sound" | ||
35 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound" | ||
36 | |||
37 | require recipes-kernel/linux/linux-tools.inc | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.2.bb b/meta/recipes-kernel/linux/linux-yocto_3.2.bb new file mode 100644 index 0000000000..a80924d320 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto_3.2.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | inherit kernel | ||
2 | require recipes-kernel/linux/linux-yocto.inc | ||
3 | |||
4 | KMACHINE = "common-pc" | ||
5 | KMACHINE_qemux86 = "common-pc" | ||
6 | KMACHINE_qemux86-64 = "common-pc-64" | ||
7 | KMACHINE_qemuppc = "qemu-ppc32" | ||
8 | KMACHINE_qemumips = "mti-malta32-be" | ||
9 | KMACHINE_qemuarm = "arm-versatile-926ejs" | ||
10 | |||
11 | KBRANCH = "standard/default/base" | ||
12 | KBRANCH_qemux86 = "standard/default/common-pc/base" | ||
13 | KBRANCH_qemux86-64 = "standard/default/common-pc-64/base" | ||
14 | KBRANCH_qemuppc = "standard/default/qemu-ppc32" | ||
15 | KBRANCH_qemumips = "standard/default/mti-malta32-be" | ||
16 | KBRANCH_qemuarm = "standard/default/arm-versatile-926ejs" | ||
17 | |||
18 | LINUX_VERSION ?= "3.2.2" | ||
19 | |||
20 | SRCREV_machine_qemuarm ?= "8d79190c307c7d41580beb77f83526ae3defcacc" | ||
21 | SRCREV_machine_qemumips ?= "c88f8c4f3be717be33a8ad89a14731eb94932336" | ||
22 | SRCREV_machine_qemuppc ?= "b8228f337002ad88f1e152d0c0c46c6035cd0428" | ||
23 | SRCREV_machine_qemux86 ?= "417fc778a86e81303bab5883b919ee422ec51c04" | ||
24 | SRCREV_machine_qemux86-64 ?= "417fc778a86e81303bab5883b919ee422ec51c04" | ||
25 | SRCREV_machine ?= "417fc778a86e81303bab5883b919ee422ec51c04" | ||
26 | SRCREV_meta ?= "138bf5b502607fe40315c0d76822318d77d97e01" | ||
27 | |||
28 | PR = "r0" | ||
29 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
30 | |||
31 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" | ||
32 | |||
33 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)" | ||
34 | |||
35 | # Functionality flags | ||
36 | KERNEL_FEATURES="features/netfilter" | ||
37 | KERNEL_FEATURES_append=" features/taskstats" | ||
38 | KERNEL_FEATURES_append_qemux86=" cfg/sound" | ||
39 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound" | ||
40 | |||
41 | require linux-tools.inc | ||