(side track)

On 06/12/17 18:40, Ard Biesheuvel wrote:
> On 12 June 2017 at 18:28, Laszlo Ersek <ler...@redhat.com> 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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to