|
@@ -218,7 +218,8 @@ works correctly for link though.
|
|
Test with QEMU
|
|
Test with QEMU
|
|
--------------
|
|
--------------
|
|
QEMU is a fancy emulator that can enable us to test U-Boot without access to
|
|
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
|
|
$ qemu-system-i386 -nographic -bios path/to/u-boot.rom
|
|
|
|
|
|
@@ -239,6 +240,10 @@ supports 3 GiB maximum system memory and reserves the last 1 GiB address space
|
|
for PCI device memory-mapped I/O and other stuff, so the maximum value of '-m'
|
|
for PCI device memory-mapped I/O and other stuff, so the maximum value of '-m'
|
|
would be 3072.
|
|
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
|
|
CPU Microcode
|
|
-------------
|
|
-------------
|
|
Modern CPUs usually require a special bit stream called microcode [6] to be
|
|
Modern CPUs usually require a special bit stream called microcode [6] to be
|