public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Iddamsetty, Aravind (Artesyn)" <Aravind.Iddamsetty@Artesyn.com>
To: "Kinney, Michael D" <michael.d.kinney@intel.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: update capsule image on Quark SoC x1000 Gen2
Date: Thu, 12 Jan 2017 08:29:39 +0000	[thread overview]
Message-ID: <HKXPR01MB0472EAE37219790E090E142D90790@HKXPR01MB0472.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <E92EE9817A31E24EB0585FDF735412F5648A5934@ORSMSX113.amr.corp.intel.com>

Hi Mike,

Thank you for your response.

The issue that I am facing is not on Galileo Gen2 but on our custom board which has Quark Soc x1000 same as that on Galileo Gen2. I am able to do a Capsule update on Galileo Gen2, but when I try on our custom board it throws me the error that I have shared earlier.

I have connected a flyswatter2 debugger and analyzed the EIP (EIP  - 3F8EE1DC) when the exception occurred, this is pointing to below line from the file MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c line 639

    while ((SerialPortReadRegister (SerialRegisterBase, R_UART_LSR) & B_UART_LSR_TEMT) == 0);

Thanks & Regards,
Aravind.    

-----Original Message-----
From: Kinney, Michael D [mailto:michael.d.kinney@intel.com] 
Sent: Thursday, January 12, 2017 1:54 AM
To: Iddamsetty, Aravind [ENGINEERING/IN]; edk2-devel@lists.01.org; Kinney, Michael D
Subject: RE: update capsule image on Quark SoC x1000 Gen2

Aravind,

I am trying to reproduce this issue and so far everything works for me.

I pulled the sources this morning (df3f02df1bde40c2a0d486d3ca6bd529c3654049)

I did the following build command (I am using VS2015x86 by default)

	build -a IA32 -n 5 -t VS2015x86 -p QuarkPlatformPkg\Quark.dsc -D CAPSULE_ENABLE

After the build, I copied the following 2 files to the root of a USB flash drive:

	CapsuleApp.efi
	QUARKFIRMWAREUPDATECAPSULEFMPPKCS7.Cap

I booted Galileo Gen2 to the UEFI Shell, and selected FS1: for my USB flash drive and ran the following command:

	FS1:> CapsuleApp.efi QUARKFIRMWAREUPDATECAPSULEFMPPKCS7.Cap

I do not have VS2010 installed.  I did try VS2008 and that worked as well.

Please verify that you have the latest VS2010 service packs installed.

Best regards,

Mike



> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of 
> Iddamsetty, Aravind (Artesyn)
> Sent: Monday, January 9, 2017 4:40 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] update capsule image on Quark SoC x1000 Gen2
> 
> Hello,
> 
> I am trying to update Bios flash from UEFI shell. I get the following error.
> Kindly need help on this.
> 
> Evaluate DXE DEPEX for FFS(378D7B65-8DA9-4773-B6E4-A47826A833E1)
>   PUSH GUID(1E5668E2-8481-11D4-BCF1-0080C73C8881) = FALSE
>   PUSH GUID(6441F818-6362-4E44-B!!!! IA32 Exception Type - 00(#DE - 
> Divide Error) CPU Apic ID - 00000000 !!!!
> EIP  - 3F8EE1DC, CS  - 00000010, EFLAGS - 00000246 EAX  - 9000B000, 
> ECX - 00000042, EDX - 00000010, EBX - 0000003B ESP  - 3F8DADD4, EBP - 
> 3F8DAEE4, ESI - 3F8DAE04, EDI - 0000001B
> DS   - 00000008, ES  - 00000008, FS  - 00000008, GS  - 00000008, SS - 00000008
> CR0  - 00000013, CR2 - 00000000, CR3 - 00000000, CR4 - 00000000
> DR0  - 00000000, DR1 - 00000000, DR2 - 00000000, DR3 - 00000000
> DR6  - FFFF0FF0, DR7 - 00000400
> GDTR - 3F839E90 00000047, IDTR - 3F577010 000007FF LDTR - 00000000, TR 
> - 00000000 FXSAVE_STATE - 3F8DAB10 !!!! Find PE image 
> c:\sspro\build\Build\SSPRO- 
> MINI\DEBUG_VS2010x86\IA32\MdeModulePkg\Core\Dxe\DxeMain\DEBUG\DxeCore.
> pdb (ImageBase=3F8DB000, EntryPoint=3F8DB260) !!!!
> 
> 
> 
> Command used : CapsuleApp QUARKFIRMWAREUPDATECAPSULEFMPPKCS7.Cap
> 
> 
> Thanks & Regards,
> Aravind
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2017-01-12  8:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-09 12:40 update capsule image on Quark SoC x1000 Gen2 Iddamsetty, Aravind (Artesyn)
2017-01-11 20:23 ` Kinney, Michael D
2017-01-12  8:29   ` Iddamsetty, Aravind (Artesyn) [this message]
2017-01-12 16:49     ` Kinney, Michael D

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=HKXPR01MB0472EAE37219790E090E142D90790@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