EDK2 Stable202308来了

上个月edk2 202308 正式发布在:

https://github.com/tianocore/edk2/releases/tag/edk2-stable202308

从 History 来看,改动并不大:

和之前类似,这里放上一个完整版,补全了所有的三方库,大小是107MB 左右。

https://pan.baidu.com/s/1rQf19nHbpxDdwB5DJkVi0w?pwd=LABZ

提取码: LABZ

此外,为了方便初学者,这里提供一个配置好的 Win10+VS2019 EDK2 环境,导入即可上手:

https://pan.baidu.com/s/1B9aFEcRur8xY4g1X6Fdgcg?pwd=labz

提取码: labz

《EDK2 Stable202308来了》有6个想法

  1. 请问博主有没有出现编译OvmfPkg失败的问题,我自己搭建的环境Windows + VS2019编译OvmfPkg过不了,试过MdePkg和EmulatorPkg都是可以编译的

      1. Python版本:3.11.5 Nasm版本:2.16.01,branch切到的stable-202308的tag,挂了梯子,submodule完备,ShellPkg和EmulatorPkg都能编过,就是OvmfPkg编译有问题
        1.执行build -t VS2019 -a IA32 -a X64 -p OvmfPkg\OvmfPkgIa32X64.dsc出现
        build.py...
        : error 7000: Failed to execute command
        C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe /nologo tbuild [d:\code\edk2-stable202308\Build\Ovmf3264\DEBUG_VS2019\IA32\OvmfPkg\Library\BaseMemEncryptSevLib\SecMemEncryptSevLib]

        build.py...
        : error 7000: Failed to execute command
        C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe /nologo tbuild [d:\code\edk2-stable202308\Build\Ovmf3264\DEBUG_VS2019\IA32\OvmfPkg\Library\BaseMemEncryptSevLib\PeiMemEncryptSevLib]

        build.py...
        : error F002: Failed to build module
        d:\code\edk2-stable202308\OvmfPkg\Library\BaseMemEncryptSevLib\SecMemEncryptSevLib.inf [IA32, VS2019, DEBUG]

        - Failed -

        2.执行build -t VS2019 -a IA32 -p OvmfPkg\OvmfPkgIa32.dsc出现
        build.py...
        : error 7000: Failed to execute command
        C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe /nologo tbuild [d:\code\edk2-stable202308\Build\OvmfIa32\DEBUG_VS2019\IA32\UefiCpuPkg\Library\MicrocodeLib\MicrocodeLib]

        build.py...
        : error 7000: Failed to execute command
        C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe /nologo tbuild [d:\code\edk2-stable202308\Build\OvmfIa32\DEBUG_VS2019\IA32\UefiCpuPkg\Library\MtrrLib\MtrrLib]

        build.py...
        : error 7000: Failed to execute command
        C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe /nologo tbuild [d:\code\edk2-stable202308\Build\OvmfIa32\DEBUG_VS2019\IA32\UefiCpuPkg\Library\BaseXApicX2ApicLib\BaseXApicX2ApicLib]

        build.py...
        : error 7000: Failed to execute command
        C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe /nologo tbuild [d:\code\edk2-stable202308\Build\OvmfIa32\DEBUG_VS2019\IA32\UefiCpuPkg\Library\MpInitLib\DxeMpInitLib]

        build.py...
        : error F002: Failed to build module
        d:\code\edk2-stable202308\UefiCpuPkg\Library\MicrocodeLib\MicrocodeLib.inf [IA32, VS2019, DEBUG]

        - Failed -

        3.执行build -t VS2019 -a X64 -p OvmfPkg\OvmfPkgX64.dsc 出现
        build.py...
        : error 7000: Failed to execute command
        C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe /nologo tbuild [d:\code\edk2-stable202308\Build\OvmfX64\DEBUG_VS2019\X64\OvmfPkg\Library\BaseMemEncryptSevLib\SecMemEncryptSevLib]

        build.py...
        : error 7000: Failed to execute command
        C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe /nologo tbuild [d:\code\edk2-stable202308\Build\OvmfX64\DEBUG_VS2019\X64\OvmfPkg\Library\CcExitLib\SecCcExitLib]

        1. 我试验了一下你的编译命令,我这边可以正常编译。

          你看一下 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x86\nmake.exe

          这个是否存在?

          1. 这个是存在的,cmd打开显示是Microsoft (R) 程序维护实用工具 14.29.30151.0 版,我补充说明的EmulatorPkg和ShellPkg能编译pass也是想说明我本地编译环境ok这一点,按理说edk2 release有CICD去跑GCC和VS2019工具链,我也没往OvmfPkg上想,但没找出来本地环境哪里有问题,就是编译不了Ovmf

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注