public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Iddamsetty, Aravind (Artesyn)" <Aravind.Iddamsetty@Artesyn.com>
To: "Yao, Jiewen" <jiewen.yao@intel.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: unable to build update capsule image
Date: Wed, 4 Jan 2017 08:51:47 +0000	[thread overview]
Message-ID: <HKXPR01MB04729626507FC80BB80C6CC890610@HKXPR01MB0472.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <74D8A39837DF1E4DA445A8C0B3885C503A8DAEFD@shsmsx102.ccr.corp.intel.com>

Hi Yao Jiewen,

Thank you so much, after I set the OPENSSL_PATH I was able to generate capsule image.

Thanks & Regards,
Aravind.

From: Yao, Jiewen [mailto:jiewen.yao@intel.com]
Sent: Wednesday, January 04, 2017 1:44 PM
To: Iddamsetty, Aravind [ENGINEERING/IN]; edk2-devel@lists.01.org
Subject: RE: unable to build update capsule image

I found we mentioned below in \Vlv2TbltDevicePkg\Build_IFWI.bat

        If capsule update is needed, please update CAPSULE_ENABLE = TRUE in Config.dsc.
        If recovery is needed, please update RECOVERY_ENABLE = TRUE in Config.dsc.
        If either of above is TRUE, please set OPENSSL_PATH in windows evironment
        and put openssl.exe there, to generate final capsule image.

It is for your reference.

Thank you
Yao Jiewen

From: Yao, Jiewen
Sent: Wednesday, January 4, 2017 4:00 PM
To: 'Iddamsetty, Aravind (Artesyn)' <Aravind.Iddamsetty@Artesyn.com<mailto:Aravind.Iddamsetty@Artesyn.com>>; edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
Subject: RE: unable to build update capsule image

Hi
Enabling capsule requires signing. So you need generate the openssl.exe.

Thank you
Yao Jiewen

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Iddamsetty, Aravind (Artesyn)
> Sent: Wednesday, January 4, 2017 3:14 PM
> To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
> Subject: [edk2] unable to build update capsule image
>
> Hi All,
>
>
> I am trying to build a Quark Bios update capsule image in my EDK2 enviroment.
> But it is failing with below  errors. Kindly request you to help me out with this.
>
>
>
> Build Command : build -a IA32 -t VS2010x86 -p QuarkPlatformPkg\Quark.dsc -D
> CAPSULE_ENABLE
>
> -------------------------------------------------------------------------------
>
> Generating CAPSULEDISPATCHFV FV
>
> ###
>
> Generating SYSTEMFIRMWAREUPDATECARGO FV
>
> ###
>
> Generate QUARKFIRMWAREUPDATECAPSULEFMPPKCS7 Capsule
>
> #Return Value = 1
>
> OpenSSL 0.9.8g 19 Oct 2007
>
>
>
>
>
>
>
> #
>
> ## ['Pkcs7Sign', '-e', '--monotonic-count', '2', '-o',
> 'c:\\sspro\\build\\Build\\Quark\\DEBUG_VS2010x86\\FV\\QUARKFIRMWAREUP
> DATECAPSULEFMPPKCS7.tmp', 'c:\\sspro\\
>
> build\\Build\\Quark\\DEBUG_VS2010x86\\FV\\SYSTEMFIRMWAREUPDATECARG
> O.Fv']
>
> GenFds...
>
> : error 7000: Failed to generate FMP auth capsule
>
>
>
> build...
>
> : error 7000: Failed to execute command
>
>         GenFds -f c:\sspro\build\edk2\QuarkPlatformPkg\Quark.fdf
> --conf=c:\sspro\build\edk2\conf -o
> c:\sspro\build\Build\Quark\DEBUG_VS2010x86 -t VS2010x86 -b DEB
>
> UG -p c:\sspro\build\edk2\QuarkPlatformPkg\Quark.dsc -a IA32  -D
> "EFI_SOURCE=c:\\sspro\\build\\edk2\\edkcompatibilitypkg"  -D
> "EDK_SOURCE=c:\\sspro\\build\\edk2\\
>
> edkcompatibilitypkg"  -D "TOOL_CHAIN_TAG=VS2010x86"  -D
> "TOOLCHAIN=VS2010x86"  -D "TARGET=DEBUG"  -D "FAMILY=MSFT"  -D
> "CAPSULE_ENABLE=TRUE"  -D "SECURE_BOOT_ENAB
>
> LE=TRUE"  -D "WORKSPACE=c:\\sspro\\build"  -D
> "EDK_TOOLS_PATH=c:\\sspro\\build\\edk2\\basetools"  -D "ARCH=IA32"  -D
> "ECP_SOURCE=c:\\sspro\\build\\edk2\\edkcompat
>
> ibilitypkg" [c:\sspro\build]
>
>
>
> - Failed -
>
> Build end time: 16:24:46, Jan.02 2017
>
> Build total time: 00:04:43
>
> ---------------------------------------------------------------------------------------------------
> ----------------------------
>
>
>
> Thanks & Regards,
>
> Aravind.
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
> https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2017-01-04  8:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04  7:13 unable to build update capsule image Iddamsetty, Aravind (Artesyn)
2017-01-04  8:00 ` Yao, Jiewen
2017-01-04  8:14 ` Yao, Jiewen
2017-01-04  8:51   ` Iddamsetty, Aravind (Artesyn) [this message]
2017-01-12  3:02   ` how to update capsule image with CapsuleApp wang xiaofeng
2017-01-12  3:26     ` Yao, Jiewen
2017-01-13  5:33       ` seems a minor logic error in UpdateCapsule of MdeModulePkg\Universal\CapsuleRuntimeDxe wang xiaofeng
2017-01-24  7:56         ` SetUnicodeMem in DisplayEngineDxe seems unsafe wang xiaofeng
2017-01-25  0:54           ` Gao, Liming
2017-01-25  2:21             ` wang xiaofeng
2017-01-25  2:29               ` Gao, Liming
2017-01-25  2:29               ` Dong, Eric
2017-01-25  2:48                 ` wang xiaofeng

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=HKXPR01MB04729626507FC80BB80C6CC890610@HKXPR01MB0472.apcprd01.prod.exchangelabs.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