public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: gordontcp@gmail.com
To: devel@edk2.groups.io
Subject: ‘EmbeddedDrivers’ option in Capsule file.
Date: Thu, 21 Jul 2022 20:50:17 -0700	[thread overview]
Message-ID: <kHPk.1658461817440979485.BgSJ@groups.io> (raw)

[-- Attachment #1: Type: text/plain, Size: 1571 bytes --]

Hi all,
I can generate Red1.cap capsule file from GenerateCapsule.py of edk2, and execute CapsuleApp Red1.cap on Minnowboard to complete the process of capsule 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 warning:
GenerateCapsule: warning "EmbeddedDrivers" section not found in JSON file red1.json

My questions are:

* Is the ‘EmbeddedDrivers’ option in the Capsule file necessary?
* Should ‘EmbeddedDrivers’ parameter be assigned to ‘FmpDxe.efi’? or assigned to ‘SystemFirmwareUpdateDxe.efi’(in SignedCapsulePkg)?
* I use Minnowboard as the operating environment. If ‘EmbeddedDrivers’ option is added to the Capsule file, should I need to make corresponding changes in Vlv2TbltDevicePkg?

Any advice is greatly appreciated!
Thanks!

[-- Attachment #2: Type: text/html, Size: 5202 bytes --]

             reply	other threads:[~2022-07-22  3:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22  3:50 gordontcp [this message]
2022-07-22 15:44 ` [edk2-devel] ‘EmbeddedDrivers’ option in Capsule file Michael D Kinney
2022-07-26 10:02   ` gordontcp

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=kHPk.1658461817440979485.BgSJ@groups.io \
    --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