From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-hk2apc01on0708.outbound.protection.outlook.com [IPv6:2a01:111:f400:febc::708]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 040E981C10 for ; Thu, 12 Jan 2017 00:29:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=artesyn.onmicrosoft.com; s=selector1-artesyn-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zW8Uvo9hTa+ONmRCSiAklTQoIVmubIApdX5fYhqzuo4=; b=dhYJTbxLoEjond+/Pf8J0PkFKO2lWjYi6MIYRN+tN0nbLezf89G4LqqxNi3kS3eM4B3uXBJRnaQh1Z4ltryWT6JDTKc4elp71OzpH2yHCggjhGqqn2AdFPGcs+3bS+rkwvnsSkdKEOnaJOyZWyvOW0iH53mKuaaL55hpP07IEb4= Received: from HKXPR01MB0472.apcprd01.prod.exchangelabs.com (10.242.124.27) by HKXPR01MB0470.apcprd01.prod.exchangelabs.com (10.242.124.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7; Thu, 12 Jan 2017 08:29:39 +0000 Received: from HKXPR01MB0472.apcprd01.prod.exchangelabs.com ([10.242.124.27]) by HKXPR01MB0472.apcprd01.prod.exchangelabs.com ([10.242.124.27]) with mapi id 15.01.0829.017; Thu, 12 Jan 2017 08:29:39 +0000 From: "Iddamsetty, Aravind (Artesyn)" To: "Kinney, Michael D" CC: "edk2-devel@lists.01.org" Thread-Topic: update capsule image on Quark SoC x1000 Gen2 Thread-Index: AdJqdYaXfCKo9kCMTmyXl7N+We/XRQB0Qe8wABlb4pA= Date: Thu, 12 Jan 2017 08:29:39 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Aravind.Iddamsetty@Artesyn.com; x-originating-ip: [61.14.178.149] x-ms-office365-filtering-correlation-id: 2ebbb5bd-77de-4f88-9f3b-08d43ac526a0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:HKXPR01MB0470; x-microsoft-exchange-diagnostics: 1; HKXPR01MB0470; 7:U4SRtXd9QHfxQzN6PMOY5jfoQ1PSoQhSKfD6EYN+rdqZNlBXwXffDSWiCoCwzULKokr+roKGjlFN5ymM7y1J3es0G5RFqhX5c0hk6dujUDg6xIUUCtdyvshjdOy6SqXOaImAGI5UYTjdlAGd5aVyOGBlgT7h+uD6Frs630YLhKi3JJ7JpiLSneGyFN253e6CfVu4FnD37u8JQSWfofmC4ftjzDOHy5L9aJo4Qu9WUdJDMyLohI7IgRIanM9NHU92QZs/m/20xA/DqRjUnnWnJQybQweJqjB9yM+8iXJlNrWo4eeYWxi7maT6mqgD+R4sM0wTUymqFa0qh1KeNBfOCxVznJTgp7wad6WyL41aAWW+W7jLgkmgVWEKY4N1bhy3iCvZeR36K6Rc2nmR9yZI0D0kj+5WwBw2fTsxtHAZVv8Bt1VW5XrlnM6vC/HxjDnFT2C1E+NBMIPsFh29ZaUbNg== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(162533806227266)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(6072148); SRVR:HKXPR01MB0470; BCL:0; PCL:0; RULEID:; SRVR:HKXPR01MB0470; x-forefront-prvs: 018577E36E x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39410400002)(39850400002)(39450400003)(39840400002)(39860400002)(377454003)(199003)(189002)(13464003)(101416001)(3660700001)(86362001)(305945005)(74316002)(97736004)(9686003)(3846002)(575784001)(2900100001)(66066001)(189998001)(3280700002)(92566002)(6306002)(2950100002)(33656002)(110136003)(6916009)(99286003)(8936002)(25786008)(7696004)(55016002)(4326007)(38730400001)(6506006)(229853002)(7736002)(2906002)(77096006)(8676002)(6436002)(102836003)(50986999)(15650500001)(76176999)(5660300001)(122556002)(106356001)(105586002)(81166006)(6116002)(54356999)(345774005)(68736007)(81156014); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR01MB0470; H:HKXPR01MB0472.apcprd01.prod.exchangelabs.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: Artesyn.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: artesyn.com X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jan 2017 08:29:39.4169 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8050a2ab-3c11-48a1-9e5d-34f1dbd1f144 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR01MB0470 Subject: Re: update capsule image on Quark SoC x1000 Gen2 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 08:29:43 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Mike, Thank you for your response. The issue that I am facing is not on Galileo Gen2 but on our custom board w= hich has Quark Soc x1000 same as that on Galileo Gen2. I am able to do a Ca= psule 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 - 3F8EE1= DC) when the exception occurred, this is pointing to below line from the fi= le MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c lin= e 639 while ((SerialPortReadRegister (SerialRegisterBase, R_UART_LSR) & B_UAR= T_LSR_TEMT) =3D=3D 0); Thanks & Regards, Aravind. =20 -----Original Message----- From: Kinney, Michael D [mailto:michael.d.kinney@intel.com]=20 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_E= NABLE 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=20 > 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 >=20 > Hello, >=20 > I am trying to update Bios flash from UEFI shell. I get the following err= or. > Kindly need help on this. >=20 > Evaluate DXE DEPEX for FFS(378D7B65-8DA9-4773-B6E4-A47826A833E1) > PUSH GUID(1E5668E2-8481-11D4-BCF1-0080C73C8881) =3D FALSE > PUSH GUID(6441F818-6362-4E44-B!!!! IA32 Exception Type - 00(#DE -=20 > Divide Error) CPU Apic ID - 00000000 !!!! > EIP - 3F8EE1DC, CS - 00000010, EFLAGS - 00000246 EAX - 9000B000,=20 > ECX - 00000042, EDX - 00000010, EBX - 0000003B ESP - 3F8DADD4, EBP -=20 > 3F8DAEE4, ESI - 3F8DAE04, EDI - 0000001B > DS - 00000008, ES - 00000008, FS - 00000008, GS - 00000008, SS - 000= 00008 > 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=20 > - 00000000 FXSAVE_STATE - 3F8DAB10 !!!! Find PE image=20 > c:\sspro\build\Build\SSPRO-=20 > MINI\DEBUG_VS2010x86\IA32\MdeModulePkg\Core\Dxe\DxeMain\DEBUG\DxeCore. > pdb (ImageBase=3D3F8DB000, EntryPoint=3D3F8DB260) !!!! >=20 >=20 >=20 > Command used : CapsuleApp QUARKFIRMWAREUPDATECAPSULEFMPPKCS7.Cap >=20 >=20 > Thanks & Regards, > Aravind > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel