Thanks Ard :)

I'll try with this.

On 05/29/2015 10:14 PM, Ard Biesheuvel wrote:
> On 29 May 2015 at 13:58, Heyi Guo <heyi....@linaro.org> wrote:
>> Hi Laszlo and Ard,
>>
>> As you two are the new maintainers for ArmVirtPkg, I suppose you are the
>> right persons to ask this question :)
>>
> I am fairly clueless about HII but let me try to help you out here :-)
>
>> I'm running UEFI SCT aganst QEMU aarch64, and I got error for functional
>> test against HII_CONFIG_ACCESS_PROTOCOL installed in PlatformDxe module.
>>
>> The test case is BBTestRouteConfigFunctionTestCheckpoint1 in
>> TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTest/HIIConfigAccessBBTestFunction.c;
>> it will construct the configuration in some way (sorry I'm not familiar with
>> HII and not understand the process clearly), and then call RouteConfig of
>> HII_CONFIG_ACCESS_PROTOCOL.
>>
>> The configuration constructed is like this:
>> GUID=1cc53572800cab4c87ac3b084a6304b1&NAME=004d00610069006e0046006f0072006d00530074006100740065&PATH=01041400dfc5dcd907405e4390988970935504b27fff0400&OFFSET=0000&WIDTH=0020&VALUE=00000000000000000000000000000000000000000000007400650073006e0055
>>
>> I traced the code and found it failed in FormStateToPlatformConfig in
>> Platform.c, due to mNumGopModes being 0.
>>
>>    if (MainFormState->NextPreferredResolution >= mNumGopModes) {
>>      return EFI_INVALID_PARAMETER;
>>    }
>>
>> I suppose GOP related data will be initialized when
>> gEfiGraphicsOutputProtocolGuid is installed, so the questions are:
>>
>> 1. Shall I enable vga on qemu to pass this test? How to enable vga? I tried
>> -display sdl -vga std, but nothing changed.
> You can boot with a graphic UI as long as you use the Intel BDS. You
> should also configure a USB keyboard in that case, and drop the
> '-nographic' from the QEMU command line.
>
> For instance,
>
> qemu-system-aarch64 -M virt -m 512 -cpu cortex-a57 -bios QEMU_EFI.fd
> -device VGA -device usb-ehci -device usb-kbd
>
> will give you a beautiful Tianocore splash screen before launching the GUI
>


------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to