From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) by mx.groups.io with SMTP id smtpd.web12.21564.1595431961621701067 for ; Wed, 22 Jul 2020 08:32:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rq1KLL4v; spf=pass (domain: gmail.com, ip: 209.85.217.41, mailfrom: canhkha26@gmail.com) Received: by mail-vs1-f41.google.com with SMTP id x13so1358011vsx.13 for ; Wed, 22 Jul 2020 08:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cP0up9m90Jke5dM5oN2JRNHW8yNilfp2eH3jaZWYLOk=; b=rq1KLL4v2Mc13SRXmIu5XBOiZd6lrjK621mN4dgDUe15LukkX5TS9tNZwwQr8tKb79 mzL0yNOdkAepoQdQmCrG12ynjugo1dgYHliBu7+rtgxD+BRCnUHuBRWVlbDsZsrd1btL HkY75Ijd5jvKUeoB+lxve0Bv6QMf545MG/7GQ5X67RX0qtaQDjYqw47MyikypW4HDYF3 zztM+4bkD2ePVltQ5I4qVe8q8qSVemPCvHIg43UvuNY5j7ZejObhr3kXh7srTb4u1Vql WNmwUJ4M7xPDh2i6ulKwLE2GURJqCBSkfidluIfNQCIBUu1raWbY8WOOEGj3C9/pMCqi NhMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cP0up9m90Jke5dM5oN2JRNHW8yNilfp2eH3jaZWYLOk=; b=HwPw7dFqy+T98c3MofuPr8GdePRvFr3K3HyV8TUVPjM+fQmKUS5CITR8dhdZtfyU7D c/11UbLESAB5A4aFLKfkt1J84Z6qUU9l51Od0D1cT2MxHgnBExoK5ac2bVdOq37Vz53R n+2azbq3IwdnW3bdbvJpMbDkc9NzVmWv6BCtZ04Pjy/6uG4cNfk8CVy3y1wZx2h3X/eo 4E2MhRGMD3D0rzpKfGv5yyFSn7QR3rBWliAFSntJn5F4yLTxoUXnnsx+sp5mF9ocRIOp vgcfNUliCb2zIAd3o3FjCybgsMgQsOVVOa0E9aEfZWXOlfIrermmtI/M8c9svEanF5J+ GDeQ== X-Gm-Message-State: AOAM532Toi1viZZpwMwIFHtvAaZ7y48CXKvpZTkisiBNznfbe+i/HCxV 9Lb+hz5f02IF7v9RBnPfW9UKruZ2BD8wXlnhdO0= X-Google-Smtp-Source: ABdhPJx/Vtfuf9ldZ39WDSGlvQN2vuB+RdhVEHRZHb+2aeIMq4QDBDVI/nwEgbU5rQqSOj60LXMPAmjX5xBBg/t0R28= X-Received: by 2002:a67:b641:: with SMTP id e1mr354481vsm.19.1595431960725; Wed, 22 Jul 2020 08:32:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Canh Kha Date: Wed, 22 Jul 2020 10:32:29 -0500 Message-ID: Subject: Re: [edk2-devel] A problem to build KabyLake To: "Jiang, Guomin" Cc: "devel@edk2.groups.io" Content-Type: multipart/alternative; boundary="000000000000484dc505ab097375" --000000000000484dc505ab097375 Content-Type: text/plain; charset="UTF-8" Hi Guomin, Yes, I also have the same file as you do >dir C:\minnow\edk2-platforms\Features\Intel\AdvancedFeaturePkg\Include\PreMemory.fdf Volume in drive C is OS Volume Serial Number is CCF3-B399 Directory of C:\minnow\edk2-platforms\Features\Intel\AdvancedFeaturePkg\Include 07/11/2020 03:26 PM 1,779 PreMemory.fdf 1 File(s) 1,779 bytes But for some reason, the script seems looking for it from a different directory. Thank you, Canh On Wed, Jul 22, 2020 at 5:47 AM Jiang, Guomin wrote: > It confuse me that near line 60, column 0: !include > LogoFeaturePkg/Include/PreMemory.fdf. > > > > In my local machine, the PreMemory.fdf should be > AdvancedFeaturePkg/Include/PreMemory.fdf, > > > > I can also find this file in directory > edk2-platforms\Features\Intel\AdvancedFeaturePkg\Include. > > > > Please confirm it. > > > > Thanks. > > Guomin > > *From:* devel@edk2.groups.io * On Behalf Of *Canh > Kha > *Sent:* Wednesday, July 22, 2020 1:13 PM > *To:* devel@edk2.groups.io > *Subject:* [edk2-devel] A problem to build KabyLake > > > > Hi, > > When I ran this build command > > build -a IA32 -a X64 -n 5 -t VS2015x86 -b DEBUG -p > KabylakeOpenBoardPkg\KabylakeRvp3\OpenBoardPkg.dsc > > I received the following message > > > build.py... > : error C0DE: Unknown fatal error when processing > [c:\minnow\edk2-platforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3\OpenBoardPkg.dsc] > > (Please send email to devel@edk2.groups.io for help, attaching following > call stack trace!) > > (Python 3.8.3 on win32) Traceback (most recent call last): > File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py", line 2636, > in Main > MyBuild.Launch() > File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py", line 2431, > in Launch > self._MultiThreadBuildPlatform() > File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py", line 2238, > in _MultiThreadBuildPlatform > Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain) > File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py", line 2088, > in PerformAutoGen > Wa = WorkspaceAutoGen( > File > "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line > 43, in __init__ > self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, > **kwargs) > File > "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line > 112, in _InitWorker > self.ProcessModuleFromPdf() > File > "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line > 188, in ProcessModuleFromPdf > if self.FdfProfile: > File "C:\minnow\edk2\BaseTools\Source\Python\Common\caching.py", line > 28, in __get__ > Value = obj.__dict__[self._function.__name__] = self._function(obj) > File > "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line > 164, in FdfProfile > Fdf.ParseFile() > File "C:\minnow\edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line > 1312, in ParseFile > self.Preprocess() > File "C:\minnow\edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line > 1291, in Preprocess > self.PreprocessIncludeFile() > File "C:\minnow\edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line > 624, in PreprocessIncludeFile > raise Warning("The include file does not exist under below > directories: \n%s\n%s\n%s\n"%(os.path.dirname(self.FileName), PlatformDir, > GlobalData.gWorkspace), > GenFds.FdfParser.Warning: The include file does not exist under below > directories: > c:\minnow\edk2-platforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3 > c:\minnow\edk2-platforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3 > c:\minnow > near line 60, column 0: !include LogoFeaturePkg/Include/PreMemory.fdf > > > > - Failed - > Build end time: 00:01:19, Jul.22 2020 > Build total time: 00:00:00 > > > > This is my PACKAGES_PATH > > > C:\minnow\edk2;C:\minnow\edk2-platforms\Silicon\Intel;C:\minnow\edk2-platforms\Platform\Intel;;C:\minnow\edk2-platforms\Features\Intel;C:\minnow\edk2-non-osi\Silicon\Intel;C:\minnow\FSP > > Could you help to give me some suggestions to try? > > Thanks, > > Canh > > > --000000000000484dc505ab097375 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Guomin,

Yes, I also have the sa= me file as you do
>dir C:\minnow\edk2-platforms\Features\Intel= \AdvancedFeaturePkg\Include\PreMemory.fdf
=C2=A0Volume in drive C is OS<= br>=C2=A0Volume Serial Number is CCF3-B399

=C2=A0Directory of C:\min= now\edk2-platforms\Features\Intel\AdvancedFeaturePkg\Include

07/11/2= 020 =C2=A003:26 PM =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1,779 PreMemor= y.fdf
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01 File(s) = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01,779 bytes

But for some reason, the script seems looking for it from a=C2=A0different= = =C2=A0directory.
Thank you,
Canh

On Wed, Jul 22, = 2020 at 5:47 AM Jiang, Guomin <guomin.jiang@intel.com> wrote:

=C2=A0It confuse me that near line 60, column 0: = =C2=A0 !include LogoFeaturePkg/Include/PreMemory.fdf.

=C2=A0

In my local machine, the PreMemory.fdf should be Ad= vancedFeaturePkg/Include/PreMemory.fdf,

=C2=A0

I can also find this file in directory edk2-platfor= ms\Features\Intel\AdvancedFeaturePkg\Include.

=C2=A0

Please confirm it.

=C2=A0

Thanks.

Guomin

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Canh Kha
Sent: Wednesday, July 22, 2020 1:13 PM
To: devel= @edk2.groups.io
Subject: [edk2-devel] A problem to build KabyLake

=C2=A0

Hi,

When I ran this build command

build -a IA32 -a X64 -n 5 -t VS2015x86 -b DEBUG -p = KabylakeOpenBoardPkg\KabylakeRvp3\OpenBoardPkg.dsc

I received the following message


build.py...
=C2=A0: error C0DE: Unknown fatal error when processing [c:\minnow\edk2-pl= atforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3\OpenBoardPkg.dsc]<= br>
(Please send email to devel@edk2.groups.io for help, attaching following call stack tra= ce!)

(Python 3.8.3 on win32) Traceback (most recent call last):
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py&qu= ot;, line 2636, in Main
=C2=A0 =C2=A0 MyBuild.Launch()
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py&qu= ot;, line 2431, in Launch
=C2=A0 =C2=A0 self._MultiThreadBuildPlatform()
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py&qu= ot;, line 2238, in _MultiThreadBuildPlatform
=C2=A0 =C2=A0 Wa, self.BuildModules =3D self.PerformAutoGen(BuildTarget,To= olChain)
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\build\build.py&qu= ot;, line 2088, in PerformAutoGen
=C2=A0 =C2=A0 Wa =3D WorkspaceAutoGen(
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\Workspace= AutoGen.py", line 43, in __init__
=C2=A0 =C2=A0 self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arc= h, *args, **kwargs)
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\Workspace= AutoGen.py", line 112, in _InitWorker
=C2=A0 =C2=A0 self.ProcessModuleFromPdf()
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\Workspace= AutoGen.py", line 188, in ProcessModuleFromPdf
=C2=A0 =C2=A0 if self.FdfProfile:
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\Common\caching.py= ", line 28, in __get__
=C2=A0 =C2=A0 Value =3D obj.__dict__[self._function.__name__] =3D self._fu= nction(obj)
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\AutoGen\Workspace= AutoGen.py", line 164, in FdfProfile
=C2=A0 =C2=A0 Fdf.ParseFile()
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\GenFds\FdfParser.= py", line 1312, in ParseFile
=C2=A0 =C2=A0 self.Preprocess()
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\GenFds\FdfParser.= py", line 1291, in Preprocess
=C2=A0 =C2=A0 self.PreprocessIncludeFile()
=C2=A0 File "C:\minnow\edk2\BaseTools\Source\Python\GenFds\FdfParser.= py", line 624, in PreprocessIncludeFile
=C2=A0 =C2=A0 raise Warning("The include file does not exist under be= low directories: \n%s\n%s\n%s\n"%(os.path.dirname(self.FileName), Plat= formDir, GlobalData.gWorkspace),
GenFds.FdfParser.Warning: The include file does not exist under below dire= ctories:
c:\minnow\edk2-platforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3<= br> c:\minnow\edk2-platforms\Platform\Intel\KabylakeOpenBoardPkg\KabylakeRvp3<= br> c:\minnow
=C2=A0near line 60, column 0: =C2=A0 !include LogoFeaturePkg/Include/PreMe= mory.fdf



- Failed -
Build end time: 00:01:19, Jul.22 2020
Build total time: 00:00:00

=C2=A0

This is my PACKAGES_PATH

C:\minnow\edk2;C:\minnow\edk2-platforms\Silicon\Int= el;C:\minnow\edk2-platforms\Platform\Intel;;C:\minnow\edk2-platforms\Featur= es\Intel;C:\minnow\edk2-non-osi\Silicon\Intel;C:\minnow\FSP

Could you help to give me some suggestions to=C2=A0= try?

Thanks,

Canh

--000000000000484dc505ab097375--