On 09/02/15 01:01, Ard Biesheuvel wrote:
> On 2 September 2015 at 00:32, Benjamin Herrenschmidt <[email protected]> wrote:
>> On Wed, 2015-08-26 at 11:59 +0200, Ard Biesheuvel wrote:
>>> This adds support for the Intel BDS, by introducing a define
>>> 'USE_ARM_BDS' which defaults to TRUE, and can be overridden on
>>> the build command line.
>>
>> Out of curiosity (still in the process of getting my head around the
>> BDS stuff for my POWER port) ... why not the "Universal" BDS with
>> separate UiApp ? Or is the IntelBDS a better option for some reason ?
>>
> 
> Excellent question.

Yeah. Ben is disturbingly well informed. I wish my first emails to these
lists had been this much to the point! ;>

> If you are doing a new port, there is no reason to use the old Intel
> BDS and you are better off supporting only the new universal BDS.
> 
> For the ARM platforms, I think we should move to the new BDS at some
> point, but the QEMU ports (ArmVirtQemu but also OVMF/x86) require
> non-trivial rework so we will be supporting both the old and the new
> BDS for some time.

To be a bit more precise: we sort-of agreed with Ray that at least in
OVMF we'd do the switch "irrevocably", ie. there won't be an interim
when both the IntelFrameworkModulePkg BDS stuff and the MdeModulePkg BDS
stuff are supported. The reason is simply developer / reviewer bandwidth.

To protect against regressions, careful reviewing, and also testing will
be necessary. Ray posted version 1 of the OVMF update a few weeks back,
and I reviewed it:

http://thread.gmane.org/gmane.comp.bios.edk2.devel/759

Version 2 needs a good deal of work (including splitting up the patches
into a bunch of smaller ones, plus some easy modifications to the new
BDS library *class* under MdeModulePkg as well), but it certainly looks
feasible. And once Ray's work converges, those patches and reviews
should teach us enough to do the ArmVirtPkg conversion ourselves.

> For the other ARM platforms, it should indeed be feasible to move
> straight to the new BDS, but I'd rather have parity between the
> virtual and actual ARM platforms first before starting work on the new
> BDS.
> 

Makes sense.

Thanks
Laszlo
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to