how to run u-boot on qemu arm64 virt machine?

Tom Rini trini at konsulko.com
Tue Oct 12 21:11:50 CEST 2021


On Tue, Oct 12, 2021 at 01:46:33PM +0900, ckim at etri.re.kr wrote:

> Hello, u-boot mail list members,
> 
> I'm trying to run u-boot on qemu arm64 virt machine to analyze how the S/W
> runs.
> 
> I followed "doc/board/emulation/qemu-arm.rst", and here is what I did.
> 
>  
> 
> For qemu build (using qemu-2.9.0), I did under ~/QEMU/qemu directory,
> 
> mkdir build; cd build; ../configure --target-list=aarch64-softmmu
> --enable-debug --enable-gtk --disable-werror; make -j24
> 
> to build u-boot, I did under ~/U-BOOT/u-boot,
> 
> make ARCH=arm CROSS_COMPILE=aarch64-none-elf- qemu_arm64_defconfig
> 
> To run u-boot on qemu, I did under ~/U-BOOT/u-boot
> 
> ~/QEMU/qemu/build/aarch64-softmmu/qemu-system-aarch64 -M virt -cpu
> cortex-a57 -bios u-boot.bin
> 
>  
> 
> But I see only qemu manager window and I don't know how to proceed.
> 
> Am I not supposed to see u-boot program running?
> 
> What am I doing wrong? Any help will be really appreciated.
> 
> Thank you.

That's a very old QEMU version.  We use v6.1.0 currently and v4.2.0
before that.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211012/d5e166b3/attachment.sig>


More information about the U-Boot mailing list