public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* how to run u-boot on qemu arm64 virt machine?
@ 2021-10-12  4:46 ckim
  2021-10-12 19:11 ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: ckim @ 2021-10-12  4:46 UTC (permalink / raw)
  To: u-boot

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.

 

Chan Kim

 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-14 12:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-12  4:46 how to run u-boot on qemu arm64 virt machine? ckim
2021-10-12 19:11 ` Tom Rini
2021-10-13  5:03   ` Chan Kim
2021-10-13  9:29     ` François Ozog
2021-10-14  3:02       ` Chan Kim
2021-10-14  3:06       ` Chan Kim
2021-10-14 12:40         ` François Ozog

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox