From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C7EDB21E47D5E for ; Tue, 29 Aug 2017 07:58:51 -0700 (PDT) Received: by mail-qt0-x236.google.com with SMTP id u11so15910670qtu.1 for ; Tue, 29 Aug 2017 08:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=o69ItrjUBLwKFs7zaVcfOg+t9wSdSXtxDf74tnTUEws=; b=bWbss5HKlVUsvUSGY05JnwI4xDkbqRU+zmEbsg1m+ozGbPqGpEOKAX9JsgB10NevgZ gtG0QJYd0UH8KarD47M/atd4KQDq1x5deAiU+hBjtKVqgmj8k+Io7dknzpXJnYpQq0Gy gkKC0A0WReH0e4+vV/WMNqweB6Zj/KtUVLJ5OXTbBug+tA21QYHhekVl9fQt+upFWvrl szW85+Na0Xnw91uuxARMys2/JVVhmEkl/7T8Q4sMj9AN8e53PSnJmqRJXcpjnxDpclhE DBdxSwkC/BdSZAXYzOYmexUdxlZRrIzJdg3930l7XPCRtzkMEWF0NpFl8F92wfgCqJOt O9zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=o69ItrjUBLwKFs7zaVcfOg+t9wSdSXtxDf74tnTUEws=; b=Gl8aJOQF77k9uF66s8n4AQVPc+r7d++AvAX3oxkL5P0lxSHhO0OOoBCnMbYj6SPxIY 5qg/MJFfJOaCIcKsD+lPmwVw4kpUdRvyVKVHcU1CdChzkjlJ46EuFaSEjqQ29BG5is7T 2yk37JLIuga8vQ0ZJOSNvQ2BqlsPD5cQPgZLGuZvUmG5Plf9lb+XUGuhHivAbH4Kivha +pW3pQME/JFUxp9XiwRjmR+ZlY6yUudvGe0tAdIYa3l9LPgm2WuVycH31jPXnSr6QWOU mX6OJJxE06pSqbCcXfnN3Yk6hhc+G1+HLYJTSuSat9EczQQYHuzYprOdTcUogBiUa40S t/ag== X-Gm-Message-State: AHYfb5hWYreOMtEAtdpinnOw76kSu51mHYaJ6I8tizVFnk+nQUsroCdS LgXoqpSlEJXs/dD38JqZqxPUAlkDhaUJ X-Received: by 10.200.9.125 with SMTP id z58mr6729501qth.280.1504018891026; Tue, 29 Aug 2017 08:01:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.45.241 with HTTP; Tue, 29 Aug 2017 08:01:30 -0700 (PDT) From: Tahnia Lichtenstein Date: Tue, 29 Aug 2017 17:01:30 +0200 Message-ID: To: edk2-devel@lists.01.org X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Questions about CorebootPayloadPkg X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 14:58:52 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=99s execu= tion. 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 =E2=80=9CMdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe=E2=80=9D 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 =E2=80=9Cdrivers=E2=80=9D command (and also is not pres= ent in the boot setup menu), and when I try to forcefully =E2=80=9Cload=E2=80=9D 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 { 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=E2=80=99t see the DriverSample show u= p 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