Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EAF2C433F5 for ; Tue, 12 Oct 2021 11:49:36 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1FC4A60F21 for ; Tue, 12 Oct 2021 11:49:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1FC4A60F21 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=etri.re.kr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DC01283728; Tue, 12 Oct 2021 13:49:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=etri.re.kr Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dooray.com header.i=@dooray.com header.b="Jh4gD/c/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 325AE82EA6; Tue, 12 Oct 2021 06:46:49 +0200 (CEST) Received: from mscreen.etri.re.kr (mscreen.etri.re.kr [129.254.9.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 64F2682EA6 for ; Tue, 12 Oct 2021 06:46:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=etri.re.kr Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ckim@etri.re.kr Received: from unknown (HELO send002-relay.gov-dooray.com) (211.180.235.153) by 129.254.9.16 with ESMTP; 12 Oct 2021 13:46:35 +0900 X-Original-SENDERIP: 211.180.235.153 X-Original-MAILFROM: ckim@etri.re.kr X-Original-RCPTTO: u-boot@lists.denx.de Received: from [10.162.225.112] (HELO smtp002-imp.gov-dooray.com) ([10.162.225.112]) by send002-relay.gov-dooray.com with SMTP id 91e8c40f6165132b; Tue, 12 Oct 2021 13:46:35 +0900 DKIM-Signature: a=rsa-sha256; b=Jh4gD/c/HxptX8/q/1xHvV8VDlM8iBeEbPcH3ww/cXIcJuGQYJ4pVTxpTpvnXbd4td7tHFjNow OChiUthBPAvyW1emSxSFx2OxsAulOrOIKnlSztao9xdwb/KmMzv1uu2oR9nHRkKOd6ynWD10WbRD 6KPlL/a7wLxg0yoDFU5GY1pOyoOWSIkZEOejP6fFBL6ScyPf630zJ0+Q10An9ICLD0CDSUfPPz64 oM+Ng2evHBOp5R/0QZBHBSiem9Wpq25KGszPH1SCn0VXY5VSexKcWN+t/+T0zDcoDyq/S8iATX8D zzj6R5nC0p8hLBdh5Uw1iHFXBE7N6eU/Nd9y92lQ==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=ucRcuBjWWh1Xt9thJiBpK6J47PM7YPFZ6IMa9MNh9rU=; h=From:To:Subject:Message-ID; Received: from [129.254.132.39] (HELO CHANKIMPC) ([129.254.132.39]) by smtp002-imp.gov-dooray.com with SMTP id 9f7bbe0d6165132b; Tue, 12 Oct 2021 13:46:35 +0900 From: To: Subject: how to run u-boot on qemu arm64 virt machine? Date: Tue, 12 Oct 2021 13:46:33 +0900 Message-ID: <00f901d7bf24$21c649d0$6552dd70$@etri.re.kr> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: Ade/FTZpOEzEktPsRq+DStnMxB92Lw== Content-Language: ko X-Mailman-Approved-At: Tue, 12 Oct 2021 13:49:30 +0200 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 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