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 53C66C433EF for ; Thu, 14 Oct 2021 03:03:06 +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 031DF60E78 for ; Thu, 14 Oct 2021 03:03:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 031DF60E78 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 63CD18360A; Thu, 14 Oct 2021 05:03:02 +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="wNioLhXH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1EE38835F5; Thu, 14 Oct 2021 05:03:00 +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 9D108835F5 for ; Thu, 14 Oct 2021 05:02:46 +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; 14 Oct 2021 12:02:42 +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 b46c854661679dd2; Thu, 14 Oct 2021 12:02:42 +0900 DKIM-Signature: a=rsa-sha256; b=wNioLhXHdq8PO6Mz6YP1ice7pUCyVmQLfpNKhOoJ+Vqilwe/l8lziSfn2QO2NwILnNroQrk4sD 5LsSepEbiEaalVJZmmu6qQjHc7NGvk4WsMFeBr+1qcVEs9C7AvgWNlejUrt3apFCeXQpXrCo312Z gzGR7VAwvUSZ5Rca1A2AtaMb7Cn8FtUiJM3khL4/UfPKU65HxWwj32sTYcenHDsJCDRtCeIWQwmI LbRsXcXtvsJNhAXql4C6UxqXVi4UvU8Ju/bqhJyZPfvTs8qzua8sBcGtrDt05NGel2CqG5eaOF/F bjkuhpZt2szICStmis1mDLlyvqdzWGZDvqInCI4A==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=TLcdtl/QMnqbPI9mQWpZRLG7wDSio2OgCdKv0HN9Osk=; 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 b9d933d761679dd2; Thu, 14 Oct 2021 12:02:42 +0900 From: "Chan Kim" To: =?utf-8?Q?'Fran=C3=A7ois_Ozog'?= Cc: "'Tom Rini'" , References: <00f901d7bf24$21c649d0$6552dd70$@etri.re.kr> <20211012191150.GC7964@bill-the-cat> <020c01d7bfef$984c5fb0$c8e51f10$@etri.re.kr> In-Reply-To: Subject: RE: how to run u-boot on qemu arm64 virt machine? Date: Thu, 14 Oct 2021 12:02:40 +0900 Message-ID: <030001d7c0a7$f39b4670$dad1d350$@etri.re.kr> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKUYqYumVFFSs/h6VXMsnoVN95A/AESslGCAdgtRTACWoi+daouXoZA Content-Language: ko Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 =20 Hi Francois, Thanks for the good information. I=E2=80=99ll look into that later. Can I ask you a basic question? When there are SCP, MCP and the main processor, in what processor does = u-boot program run? I understand it runs on the main processor. Is it possible to run it on SCP? I mean loading from SD card the kernel, = file system, dtb etc to the memory and calling kernel. Thank you! Chan Kim =20 From: Fran=C3=A7ois Ozog =20 Sent: Wednesday, October 13, 2021 6:29 PM To: Chan Kim Cc: Tom Rini ; u-boot@lists.denx.de Subject: Re: how to run u-boot on qemu arm64 virt machine? =20 Hi =20 You can find work in progress here too: http://releases.linaro.org/components/ledge/rp-0.2/ledge-multi-armv8/ =20 For aarch64 there are virt and sbsa-ref machines. Virt is essentially to = boot a VM while sbsa-ref is a reference platform that mimics all = required hardware, firmware for the secure world (TF-A, OP-TEE) and = firmware for normal world (U-Boot, EDK2). This technology (sbsa-ref) is = really to simulate a system for pre-silicon development while virt shall = be used in cloud native environments. =20 We are working on something that we may end up calling bsa-ref (note the = absence of initial S standing for =E2=80=9Cserver=E2=80=9D). Sbsa-ref is = about edk2 and acpi, bsa-ref is about U-Boot and device tree. The = directory points to this work in progress. You can have a look at = SystemReady in Arm to understand and get details on bsa. =20 In a future release of Qemu, one will be able to simulate a full = platform with its main processor (as of today) but also SCP (system = control processor) and MCP (management control processor). =20 Cheers =20 FF =20 Le mer. 13 oct. 2021 =C3=A0 07:03, Chan Kim > a =C3=A9crit : >=20 > That's a very old QEMU version. We use v6.1.0 currently and v4.2.0 = before > that. >=20 > -- > Tom Thank you, Tom Yes, so I tried it now with v4.2.0 with "-nographic" option. (Without it = I still see qemu manager window.) Chan Kim --=20 =20 Fran=C3=A7ois-Fr=C3=A9d=C3=A9ric Ozog | Director Business Development T: +33.67221.6485 francois.ozog@linaro.org | Skype: = ffozog =20