[U-Boot] [PATCH v3 3/3] efi_loader: implement OpenProtocolInformation
Alexander Graf
agraf at suse.de
Sun Aug 13 19:24:20 UTC 2017
On 13.08.17 13:17, Heinrich Schuchardt wrote:
> On 08/12/2017 03:38 PM, Alexander Graf wrote:
>>
>>
>> On 05.08.17 22:32, Heinrich Schuchardt wrote:
>>> efi_open_protocol_information provides the agent and controller
>>> handles as well as the attributes and open count of an protocol
>>> on a handle.
>>>
>>> Cc: Rob Clark <robdclark at gmail.com>
>>> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>>
>> Do you have an application that leverages these interfaces? Would it be
>> possible to add that application to our travis tests?
>>
>>
>> Alex
>>
>
> iPXE (snp.efi) uses the functions but there are other things missing to
> make it really working.
Ah, I see. How much is missing to make that one work for real?
> Putting new tests into the executable created by
> CMD_BOOTEFI_HELLO_COMPILE would be possible but that seems messy to me.
>
> Should we replace CMD_BOOTEFI_HELLO_COMPILE by an option that creates
> multiple executables for the different EFI API functions we have to test?
>
> Each test then should consist of:
> - start QEMU system
> - download dtb and test executable from tftp server
> - start the test executable
> - evaluate console output
> - shutdown QEMU system
We have most of the above already in travis today. All we would need is
to extend it to download a built iPXE binaries and add test snippets to
tests/py for iPXE functionality.
Alex
More information about the U-Boot
mailing list