mirror of
https://git.yoctoproject.org/poky
synced 2026-02-23 18:09:40 +01:00
Two issues are fixed with this commit, the ability to use the keyboard on a graphical qemu boot and enabling ethernet by default on a 3.0 kernel. The keyboard is fixed via the same method as the other simulations with the addition of console=tty on the qemu command line. Ethernet is fixed by adding a dependency of PCNET32 to the qemuppc configuration, which allows us to build ethernet directly into the image. (From OE-Core rev: 29c71eeb98aa8ce0fb0e0a30483499525bf6305d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
38 lines
1.2 KiB
BlitzBasic
38 lines
1.2 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.14"
|
|
LINUX_KERNEL_TYPE = "preempt-rt"
|
|
|
|
SRCREV_machine ?= "f1cc220f4ddf434bf254707c83a45794a63f117f"
|
|
SRCREV_machine_qemuppc ?= "8bd5b80cb3243dadc9d6c5c09482c49994dff1a8"
|
|
SRCREV_meta ?= "665fea1c249b4f335cb1c9a46a9f2c138d611f1a"
|
|
|
|
PR = "r1"
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
|
|
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"
|
|
|
|
require recipes-kernel/linux/linux-tools.inc
|