UEFI Build Error

hi,friends,
我正在编译JetPack5.1.3的UEFI程序,出现了如下错误,可以帮忙看一下吗,我的host环境是ubuntu20.04

root@computer:/home/jyh/work/edkrepo2/nvidia-uefi# edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /home/jyh/work/edkrepo2/nvidia-uefi
nvidia: found command: python3.
nvidia: found command: virtualenv.
nvidia: found command: mono.
nvidia: found command: aarch64-linux-gnu-gcc.
nvidia: Activating Python virtual environment.
nvidia: Building from tarball
nvidia: Updating build environment (edk2-nvidia/Platform/NVIDIA/Jetson/PlatformBuild.py).
SECTION - Init SDE
SECTION - Loading Plugins
SECTION - Start Invocable Tool
SECTION - Initial update of environment
Updating. Done
SECTION - 	Updated/Verified 2 dependencies
SECTION - Second pass update of environment
Updating. Done
SECTION - 	Updated/Verified 2 dependencies
SECTION - Summary
PROGRESS - Success
nvidia: Building basetools.
SECTION - Init SDE
SECTION - Loading Plugins
SECTION - Start Invocable Tool
Traceback (most recent call last):
  File "edk2/BaseTools/Edk2ToolsBuild.py", line 177, in <module>
    main()
  File "edk2/BaseTools/Edk2ToolsBuild.py", line 173, in main
    Edk2ToolsBuild().Invoke()
  File "/home/jyh/work/edkrepo2/nvidia-uefi/venv/lib/python3.8/site-packages/edk2toolext/base_abstract_invocable.py", line 146, in Invoke
    retcode = self.Go()
  File "edk2/BaseTools/Edk2ToolsBuild.py", line 148, in Go
    raise Exception("Failed to build.")
Exception: Failed to build.
root@computer:/home/jyh/work/edkrepo2/nvidia-uefi# bash edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /home/jyh/work/edkrepo2/nvidia-uefi
nvidia: found command: python3.
nvidia: found command: virtualenv.
nvidia: found command: mono.
nvidia: found command: aarch64-linux-gnu-gcc.
nvidia: Activating Python virtual environment.
nvidia: Building from tarball
nvidia: Updating build environment (edk2-nvidia/Platform/NVIDIA/Jetson/PlatformBuild.py).
SECTION - Init SDE
SECTION - Loading Plugins
SECTION - Start Invocable Tool
SECTION - Initial update of environment
Updating. Done
SECTION - 	Updated/Verified 2 dependencies
SECTION - Second pass update of environment
Updating. Done
SECTION - 	Updated/Verified 2 dependencies
SECTION - Summary
PROGRESS - Success
nvidia: Building basetools.
SECTION - Init SDE
SECTION - Loading Plugins
SECTION - Start Invocable Tool
Traceback (most recent call last):
  File "edk2/BaseTools/Edk2ToolsBuild.py", line 177, in <module>
    main()
  File "edk2/BaseTools/Edk2ToolsBuild.py", line 173, in main
    Edk2ToolsBuild().Invoke()
  File "/home/jyh/work/edkrepo2/nvidia-uefi/venv/lib/python3.8/site-packages/edk2toolext/base_abstract_invocable.py", line 146, in Invoke
    retcode = self.Go()
  File "edk2/BaseTools/Edk2ToolsBuild.py", line 148, in Go
    raise Exception("Failed to build.")
Exception: Failed to build.

Hi jiangyinghao,

How did you clone the UEFI source?

We would suggest using Build with docker · NVIDIA/edk2-nvidia Wiki · GitHub to build it.

好的,谢谢,已解决

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.