我有一个相当老(2009年出版)嵌入式ARM Linux书籍,使用u-boot
和qemu
。 的qemu
与u-boot
二进制的用法在书中解释如下:Qemu闪光灯启动不起作用
qemu-system-arm -M connex -pflash u-boot.bin -nographic
它使用QEMU 0.9.1,而我的2.1.0:
qemu-system-arm --version
QEMU emulator version 2.1.0, Copyright (c) 2003-2008 Fabrice Bellard
当我执行相同命令,但是,我收到了这些错误消息。
qemu-system-arm: failed to read the initial flash content
qemu-system-arm: Initialization of device cfi.pflash01 failed
什么可能是错误的?这是来自新的命令参数吗?我有this site使用不同的命令,但当我试图看到一个空白屏幕。
qemu-system-arm -M versatilepb -m 128M -nographic -kernel u-boot.bin
我使用Mac OS X特立独行的qemu。
我补充说,http://winfred-lu.blogspot.com/2011/12/arm-u-boot-on-qemu.html给出了关于如何使用调试器的另一种解释。 – prosseek 2014-10-06 03:56:06
我还总结了在Mac OS X上构建和测试ARM交叉编译的过程 - http://stackoverflow.com/questions/26197735/how-to-make-arm-cross-compilation-on-mac-os-x- error-invalid-listing-option-r – prosseek 2014-10-06 04:22:07
我试了相同的代码,但失败了。我的qemu是2.3,编译器是从apt-get安装的“arm-linux-gnueabi-”。错误信息是“qemu-system-arm:设备cfi.pflash01初始化失败:读取初始Flash内容失败” – Ezio 2015-06-10 06:42:11