From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.3812.1612498320023936756 for ; Thu, 04 Feb 2021 20:12:00 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=WvTzofnB; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: pony.ma@intel.com) IronPort-SDR: IdlCM9dtH5BYmoEhxxe9BKxTVpjZ1PlzmriKTVh+TDv0/b4ZvDWL5x/cFxgcMgv7iA7MyuF/06 56vAvF8U5U4A== X-IronPort-AV: E=McAfee;i="6000,8403,9885"; a="245447434" X-IronPort-AV: E=Sophos;i="5.81,154,1610438400"; d="scan'208,217";a="245447434" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2021 20:11:58 -0800 IronPort-SDR: DsJ7W0IKDc07mbBzPlg98DeoVBtSL9WZMS8GY00Ikj6D14Cw+q0xxv9DGNQwCoTgpKj2ZE6v1E mHThI8uVjejw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,154,1610438400"; d="scan'208,217";a="415646398" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga002.fm.intel.com with ESMTP; 04 Feb 2021 20:11:58 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021 20:11:57 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021 20:11:57 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Thu, 4 Feb 2021 20:11:57 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 4 Feb 2021 20:11:57 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fnff3kddfdw815vA8662Ephd+7bbpOnCgd6SY+ipSqIwNblRKkABd2s2eMBp7pIlDfQsGq80Fd3J4pt8ZjLr5AMlVgyIJdcvItY2CtfSWmf1iEYAApGfKaJq7LOahxfKRmp8WwVI43cuB5BAKH/n8FYxkQ/Pp4BSs2RpQek4I4sJCgMe/SDK7ngbOmPcvQS/6DTSYMgcovSNioBpnO9/Cbfiaegzc/qJnG3ztkcZpvypwWo+Lsz4kwMj21XnUVYQwUYePGI9kBu4Kf3SOVFORcv73mt43RXPPK0FH8vAiNsETHsz3sdkHBN3f26l+U/Cccwkn201iVsVqMYSdb1dPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kcTawdSX/lne/Bxt2OpTxo8qcW7pCaHczoTsD1pr6xo=; b=L4n+n7NuNe5SVe+IlUI4r/u53gMUQpMqgdciGrHlGN+l8n6nA1RYZaqdSmg0/goB+V9czVV9KQ1OMi/HPYHpj7kTb0vDo/IwR9bUS8ZyM/yAgNWjQmry0EBkRNh8msN+mn1HQDCTMWrYe3u2sjuND7DEOXgGjtEsvjlUXwGie9opa/Gf/iBaGEgpNaZz8Cp+Ed76aVR5YHI3xpdcmoEvZnzBrdIkuODhWXzF2lt6abe0VCiU03FHoOQoHTUY5w2f9OUD7x69MBbSs5kbHC4X27K4di6IrSbSqhMovzMXU5FpKSpV67DvGGAdSsgat+yoijGkeCHBIB9GTzBy+hepuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kcTawdSX/lne/Bxt2OpTxo8qcW7pCaHczoTsD1pr6xo=; b=WvTzofnBfOI8VLzR5T/qUwo/SuaUzgZ3I7Dm5d6SM38H2U1w8pAITT5na/tuUbT3mN5a6/AIxPmZ73cSbeAnv4T09wI7SVYZMivC2uXAbjr+oDKHkJL1nxlMgj+qmhnU98q2zaYq0lKIw7fakbMWniiX85RjrOKikEVJR2AvGhg= Received: from BYAPR11MB3095.namprd11.prod.outlook.com (2603:10b6:a03:91::26) by BYAPR11MB2856.namprd11.prod.outlook.com (2603:10b6:a02:bd::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.24; Fri, 5 Feb 2021 04:11:56 +0000 Received: from BYAPR11MB3095.namprd11.prod.outlook.com ([fe80::9dcf:f45f:7949:aa3f]) by BYAPR11MB3095.namprd11.prod.outlook.com ([fe80::9dcf:f45f:7949:aa3f%6]) with mapi id 15.20.3825.020; Fri, 5 Feb 2021 04:11:56 +0000 From: "Ma, Pony" To: "devel@edk2.groups.io" Subject: Help needed for ": error C0DE: Tools code failure" Thread-Topic: Help needed for ": error C0DE: Tools code failure" Thread-Index: Adb7dN1qqbcvDIKcQXuiqgJVhhH4zA== Date: Fri, 5 Feb 2021 04:11:56 +0000 Message-ID: Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.52.216] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 38806f7d-dc67-42a4-7220-08d8c98c2d42 x-ms-traffictypediagnostic: BYAPR11MB2856: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WZ2W/nOyMI5k+zqrK6lhkxrTnZVqICf/G+zU+GgduVyB92pmisxcrkIJXORF7/5A+b4BWKyCOvr5ZIjiB7QKWMyDvdnC2nZ6rPn2/GwN/SgksHUscuC98GtL1rHBXyxV94eP6j/DK75JLYJFOgWxBzngXaQM65OLK3U9OgI66hzcSMjjteOoSAoPVXCny0nwjVjXaIXCIBA48WHjgynCdkozKwYCEqd6oZdOlG7T2pF0iWtdsyXH7SIH5p27dSP2VcT+iKirm1JcAMRklP+vjQZEGcr1c3yjMHCrqsf07GzFbT4+Ug9Q/3olEF33v+op2ToQ4uHUSNmwmLhyurNW3C8Xks7SuKYhSSn1woXwzjVNI0K3M6kQGRaqi3UPwO7YOBlgvj8TknSBTTWstT2MiCJDDcarOO1GyDm6VLFt8P0kOvgkj2Bx9PYmJCYUuTF6QZjjKbdViMgp07r2Xp/eupnqcPdcOuAMPyAzZhgeoEJ2ac6Iam3GAwk/Zek77j9WvUlSxjSFI9VYc76aW+Qu33DCLiCcojJRoV5TcQ/RixmIrftX7t3wdziDZ0+XfBWl x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3095.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(39860400002)(366004)(136003)(396003)(376002)(346002)(5660300002)(26005)(9686003)(7696005)(33656002)(66476007)(66446008)(64756008)(66556008)(52536014)(66946007)(2906002)(186003)(478600001)(316002)(76116006)(55016002)(86362001)(8676002)(71200400001)(6506007)(8936002)(83380400001)(6916009)(32563001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?khhXBcTB+OZl/lHBqPjQIgYdONTOfUmH4/DDGZ+XAuGl+/wTlXpNb8VESetH?= =?us-ascii?Q?BLOcjkmeTbfK2C9wPkEpaDD8VZUaZcGhK6g2ULYOGuB1LdGxqEamLqF/9yTe?= =?us-ascii?Q?SWDR7a1ILKhB3rqKaPOwIMbo1NSW4BCMILcirjk2txosdisqQsqGgR0wcIsY?= =?us-ascii?Q?e0bGaDR7JK3HE3d5GW2mkDUU5ZgrEGpaAcHHCmhC/ej3jFc2dQ9G3ray5oNT?= =?us-ascii?Q?pcFy84vMLYDDtsu1csVG4MQx5j2+tEuBsVnRlSf0AotxwnUom51Eg/sAAQBf?= =?us-ascii?Q?/FEIcbMvxEi3cBZbFGJBAg1RZyOuVZ0gg2IRLrmRjiSKNikrV4HC49mWCTJJ?= =?us-ascii?Q?gk/SduCwKTwhAZ91AUHSKgOhJdnscJA1z8NSem6SkmPfjHWyzCS9na1Qs3Kj?= =?us-ascii?Q?HHgHJT8V8mWcIeCA0o12ZHUj4a2xBx6s51SJogebA3fSqL4LqxJzz0Y8cQ0F?= =?us-ascii?Q?prum06j4exvlhKsaUSfTC8GZ/Wp6X8oyAWYy7LUEyBh2EoVZ8oPG7P7FzOTj?= =?us-ascii?Q?5N9duGlWNzv8ajVsUiJxzGoUQIx1ITv8Iq3+raYdjCKXrbDRAOb84ycjOzZd?= =?us-ascii?Q?nsX5PWjlPCZU6vfp8xcM8HHfjR4zQeYXTHxz2cJP5YZOs6X1oaPk2ZuBBAG5?= =?us-ascii?Q?gwnbOYyz6HO1YSnFJpG1jAFhdrCyCeOHZIVo0zPYdBGo50uUsixZT/9ISGwS?= =?us-ascii?Q?eulrsXlwWaZWMgRYxHHm8SkTcKz3p5RK7GRgknYZtLb0iVk8JiTmmhvVDiDb?= =?us-ascii?Q?F1sXvSIbbspBEjqXpiaI30AOwyyn7xd+sqRsPAsyxHjrNZ69EmbLVnmmi5Mq?= =?us-ascii?Q?shnzxCCReT7wf2Dg+AEl6rggvAX5GSux/6mXd3picW/KtglffOXtFLvnTfZr?= =?us-ascii?Q?04i5A5a6eyq/sowfmtYxMdqRWbY1aJtMV1sobjIKaCk1EeLPdIah0RdEugDQ?= =?us-ascii?Q?JDtIO44E2hhSre8JU8etZg6ULd19BHmlY6ARgM+UoavYmHhBVWFj/AtoOVqF?= =?us-ascii?Q?9/9/SmJXwPNLcgjFRRSpBqaSAAv4r01Podr7nQRgxooJIKnHdbFbBwhls6Gz?= =?us-ascii?Q?JLSmFzKT3VEn6L8XshBOUyQeBoxLK5V18Z+IPV3+isdiiHev6+YyNHZnlSXB?= =?us-ascii?Q?Y4/NVyQEUgg6DkkoC537hJzWKcJMI0OAMXtgudrSPFE8yJXhoXIfjHdDReYP?= =?us-ascii?Q?r8qGIp2srvF8EqhtsgWQUz/iIoLT7vgeBJWq4Odz7AsO31bFgSI9vhQbJAqN?= =?us-ascii?Q?xd/C5Nz+yUL5hD1/ts50utvIRXoTMf86x204oIUU3X+qMTu2UZpUkpmAxw3v?= =?us-ascii?Q?uZHa76GwARFf3dwRQFvIcp9u?= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3095.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 38806f7d-dc67-42a4-7220-08d8c98c2d42 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2021 04:11:56.3319 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xdOU3B8evEGud3yJ1tNO/vfmjoydXZldTinxOU3OeEqfY5w21pyKLCTkT1iC1yrst+Mhewr/KlkAVpze55fSlg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2856 Return-Path: pony.ma@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BYAPR11MB30956DE9D812445D3F7FB7F3E5B29BYAPR11MB3095namp_" --_000_BYAPR11MB30956DE9D812445D3F7FB7F3E5B29BYAPR11MB3095namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi there, I'm trying to build ADL code but always run into the failure as below log. I follow the message to send this mail to you. Can you please point me what= 's wrong? Building ... d:\ext\adlv2017\Intel\ClientOneSiliconPkg\Fsp\FspEndOfPei2\Fsp= EndOfPei2Peim.inf [IA32] Fd File Name:FSP (D:\Ext\ADLv2017\Build\AlderLakeFspPkg\DEBUG_VS2017\FV\FSP= .fd) Generate Region at Offset 0x0 Region Size =3D 0x91000 Region Name =3D FV Generating FSP-S FV #### build.py... : error C0DE: Tools code failure Please send email to devel@edk2.groups.io for help, attaching follo= wing call stack trace! Traceback (most recent call last): File "D:\Ext\ADLv2017\Edk2\BaseTools\Source\Python\GenFds\GenFds.py", lin= e 371, in GenFdsApi GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList) File "D:\Ext\ADLv2017\Edk2\BaseTools\Source\Python\GenFds\GenFds.py", lin= e 510, in GenFd FdObj.GenFd() File "D:\Ext\ADLv2017\Edk2\BaseTools\Source\Python\GenFds\Fd.py", line 13= 1, in GenFd RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSizeList, = self.ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.DefineVarDict, = Flag=3DFlag) File "D:\Ext\ADLv2017\Edk2\BaseTools\Source\Python\GenFds\Region.py", lin= e 134, in AddToBuffer FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePo= larity, Flag=3DFlag) File "D:\Ext\ADLv2017\Edk2\BaseTools\Source\Python\GenFds\Fv.py", line 12= 7, in AddToBuffer FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMa= kefile=3DFlag, FvName=3Dself.UiFvName) File "D:\Ext\ADLv2017\Edk2\BaseTools\Source\Python\GenFds\FfsFileStatemen= t.py", line 156, in GenFfs sectList, align =3D section.GenSection(OutputDir, self.NameGuid, SecInd= ex, self.KeyStringList, None, Dict) File "D:\Ext\ADLv2017\Edk2\BaseTools\Source\Python\GenFds\CompressSection= .py", line 67, in GenSection ReturnSectList, AlignValue =3D Sect.GenSection(OutputPath, ModuleName, = SecIndex, KeyStringList, FfsInf, Dict, IsMakefile=3DIsMakefile) File "D:\Ext\ADLv2017\Edk2\BaseTools\Source\Python\GenFds\UiSection.py", = line 70, in GenSection GenFdsGlobalVariable.GenerateSection(OutputFile, None, 'EFI_SECTION_USE= R_INTERFACE', Ui=3DNameString, IsMakefile=3DIsMakefile) File "D:\Ext\ADLv2017\Edk2\BaseTools\Source\Python\GenFds\GenFdsGlobalVar= iable.py", line 466, in GenerateSection SectionData.fromstring(Ui.encode("utf_16_le")) AttributeError: 'array.array' object has no attribute 'fromstring' build.py... : error 7000: Failed to execute command - Failed - Build end time: 12:08:06, Feb.05 2021 Build total time: 00:00:31 !!! ERROR:FSP build Failed !!! D:\Ext\ADLv2017\Intel\ClientOneSiliconPkg\Fsp\BuildFsp.cmd AlderLake AlderL= ake /d ---------------- ACTIVE_PLATFORM =3D D:\Ext\ADLv2017\Intel/AlderLakeBoardPkg/BoardPkg.dsc ACTIVE FLASH MAP FDF =3D D:\Ext\ADLv2017\Intel\AlderLakeBoardPkg\Include\Fd= f\FlashMapInclude.fdf ---------------- The BIOS Build has failed! D:\Ext\ADLv2017\Intel\AlderLakeBoardPkg> Thanks! B. regards, Pony DID : +886 2 66221754 --_000_BYAPR11MB30956DE9D812445D3F7FB7F3E5B29BYAPR11MB3095namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi there,

 

I’m trying to build ADL code but always run in= to the failure as below log.

I follow the message to send this mail to you. Can y= ou please point me what’s wrong?

 

 

Building ... d:\ext\adlv2017\Intel\ClientOneSiliconP= kg\Fsp\FspEndOfPei2\FspEndOfPei2Peim.inf [IA32]

 

Fd File Name:FSP (D:\Ext\ADLv2017\Build\AlderLakeFsp= Pkg\DEBUG_VS2017\FV\FSP.fd)

 

Generate Region at Offset 0x0

   Region Size =3D 0x91000

   Region Name =3D FV

 

Generating FSP-S FV

####

 

build.py...

: error C0DE: Tools code failure

        Please se= nd email to devel@edk2.groups.io for help, attaching following call stack t= race!

 

Traceback (most recent call last):

  File "D:\Ext\ADLv2017\Edk2\BaseTools\Sou= rce\Python\GenFds\GenFds.py", line 371, in GenFdsApi

    GenFds.GenFd('', FdfParserObj, Bu= ildWorkSpace, ArchList)

  File "D:\Ext\ADLv2017\Edk2\BaseTools\Sou= rce\Python\GenFds\GenFds.py", line 510, in GenFd

    FdObj.GenFd()

  File "D:\Ext\ADLv2017\Edk2\BaseTools\Sou= rce\Python\GenFds\Fd.py", line 131, in GenFd

    RegionObj.AddToBuffer (FdBuffer, = self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFdsGlobalVaria= ble.ImageBinDict, self.DefineVarDict, Flag=3DFlag)

  File "D:\Ext\ADLv2017\Edk2\BaseTools\Sou= rce\Python\GenFds\Region.py", line 134, in AddToBuffer

    FvObj.AddToBuffer(FvBuffer, FvBas= eAddress, BlockSize, BlockNum, ErasePolarity, Flag=3DFlag)

  File "D:\Ext\ADLv2017\Edk2\BaseTools\Sou= rce\Python\GenFds\Fv.py", line 127, in AddToBuffer

    FileName =3D FfsFile.GenFfs(Macro= Dict, FvParentAddr=3DBaseAddress, IsMakefile=3DFlag, FvName=3Dself.UiFvName= )

  File "D:\Ext\ADLv2017\Edk2\BaseTools\Sou= rce\Python\GenFds\FfsFileStatement.py", line 156, in GenFfs=

    sectList, align =3D section.GenSe= ction(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict)

  File "D:\Ext\ADLv2017\Edk2\BaseTools\Sou= rce\Python\GenFds\CompressSection.py", line 67, in GenSection

    ReturnSectList, AlignValue =3D Se= ct.GenSection(OutputPath, ModuleName, SecIndex, KeyStringList, FfsInf, Dict= , IsMakefile=3DIsMakefile)

  File "D:\Ext\ADLv2017\Edk2\BaseTools\Sou= rce\Python\GenFds\UiSection.py", line 70, in GenSection

    GenFdsGlobalVariable.GenerateSect= ion(OutputFile, None, 'EFI_SECTION_USER_INTERFACE', Ui=3DNameString, IsMake= file=3DIsMakefile)

  File "D:\Ext\ADLv2017\Edk2\BaseTools\Sou= rce\Python\GenFds\GenFdsGlobalVariable.py", line 466, in GenerateSecti= on

    SectionData.fromstring(Ui.encode(= "utf_16_le"))

AttributeError: 'array.array' object has no attribut= e 'fromstring'

 

 

 

build.py...

: error 7000: Failed to execute command

 

 

- Failed -

Build end time: 12:08:06, Feb.05 2021

Build total time: 00:00:31

 

!!! ERROR:FSP build Failed !!!

D:\Ext\ADLv2017\Intel\ClientOneSiliconPkg\Fsp\BuildF= sp.cmd AlderLake AlderLake /d

 

----------------

ACTIVE_PLATFORM =3D D:\Ext\ADLv2017\Intel/AlderLakeB= oardPkg/BoardPkg.dsc

ACTIVE FLASH MAP FDF =3D D:\Ext\ADLv2017\Intel\Alder= LakeBoardPkg\Include\Fdf\FlashMapInclude.fdf

----------------

 

 

The BIOS Build has failed!

 

 

D:\Ext\ADLv2017\Intel\AlderLakeBoardPkg>

 

Thanks!

 =

B. regards,

Pony

 

DID : +886 2 66221754

 

--_000_BYAPR11MB30956DE9D812445D3F7FB7F3E5B29BYAPR11MB3095namp_--