mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 14:02:22 +02:00
linux-yocto/qemuppc: fix console and ethernet
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>
This commit is contained in:
committed by
Richard Purdie
parent
c47def3b04
commit
21b3f5ddb1
@@ -394,7 +394,7 @@ if [ "$MACHINE" = "qemuppc" ]; then
|
||||
QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS"
|
||||
QEMU_NETWORK_CMD="-net nic,model=pcnet $QEMU_TAP_CMD"
|
||||
if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
|
||||
KERNCMDLINE="root=/dev/hda rw console=ttyS0 $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
|
||||
KERNCMDLINE="root=/dev/hda rw console=ttyS0 console=tty $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
|
||||
QEMUOPTIONS="$QEMU_NETWORK_CMD -cpu $CPU_SUBTYPE -M $MACHINE_SUBTYPE -hda $ROOTFS -no-reboot $QEMU_UI_OPTIONS"
|
||||
fi
|
||||
if [ "$FSTYPE" = "nfs" ]; then
|
||||
|
||||
Reference in New Issue
Block a user