Using QEMU to simulate VEXPRESS-A9 (ii)---build u-boot debugging environment

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.