x86: qemu: Add graphics support
It turns out that QEMU x86 emulated graphic card has a built-in
option ROM which can be run perfectly with native mode by U-Boot.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
diff --git a/doc/README.x86 b/doc/README.x86
index 4a30f68..0726205 100644
--- a/doc/README.x86
+++ b/doc/README.x86
@@ -218,7 +218,8 @@
Test with QEMU
--------------
QEMU is a fancy emulator that can enable us to test U-Boot without access to
-a real x86 board. To launch QEMU with u-boot.rom, call QEMU as follows:
+a real x86 board. Please make sure your QEMU version is 2.3.0 or above test
+U-Boot. To launch QEMU with u-boot.rom, call QEMU as follows:
$ qemu-system-i386 -nographic -bios path/to/u-boot.rom
@@ -239,6 +240,10 @@
for PCI device memory-mapped I/O and other stuff, so the maximum value of '-m'
would be 3072.
+QEMU emulates a graphic card which U-Boot supports. Removing '-nographic' will
+show QEMU's VGA console window. Note this will disable QEMU's serial output.
+If you want to check both consoles, use '-serial stdio'.
+
CPU Microcode
-------------
Modern CPUs usually require a special bit stream called microcode [6] to be