Hi,

I am trying to combine coreboot and UDK2017 for the Intel Apollo Lake CRB.
I have managed to successfully compile both source trees and stitched it
with the Intel FIT.exe. It boots Windows 10 and the EFI Shell successfully,
but I get the following EDK II progress code error via UART debug port:


ERROR: C00000002:V03058002 I0 FC5C7020-1A48-4198-9BE2-EAD5ABC8CF2F 79D3B098



As far as I can trace the error, it means there was an error setting a PCD
variable (PcdErrorCodeSetVariable) during the BdsDxe module’s execution. I
checked the EFI shell for the device path, but the specific value is not
listed there (using command "devtree -d").

1)     Any ideas how I might go about to solve this error?

I also tried to add the
“MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe” to the
CorebootPayloadPkg. I am not sure if I did it correctly, but it seems to
build and boot fine, although it does not show up in the list of drivers
using the EFI shell “drivers” command (and also is not present in the boot
setup menu), and when I try to forcefully “load” it in the EFI shell, it
says the file was not found. The error code mentioned above is still
present while I tried getting the DriverSample to run.


To include the DriverSample in the coreboot payload, I added the following
lines in the [Components.X64] section in the
CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc:


MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {

    <LibraryClasses>

      PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf

  }


And I added the following line to CorebootPayloadPkg/
CorebootPayloadPkg.fdf (where the other DXE Phase Modules are listed):


INF MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf


2)     Are the above-mentioned changes all that is needed to successfully
include a module from a different package into the
CorebootPayloadPkgIa32X64 target?


3)     If so, is the reason why I don’t see the DriverSample show up in
run-time because of the still-present error as described above? Or is there
possibly another reason that I should investigate?


Sorry for the elementary questions, I am new to Tianocore and am stuck! Any
help whatsoever will be much appreciated!


Best regards,

Tahnia
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to