[U-Boot] [PATCH v3 3/3] efi_loader: implement OpenProtocolInformation

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Aug 13 11:17:26 UTC 2017


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.

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

Regards

Heinrich


More information about the U-Boot mailing list