From mboxrd@z Thu Jan 1 00:00:00 1970 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 32817C433F5 for ; Thu, 14 Oct 2021 03:07:01 +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 732F2610D0 for ; Thu, 14 Oct 2021 03:07:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 732F2610D0 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 ED20083629; Thu, 14 Oct 2021 05:06:57 +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="eraQK4Fi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 67A208361C; Thu, 14 Oct 2021 05:06:55 +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 77BE08361C for ; Thu, 14 Oct 2021 05:06:50 +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 send001-relay.gov-dooray.com) (211.180.235.152) by 129.254.9.16 with ESMTP; 14 Oct 2021 12:06:47 +0900 X-Original-SENDERIP: 211.180.235.152 X-Original-MAILFROM: ckim@etri.re.kr X-Original-RCPTTO: u-boot@lists.denx.de Received: from [10.162.225.106] (HELO smtp001-imp.gov-dooray.com) ([10.162.225.106]) by send001-relay.gov-dooray.com with SMTP id 7a6d93c661679ec7; Thu, 14 Oct 2021 12:06:47 +0900 DKIM-Signature: a=rsa-sha256; b=eraQK4FitrDwgpfWN1vR0XZG/pTy2P8kOQ0v8s1QqlQ9uJ1SYpksbutX2mC/FOPirNGVDerrx8 NFKW55wtICT4Rar6uE2P+NkmH4+o8/rvYAcWBGRFMSAkQ1PfkEVXPrISLArW3lwt+z+261KC0yzi dQ0ihwPOTPTqYFu4O3rp+6XNOuIJanV2Q02wrb+IbZWKBU34gi3hVUUsgCX702p9D45dxQATv6AV XDr96FARK62+bUDpm41yyNrJydXLP9ayMcOyClaNwPKacFs46MRmjAJhayFKm8ksL5KOTydpICo8 T0OQsXCNsSHY+/FYwM0mdQc6TVye/XRKyy245WLA==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=WH4NsmeycQfxgd7O0fd8B34X+UgklDa4in3JyJOBxd4=; h=From:To:Subject:Message-ID; Received: from [129.254.132.39] (HELO CHANKIMPC) ([129.254.132.39]) by smtp001-imp.gov-dooray.com with SMTP id 524966da61679ec6; Thu, 14 Oct 2021 12:06:47 +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:06:45 +0900 Message-ID: <030d01d7c0a8$858ae4f0$90a0aed0$@etri.re.kr> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKUYqYumVFFSs/h6VXMsnoVN95A/AESslGCAdgtRTACWoi+dQGzuKC4qiDCa5A= 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 I think my question has error. 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. =3D=3D> Is it possible to run it on SCP? I mean loading from SD card the kernel, = file system, dtb etc to the memory and waking the main processor to = start from kernel. Thank you. Chan Kim =20 From: Chan Kim =20 Sent: Thursday, October 14, 2021 12:03 PM To: 'Fran=C3=A7ois Ozog' Cc: 'Tom Rini' ; 'u-boot@lists.denx.de' = Subject: RE: how to run u-boot on qemu arm64 virt machine? =20 =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 =20 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