public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Tahnia Lichtenstein <unlich@gmail.com>
To: edk2-devel@lists.01.org
Subject: Questions about CorebootPayloadPkg
Date: Tue, 29 Aug 2017 17:01:30 +0200	[thread overview]
Message-ID: <CAHVi0Gvqp8+A5Pgn5_YHE-NZdqd_Sb0LJicfwG22H-hQB1CXGQ@mail.gmail.com> (raw)

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


                 reply	other threads:[~2017-08-29 14:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHVi0Gvqp8+A5Pgn5_YHE-NZdqd_Sb0LJicfwG22H-hQB1CXGQ@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox