From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 71F7921967BF3 for ; Mon, 12 Jun 2017 12:36:50 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8CC434E02D; Mon, 12 Jun 2017 19:38:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8CC434E02D Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=lersek@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 8CC434E02D Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-168.phx2.redhat.com [10.3.116.168]) by smtp.corp.redhat.com (Postfix) with ESMTP id 75E7862927; Mon, 12 Jun 2017 19:38:02 +0000 (UTC) To: Ard Biesheuvel Cc: Andre , "edk2-devel@lists.01.org" , "Leif Lindholm (Linaro address)" References: From: Laszlo Ersek Message-ID: <2c75cb93-d4ee-15bd-637e-b883f7380731@redhat.com> Date: Mon, 12 Jun 2017 21:38:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 12 Jun 2017 19:38:03 +0000 (UTC) Subject: Re: Can OVMF run on an emulated QEMU ARM vexpress-a9? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 19:36:50 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit (side track) On 06/12/17 18:40, Ard Biesheuvel wrote: > On 12 June 2017 at 18:28, Laszlo Ersek wrote: >> - ArmVirtPkg/ArmVirtQemuKernel.dsc: >> >> - Not really sure about the QEMU configuration for this, but see >> commit 8de84d424221 ("ArmVirtPkg: implement ArmVirtQemuKernel", >> 2016-02-05) for the intended use. I think Ard can explain it better. >> > > The standard mach-virt machine you get when using -bios boots with the > firmware image exposed as an emulated XIP NOR flash. Many ARM systems > that boot with ARM trusted firmware don't run UEFI in place but load > it into DRAM and execute it from there. > > So ArmVirtQemuKernel runs from DRAM instead. It borrows the Linux > kernel boot protocol to achieve this, since it was already implemented > by QEMU via -kernel (and -bios/-pflash omitted) Ah! So you boot that firmware binary itself with the "-kernel" option; is that right? (I guess I'll finally understand why you called the DSC file "ArmVirtQemuKernel" :) ) Thanks! Laszlo