From: Tom Rini <trini@konsulko.com>
To: ckim@etri.re.kr
Cc: u-boot@lists.denx.de
Subject: Re: how to run u-boot on qemu arm64 virt machine?
Date: Tue, 12 Oct 2021 15:11:50 -0400 [thread overview]
Message-ID: <20211012191150.GC7964@bill-the-cat> (raw)
In-Reply-To: <00f901d7bf24$21c649d0$6552dd70$@etri.re.kr>
[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]
On Tue, Oct 12, 2021 at 01:46:33PM +0900, ckim@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2021-10-12 19:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-12 4:46 how to run u-boot on qemu arm64 virt machine? ckim
2021-10-12 19:11 ` Tom Rini [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211012191150.GC7964@bill-the-cat \
--to=trini@konsulko.com \
--cc=ckim@etri.re.kr \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox