public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Questions about CorebootPayloadPkg
@ 2017-08-29 15:01 Tahnia Lichtenstein
  0 siblings, 0 replies; only message in thread
From: Tahnia Lichtenstein @ 2017-08-29 15:01 UTC (permalink / raw)
  To: edk2-devel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-29 14:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-29 15:01 Questions about CorebootPayloadPkg Tahnia Lichtenstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox