Reference: http://blog.csdn.net/caspiansea/article/details/12986565
Environment Introduction
Win7 + Vmware + ubuntu12.04 32
U-boot version: u-boot-2015-04
Linux kernel version: LINUX-3.16.Y
BusyBox version: 1_24_stable
Cross-compilation Toolchain: arm-linux-gnueabi-
QEMU version: stable-2.4
download, compile u-boot code
U-boot from the following URL:
http://ftp.denx.de/pub/u-boot/
Get the code that is up to date. I am using u-boot-2015.05, unzip, configure, compile:
Make Arch=arm cross_compile=arm-linux-gnueabi- vexpress_ca9x4_config make Arch=arm cross_compile= arm-linux-gnueabi-
Testing with QEMU
Qemu-system-arm-m vexpress-A9 -kernel u- boot-nographic -M 512M
Print out the boot information for u-boot:
U-boot2015.07-rc3-00092-gf3edfd3-dirty (Dec to -- A:xx: $-0800) DRAM: +mibwarning:caches not Enabledflash: -MIBMMC:MMC:0Warning-Bad CRC, using default environmentIn:serialOut:serialErr:serialNet:smc911x-0warning:smc911x-0using MAC address from net Devicehit any key to stop autoboot:0
To be continued, the following describes how to use QEMU to boot the Linux kernel with U-boot.
Using QEMU to simulate VEXPRESS-A9 (ii)---build u-boot debugging environment