Hello Brian,
Thanks for the pointer.
I was using the one for the UDK2017 tree (and tried UDK2015 as well).
The docs with this upgraded version explain why these were not working.
Best Regards,
Wim Vervoorn
Eltan B.V.
Ambachtstraat 23
5481 SM Schijndel
The Netherlands
T : +31-(0)73-594 46 64
E : wvervoorn(a)eltan.com
W :
http://www.eltan.com<http://www.eltan.com/>
[embeddedworld2018]<https://www.embedded-world.de/en/ausstellerprodukte/embwld18/exhibitor-31013502/eltan-b-v>
"THIS MESSAGE CONTAINS CONFIDENTIAL INFORMATION. UNLESS YOU ARE THE INTENDED
RECIPIENT OF THIS MESSAGE, ANY USE OF THIS MESSAGE IS STRICTLY PROHIBITED. IF YOU HAVE
RECEIVED THIS MESSAGE IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER BY TELEPHONE
+31-(0)73-5944664 OR REPLY EMAIL, AND IMMEDIATELY DELETE THIS MESSAGE AND ALL
COPIES."
From: Richardson, Brian [mailto:brian.richardson@intel.com]
Sent: Thursday, September 20, 2018 2:51 PM
To: Wim Vervoorn <wvervoorn(a)eltan.com>; Jin, Huang <huang.jin(a)intel.com>
Cc: sbl-devel(a)lists.01.org
Subject: RE: Adding TianoCore Payload
Wim:
Try the UEFIPayload currently in edk2-staging.
https://github.com/tianocore/edk2-staging/tree/UEFIPayload
Thanks ... br
---
Brian Richardson, Senior Technical Marketing Engineer, Intel Software
brian.richardson@intel.com<mailto:brian.richardson@intel.com> -- @intel_brian
(Twitter & WeChat)
https://software.intel.com/en-us/meet-the-developers/evangelists/team/bri...
From: Sbl-devel
<sbl-devel-bounces@lists.01.org<mailto:sbl-devel-bounces@lists.01.org>> On
Behalf Of Wim Vervoorn
Sent: Thursday, September 20, 2018 4:05 AM
To: Jin, Huang <huang.jin@intel.com<mailto:huang.jin@intel.com>>
Cc: sbl-devel@lists.01.org<mailto:sbl-devel@lists.01.org>
Subject: Re: [Sbl-devel] Adding TianoCore Payload
From: Wim Vervoorn
Sent: Thursday, September 20, 2018 9:54 AM
To: 'Jin, Huang' <huang.jin@intel.com<mailto:huang.jin@intel.com>>
Cc: sbl-devel@lists.01.org<mailto:sbl-devel@lists.01.org>
Subject: RE: Adding TianoCore Payload
Hello Aron,
Thanks for the information. This allows me to add the payload.
I quickly tried to add one and I simply build and added the coreboot payload. This is what
I get from that:
MP Init (Wakeup)
MP Init (Run)
Detected 1 CPU threads
CPU 0 APIC ID: 0
PCI Enum
Call FspNotifyPhase(20) ... Success
ACPI Init
ACPI Ret: Success
HASH Verification Success! Component Type (4)
RSA Verification Success!
Load Payload ID 0x00000000 @ 0x00800000
HASH Verification Success! Component Type (7)
Load Payload ID 0x49464555 @ 0x00800000
Load Multi-Payload name 'UEFI' - Success
FV Format Payload
MP Init (Done)
HOB @ 0x07EC0000
Stage2 stack: 0x40000 (stack used 0x10B8, HOB used 0xE40, 0x3E108 free)
Stage2 heap: 0x34C000 (0x7C000 used, 0x2D0000 free)
Payload entry: 0x00000000
Jump to payload
Exception #6 from 0x0010:0x0000002C !!!
STAGE_2: System halted!
To make sure I am not reinventing the wheel. Should I be able to use the CorebootPayload
package in TianoCore or should this payload start in a different way?
Best Regards,
Wim Vervoorn
Eltan B.V.
Ambachtstraat 23
5481 SM Schijndel
The Netherlands
T : +31-(0)73-594 46 64
E : wvervoorn@eltan.com<mailto:wvervoorn@eltan.com>
W :
http://www.eltan.com<http://www.eltan.com/>
[embeddedworld2018]<https://www.embedded-world.de/en/ausstellerprodukte/embwld18/exhibitor-31013502/eltan-b-v>
"THIS MESSAGE CONTAINS CONFIDENTIAL INFORMATION. UNLESS YOU ARE THE INTENDED
RECIPIENT OF THIS MESSAGE, ANY USE OF THIS MESSAGE IS STRICTLY PROHIBITED. IF YOU HAVE
RECEIVED THIS MESSAGE IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER BY TELEPHONE
+31-(0)73-5944664 OR REPLY EMAIL, AND IMMEDIATELY DELETE THIS MESSAGE AND ALL
COPIES."
From: Jin, Huang [mailto:huang.jin@intel.com]
Sent: Thursday, September 20, 2018 1:43 AM
To: Wim Vervoorn <wvervoorn@eltan.com<mailto:wvervoorn@eltan.com>>
Cc: sbl-devel@lists.01.org<mailto:sbl-devel@lists.01.org>
Subject: RE: Adding TianoCore Payload
Hello Vevoorn,
I'd assume you were building qemu with UEFI payload as an external payload. You cannot
embed UEFI payload as internal payload due to size constraints.
The documentation on this subject is not complete from a step-by-step perspective. Our
apologies. Please do the following:
1. Append the following line in Platform/QemuBoardPkg/CfgData/CfgDataExt_Brd1.dlt
--- a/Platform/QemuBoardPkg/CfgData/CfgDataExt_Brd1.dlt
+++ b/Platform/QemuBoardPkg/CfgData/CfgDataExt_Brd1.dlt
@@ -10,4 +10,5 @@ PLATFORMID_CFG_DATA.PlatformId | 1
PLAT_NAME_CFG_DATA.PlatformName | 'QEMU_01'
-GPIO_CFG_DATA.GpioConfPad1_GPP_A1.GPIOSkip | 1
\ No newline at end of file
+GPIO_CFG_DATA.GpioConfPad1_GPP_A1.GPIOSkip | 1
+GEN_CFG_DATA.PayloadId | 'UEFI'
2. Build QEMU with the following command. If you are building on Linux, you should
wrap the string with quotes after '-p' option
python BuildLoader.py build qemu -p OsLoader.efi:LLDR:Lz4;UefiPld.fd:UEFI:Lzma
Thanks,
Aaron
From: Wim Vervoorn [mailto:wvervoorn@eltan.com]
Sent: Wednesday, September 19, 2018 2:42 AM
To: Jin, Huang <huang.jin@intel.com<mailto:huang.jin@intel.com>>
Subject: RE: Adding TianoCore Payload
Hello Aaron,
I tried to do this but in the end the UEFIPAYLOAD ends up in the PAYLOAD area instead of
EPAYLOAD as described below.
Best Regards,
Wim Vervoorn
Eltan B.V.
Ambachtstraat 23
5481 SM Schijndel
The Netherlands
T : +31-(0)73-594 46 64
E : wvervoorn@eltan.com<mailto:wvervoorn@eltan.com>
W :
http://www.eltan.com<http://www.eltan.com/>
[embeddedworld2018]<https://www.embedded-world.de/en/ausstellerprodukte/embwld18/exhibitor-31013502/eltan-b-v>
"THIS MESSAGE CONTAINS CONFIDENTIAL INFORMATION. UNLESS YOU ARE THE INTENDED
RECIPIENT OF THIS MESSAGE, ANY USE OF THIS MESSAGE IS STRICTLY PROHIBITED. IF YOU HAVE
RECEIVED THIS MESSAGE IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER BY TELEPHONE
+31-(0)73-5944664 OR REPLY EMAIL, AND IMMEDIATELY DELETE THIS MESSAGE AND ALL
COPIES."
From: Jin, Huang [mailto:huang.jin@intel.com]
Sent: Wednesday, September 19, 2018 1:59 AM
To: Wim Vervoorn <wvervoorn@eltan.com<mailto:wvervoorn@eltan.com>>
Subject: RE: Adding TianoCore Payload
Hi Vervoorn,
I'd suggest you use the external payload feature in SBL. How to do this is here:
https://slimbootloader.github.io/how-tos/integrate-multiple-payloads.html....
Thanks,
Aaron
From: Sbl-devel [mailto:sbl-devel-bounces@lists.01.org] On Behalf Of Wim Vervoorn
Sent: Tuesday, September 18, 2018 12:35 AM
To: sbl-devel@lists.01.org<mailto:sbl-devel@lists.01.org>
Subject: [Sbl-devel] Adding TianoCore Payload
Hello All,
I am trying to add a TianoCore payload to the bootloader but I am running into a problem
here. Perhaps I don't understand correctly. Can you shed some light here
I try to add the payload using the -p command. This is the only one to add a payload.
The issue is that this creates PAYLOAD.lz file which is bigger than the PAYLOAD.pad so
this generates an error.
I noticed there is an EPAYLOAD.pad file of sufficient size and give the name I expect that
the EPAYLOAD is intended for external payloads. So basically I expected the TianoPayload
to end up there (or at least to have a command to tell it it should)
I haven't found a way to do this other than repartitioning the FD providing more space
for the payload but I don't think this is the intention.
If you can explain this t me it would be very helpful.
Best Regards,
Wim Vervoorn
Eltan B.V.
Ambachtstraat 23
5481 SM Schijndel
The Netherlands
T : +31-(0)73-594 46 64
E : wvervoorn@eltan.com<mailto:wvervoorn@eltan.com>
W :
http://www.eltan.com<http://www.eltan.com/>
[embeddedworld2018]<https://www.embedded-world.de/en/ausstellerprodukte/embwld18/exhibitor-31013502/eltan-b-v>
"THIS MESSAGE CONTAINS CONFIDENTIAL INFORMATION. UNLESS YOU ARE THE INTENDED
RECIPIENT OF THIS MESSAGE, ANY USE OF THIS MESSAGE IS STRICTLY PROHIBITED. IF YOU HAVE
RECEIVED THIS MESSAGE IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER BY TELEPHONE
+31-(0)73-5944664 OR REPLY EMAIL, AND IMMEDIATELY DELETE THIS MESSAGE AND ALL
COPIES."