* update capsule image on Quark SoC x1000 Gen2 @ 2017-01-09 12:40 Iddamsetty, Aravind (Artesyn) 2017-01-11 20:23 ` Kinney, Michael D 0 siblings, 1 reply; 4+ messages in thread From: Iddamsetty, Aravind (Artesyn) @ 2017-01-09 12:40 UTC (permalink / raw) To: edk2-devel@lists.01.org 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: update capsule image on Quark SoC x1000 Gen2 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) 0 siblings, 1 reply; 4+ messages in thread From: Kinney, Michael D @ 2017-01-11 20:23 UTC (permalink / raw) To: Iddamsetty, Aravind (Artesyn), edk2-devel@lists.01.org, Kinney, Michael D 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: update capsule image on Quark SoC x1000 Gen2 2017-01-11 20:23 ` Kinney, Michael D @ 2017-01-12 8:29 ` Iddamsetty, Aravind (Artesyn) 2017-01-12 16:49 ` Kinney, Michael D 0 siblings, 1 reply; 4+ messages in thread From: Iddamsetty, Aravind (Artesyn) @ 2017-01-12 8:29 UTC (permalink / raw) To: Kinney, Michael D; +Cc: edk2-devel@lists.01.org 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: update capsule image on Quark SoC x1000 Gen2 2017-01-12 8:29 ` Iddamsetty, Aravind (Artesyn) @ 2017-01-12 16:49 ` Kinney, Michael D 0 siblings, 0 replies; 4+ messages in thread From: Kinney, Michael D @ 2017-01-12 16:49 UTC (permalink / raw) To: Iddamsetty, Aravind (Artesyn), Kinney, Michael D; +Cc: edk2-devel@lists.01.org Aravind, What is the instruction before and at EIP? The exception dump you provided below says: IA32 Exception Type - 00(#DE - Divide Error) So we need to find the instruction that generated that exception type. Mike > -----Original Message----- > From: Iddamsetty, Aravind (Artesyn) [mailto:Aravind.Iddamsetty@Artesyn.com] > Sent: Thursday, January 12, 2017 12:30 AM > To: Kinney, Michael D <michael.d.kinney@intel.com> > Cc: edk2-devel@lists.01.org > Subject: RE: update capsule image on Quark SoC x1000 Gen2 > > 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-01-12 16:49 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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) 2017-01-12 16:49 ` Kinney, Michael D
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox