Files
poky/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb
Bruce Ashfield c7850ddfeb linux-yocto-rt: qemumips: fix boot panic
Fixes [YOCTO #1392]

Updating the SRCREVs to pickup:

[
    mips/rt: convert cascade interrupt non threaded

    The preempt_rt kernel forces all irq interrupts to be threaded,
    but special interrupts can be excluded from this conversion.
    The cascade interrupt should be part of these exceptions.

    In this case, irq2 is initialized before "kthreadd" task, which
    converts irq interrupt to threaded.

    If this irq is threaded, the kernel calls "try_to_wake_up" function
    to wake up "kthreadd" task, but at that moment, "kthreadd" task
    has no been initialize and try_to_wake_up wakes up a NULL task.

    (From OE-Core rev: 7ceb78a42f7d9b6aa4b984d04ac13f8dc23a9095)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-29 13:48:03 +01:00

44 lines
1.4 KiB
BlitzBasic

inherit kernel
require recipes-kernel/linux/linux-yocto.inc
KMACHINE = "common-pc"
KMACHINE_qemux86 = "common-pc"
KMACHINE_qemux86-64 = "common-pc-64"
KMACHINE_qemuarm = "arm-versatile-926ejs"
KMACHINE_qemuppc = "qemu-ppc32"
KMACHINE_qemumips = "mti-malta32-be"
KBRANCH = "yocto/standard/preempt-rt/base"
KBRANCH_qemuppc = "yocto/standard/preempt-rt/qemu-ppc32"
LINUX_VERSION ?= "3.0.3"
LINUX_KERNEL_TYPE = "preempt-rt"
SRCREV_machine ?= "c86423d29c94525d18ef1c9b6c025f733c1e8252"
SRCREV_machine_qemuppc ?= "ccb47c9e8d85dc00ccd28bc6819d7769e2c11cb3"
SRCREV_meta ?= "5b535279e61197cb194bb2dfceb8b7a04128387c"
PR = "r0"
PV = "${LINUX_VERSION}+git${SRCPV}"
SRCREV_FORMAT = "meta_machine"
SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.0.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
# Omit broken machines from COMPATIBLE_MACHINE
# qemuppc hangs at boot
# qemumips panics at boot
COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
# Functionality flags
KERNEL_FEATURES=features/netfilter
KERNEL_FEATURES_append=" features/taskstats"
KERNEL_FEATURES_append_qemux86=" cfg/sound"
KERNEL_FEATURES_append_qemux86-64=" cfg/sound"
# extra tasks
addtask kernel_link_vmlinux after do_compile before do_install
addtask validate_branches before do_patch after do_kernel_checkout
addtask kernel_configcheck after do_configure before do_compile
require recipes-kernel/linux/linux-tools.inc