参考: http://blog.csdn.net/caspiansea/article/details/12986565

 

Win7 64 + Vmware 11 + ubuntu14.04 32

u-boot 版本:u-boot-2015-04

Linux kernel版本:linux-3.16.y

busybox版本:1_24_stable

交叉编译工具链:arm-linux-gnueabi-

qemu版本:stable-2.4

 

下载、编译u-boot代码

u-boot从下面的网址获得:

http://ftp.denx.de/pub/u-boot/

取得是最新的代码。我使用的是u-boot-2015.05, 解压后,配置,编译:

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- vexpress_ca9x4_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-

 

使用qemu测试

qemu-system-arm -M vexpress-a9 \
     -kernel u-boot \
     -nographic \
     -m 512M

 

打印出u-boot的启动信息:

U-Boot 2015.07-rc3-00092-gf3edfd3-dirty (Dec 05 2015 - 22:00:46 -0800)

DRAM:  512 MiB
WARNING: Caches not enabled
Flash: 128 MiB
MMC:   MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   smc911x-0
Warning: smc911x-0 using MAC address from net device

Hit any key to stop autoboot:  0 

 

未完待续,下面介绍如何利用Qemu实现利用u-boot引导linux内核启动。

相关文章:

  • 2022-12-23
  • 2021-11-26
  • 2021-09-18
  • 2021-12-24
  • 2021-11-16
  • 2022-02-28
  • 2021-09-01
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
  • 2021-07-31
  • 2021-08-31
相关资源
相似解决方案