Hi Nate, In this webpage https://github.com/intel/FSP/wiki The link to coreboot.git is broken http://review.coreboot.org/coreboot.git How can I integrate Amberlake FSP with coreboot? Is there a guide? Thanks, Canh On Wed, Jul 22, 2020 at 11:11 PM Canh Kha wrote: > Thank you, Nate. > Canh > > On Wed, Jul 22, 2020 at 8:18 PM Desimone, Nathaniel L < > nathaniel.l.desimone@intel.com> wrote: > >> Hi Canh, >> >> >> >> Yes, the Intel Amberlake FSP has been automatically included in the FD >> file. The final FD file is found at >> C:\minnow\Build\KabylakeOpenBoardPkg\KabylakeRvp3\RELEASE_VS2015\FV\KABYLAKERVP3.fd >> >> >> >> In FITC, you would use KABYLAKERVP3.fd as your BIOS image when stitching >> the full IFWI (Integrated Firmware Image). >> >> >> >> Thanks, >> >> Nate >> >> >> >> *From: *Canh Kha >> *Date: *Wednesday, July 22, 2020 at 5:24 PM >> *To: *"Desimone, Nathaniel L" >> *Cc: *"devel@edk2.groups.io" , "Jiang, Guomin" < >> guomin.jiang@intel.com> >> *Subject: *Re: [edk2-devel] A problem to build KabyLake >> >> >> >> Hi Nate, >> >> Yes, I built it successfully with this command >> >> >py -3.8 build_bios.py -p KabylakeRvp3 -r >> >> >> >> post_build_ex >> Done >> Fd file can be found at >> C:\minnow\Build\KabylakeOpenBoardPkg\KabylakeRvp3\RELEASE_VS2015\FV\KABYLAKERVP3.fd >> >> >> >> From the build.log, I saw >> >> ... >> >> Generating FVMICROCODE FV >> >> Generate Region at Offset 0x590000 >> Region Size = 0x60000 >> Region File Name = c:\minnow\FSP\AmberLakeFspBinPkg/Fsp_Rebased_S.fd >> >> Generate Region at Offset 0x5F0000 >> Region Size = 0xBC000 >> Region File Name = c:\minnow\FSP\AmberLakeFspBinPkg/Fsp_Rebased_M.fd >> >> Generate Region at Offset 0x6AC000 >> Region Size = 0x14000 >> Region File Name = c:\minnow\FSP\AmberLakeFspBinPkg/Fsp_Rebased_T.fd >> >> Generate Region at Offset 0x6C0000 >> Region Size = 0x10000 >> Region Name = FV >> >> Generating FVADVANCEDPREMEMORY FV >> >> Generate Region at Offset 0x6D0000 >> Region Size = 0x130000 >> Region Name = FV >> >> Generating FVPREMEMORY FV >> >> GUID cross reference file can be found at >> c:\minnow\Build\KabylakeOpenBoardPkg\KabylakeRvp3\RELEASE_VS2015\FV\Guid.xref >> >> FV Space Information >> FVMICROCODE [59%Full] 655360 total, 387168 used, 268192 free >> FVPREMEMORY [6%Full] 1245184 total, 83200 used, 1161984 free >> FVPOSTMEMORYUNCOMPACT [52%Full] 65536 total, 34672 used, 30864 free >> FVPOSTMEMORY [%Full] 1572864 total, 11240 used, 1561624 free >> FVUEFIBOOTUNCOMPACT [98%Full] 2162688 total, 2121744 used, 40944 free >> FVUEFIBOOT [31%Full] 1966080 total, 619040 used, 1347040 free >> FVOSBOOTUNCOMPACT [83%Full] 393216 total, 329712 used, 63504 free >> FVLATESILICON [94%Full] 131072 total, 124336 used, 6736 free >> FVOSBOOT [24%Full] 589824 total, 141608 used, 448216 free >> FVSECURITYPREMEMORY [12%Full] 65536 total, 8152 used, 57384 free >> FVSECURITYPOSTMEMORY [%Full] 65536 total, 120 used, 65416 free >> FVSECURITYLATE [61%Full] 65536 total, 39992 used, 25544 free >> FVSECURITY [17%Full] 458752 total, 82008 used, 376744 free >> FVADVANCEDPREMEMORY [%Full] 65536 total, 120 used, 65416 free >> FVADVANCEDUNCOMPACT [100%Full] 120 total, 120 used, 0 free >> FVADVANCED [%Full] 327680 total, 272 used, 327408 free >> Build report can be found at C:\minnow\BuildReport.log >> >> - Done - >> Build end time: 19:06:19, Jul.22 2020 >> Build total time: 00:02:32 >> >> >> >> Does that mean this fd file has the Intel Amberlake FSP? >> >> When using Intel FITC to form a full image, I will need to pick this fd >> file, right? >> >> Thanks, >> >> Canh >> >> >> >> >> >> On Wed, Jul 22, 2020 at 6:44 PM Desimone, Nathaniel L < >> nathaniel.l.desimone@intel.com> wrote: >> >> Hi Canh, >> >> >> >> To build KabyLake please use edk2-platforms/Platform/Intel/build_bios.py >> >> >> >> Debug Build: build_bios.py -p KabylakeRvp3 -d >> >> Release Build: build_bios.py -p KabylakeRvp3 -r >> >> >> >> Thanks, >> >> Nate >> >> >> >> *From:* devel@edk2.groups.io *On Behalf Of *Canh >> Kha >> *Sent:* Wednesday, July 22, 2020 8:32 AM >> *To:* Jiang, Guomin >> *Cc:* devel@edk2.groups.io >> *Subject:* Re: [edk2-devel] A problem to build KabyLake >> >> >> >> 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 >> >> >> >>