summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-04-09 18:33:05 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-10 13:00:03 +0100
commit2a1b729afa0c4994186c317ec3fc86afbbf54b1f (patch)
tree99b7572ffd678f9ce2bb3d01105d2b9bc68ba9f9 /scripts
parentecd90bc6aa63da2aef2513ac090d4b426b2b719c (diff)
downloadpoky-2a1b729afa0c4994186c317ec3fc86afbbf54b1f.tar.gz
qemu script: explicitly set 32 bit depth for x86-64
This patch is the same as 6c22c591374d258228f74814cded34a24b4bf2d3, but for x86-64 targets which exhibit the same problem. Qemu update from 1.2 to 1.4 now allows for 16bit depth in guests, whereby previously only 32bit depth was supported. However, the new support is broken, so we force 32bit depth in all cases. (From OE-Core rev: 6719400533453d0df482ef6e7bb347491e8a3e2b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu-internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index e8191d1375..c7e4c5c7e2 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -349,7 +349,7 @@ if [ "$MACHINE" = "qemux86-64" ]; then
349 QEMU=qemu-system-x86_64 349 QEMU=qemu-system-x86_64
350 QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS -vga vmware" 350 QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS -vga vmware"
351 if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then 351 if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
352 KERNCMDLINE="vga=0 root=$DROOT rw mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD" 352 KERNCMDLINE="vga=0 uvesafb.mode_option=640x480-32 root=$DROOT rw mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD"
353 QEMUOPTIONS="$QEMU_NETWORK_CMD $ROOTFS_OPTIONS $QEMU_UI_OPTIONS" 353 QEMUOPTIONS="$QEMU_NETWORK_CMD $ROOTFS_OPTIONS $QEMU_UI_OPTIONS"
354 fi 354 fi
355 if [ "$FSTYPE" = "nfs" ]; then 355 if [ "$FSTYPE" = "nfs" ]; then