From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: =?UTF-8?B?4oCYRW1iZWRkZWREcml2ZXJz4oCZIG9wdGlvbiBpbiBDYXBzdWxlIGZpbGUu?= To: devel@edk2.groups.io From: gordontcp@gmail.com X-Originating-Location: Hsinchu, TW (61.222.87.235) X-Originating-Platform: Windows Chrome 103 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Thu, 21 Jul 2022 20:50:17 -0700 Message-ID: Content-Type: multipart/alternative; boundary="bD6D08b8d8ODjJveuwCa" --bD6D08b8d8ODjJveuwCa Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, I can generate Red1.cap capsule file from GenerateCapsule.py of edk2, and e= xecute CapsuleApp Red1.cap on Minnowboard to complete the process of capsul= e update. Build capsule file command: \BaseTools\Source\Python\Capsule>GenerateCapsule.py -e -j red1.json -o red1= .cap --capflag PersistAcrossReset --capflag InitiateReset where red1.json is { "Payloads": [ { "Dependencies": "FALSE", "FwVersion": "16", "Guid": "72E2945A-00DA-448E-9AA7-075AD840F9D4", "HardwareInstance": "0", "LowestSupportedVersion": "0", "MonotonicCount": "0", "Payload": "red.bin", "UpdateImageIndex": "1", "OpenSslSignerPrivateCertFile": "TestCert.pem", "OpenSslOtherPublicCertFile": "TestSub.pub.pem", "OpenSslTrustedPublicCertFile": "TestRoot.pub.pem", "SigningToolPath": "C:\\OpenSSL\\bin", "Dependencies": "FALSE" } ] } My system: Minnowboard Max. My system FW source code: \edk2-platforms\Platform\Intel\Vlv2TbltDevicePkg However, when GenerateCapsule.py is executed, there will be the following w= arning: GenerateCapsule: warning "EmbeddedDrivers" section not found in JSON file r= ed1.json My questions are: * Is the =E2=80=98EmbeddedDrivers=E2=80=99 option in the Capsule file neces= sary? * Should =E2=80=98EmbeddedDrivers=E2=80=99 parameter be assigned to =E2=80= =98FmpDxe.efi=E2=80=99? or assigned to =E2=80=98SystemFirmwareUpdateDxe.efi= =E2=80=99(in SignedCapsulePkg)? * I use Minnowboard as the operating environment. If =E2=80=98EmbeddedDrive= rs=E2=80=99 option is added to the Capsule file, should I need to make corr= esponding changes in Vlv2TbltDevicePkg? Any advice is greatly appreciated! Thanks! --bD6D08b8d8ODjJveuwCa Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi all,
I can generate Red1.= cap capsule file from GenerateCapsule.= py of edk2, and execute CapsuleApp Red1.cap on Minnowboard to c= omplete the process of capsule update.
Build capsule file command:
\BaseTools\Source\Python\Capsule>Gener= ateCapsule.py -e -j red1.json -o red1.cap --capflag PersistAcrossReset --ca= pflag InitiateReset
where red1.json is

<=
code style=3D"font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, =
Consolas, 'Liberation Mono', monospace; font-size: 12px; margin: 0px; backg=
round-image: initial; background-position: initial; background-size: initia=
l; background-repeat: initial; background-attachment: initial; background-o=
rigin: initial; background-clip: initial; border-radius: 6px; word-break: n=
ormal; white-space: pre; border: 0px; display: inline; overflow: visible; l=
ine-height: inherit; overflow-wrap: normal;">{
"Payloads": [
{
"Dependencies": "FALSE",
"FwVersion": "16",
"Guid": "72E2945A-00DA-448E-9AA7-075AD840F9D4",
"HardwareInstance": "0",
"LowestSupportedVersion": "0",
"MonotonicCount": "0",
"Payload": "red.bin",
"UpdateImageIndex": "1",
"OpenSslSignerPrivateCertFile": "TestCert.pem",
"OpenSslOtherPublicCertFile": "TestSub.pub.pem",
"OpenSslTrustedPublicCertFile": "TestRoot.pub.pem",
"SigningToolPath": "C:\\OpenSSL\\bin",
"Dependencies": "FALSE"
}
]
}

My system: Minnowboard Max.
My system FW source code: = \edk2-platforms\Platform\Intel\Vlv2TbltDevi= cePkg

However, when GenerateCapsule.py = is executed, there will be the following warning:
GenerateCapsule: warning "EmbeddedDrivers" section not found in= JSON file red1.json

My questions are:

  1. Is the ‘EmbeddedDrivers’ option= in the Capsule file necessary?
  2. Should ‘EmbeddedD= rivers’ parameter be assigned to ‘FmpDxe.efi’? or assigne= d to ‘SystemFirmwareUpdateDxe.efi’(in SignedCapsulePkg)?
  3. I use Minnowboard as th= e operating environment. If ‘EmbeddedDrivers’ option is added t= o the Capsule file, should I need to make corresponding changes in Vlv2Tblt= DevicePkg?

Any advice is greatly a= ppreciated!
Thanks!

--bD6D08b8d8ODjJveuwCa--