public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Canh Kha <canhkha26@gmail.com>
To: "Jiang, Guomin" <guomin.jiang@intel.com>
Cc: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: [edk2-devel] A problem to build KabyLake
Date: Wed, 22 Jul 2020 10:32:29 -0500	[thread overview]
Message-ID: <CADuiv5pxtwtQ09QCkZqxpUuLNs_JZO3JMuRPyxZkKM+A6eP0+Q@mail.gmail.com> (raw)
In-Reply-To: <BL0PR11MB2946214BB43769CC85E93C009D790@BL0PR11MB2946.namprd11.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 4213 bytes --]

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 <guomin.jiang@intel.com>
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 <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
>
> 
>

[-- Attachment #2: Type: text/html, Size: 6596 bytes --]

  reply	other threads:[~2020-07-22 15:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-22  5:12 A problem to build KabyLake Canh Kha
2020-07-22 10:47 ` [edk2-devel] " Guomin Jiang
2020-07-22 15:32   ` Canh Kha [this message]
2020-07-22 23:44     ` Nate DeSimone
2020-07-23  0:23       ` Canh Kha
2020-07-23  1:18         ` Nate DeSimone
2020-07-23  4:11           ` Canh Kha
2020-08-12  4:33             ` Canh Kha

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=CADuiv5pxtwtQ09QCkZqxpUuLNs_JZO3JMuRPyxZkKM+A6eP0+Q@mail.gmail.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