According to the documentation, we found the compilation wiki for UEFI.
We compiled UEFI without docker because we used Ubutnu 18.04.
But encountered the following error:
hluo@CSCD-csp1:~/jeston_orin/my_build/nvidia-uefi [main]$ ls
edk2 edk2-non-osi edk2-nvidia edk2-nvidia-non-osi edk2-nvidia-server-gpu-sdk edk2-platforms repo venv
hluo@CSCD-csp1:~/jeston_orin/my_build/nvidia-uefi [main]$ edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /cscd/hluo/jeston_orin/my_build/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: Updating build environment (edk2-nvidia/Platform/NVIDIA/Jetson/PlatformBuild.py).
edk2-nvidia/Silicon/NVIDIA/scripts/prepare_stuart.sh: line 40: stuart_update: command not found
hluo@CSCD-csp1:~/jeston_orin/my_build/nvidia-uefi [main]$
Since my computer is not Ubuntu 20, I cannot use the method with docker.
So I checked again, including changing the computer, which is also ubuntu18.04.
But I still haven’t found the reason for the error.
The log is here:
But the fetch failed error was prompted,log is here:
csp@csp-ThinkPad-T580:~/edkrepo$ edkrepo clone nvidia-uefi-r35.2.1 NVIDIA-Jetson r35.2.1
Syncing the global manifest repository: /home/csp/.edkrepo/edk2-edkrepo-manifest-main
Syncing the global manifest repository: /home/csp/.edkrepo/nvidia
Verifying the global manifest repository entry for project: NVIDIA-Jetson
Cloning from: GitHub - NVIDIA/edk2: NVIDIA fork of tianocore/edk2
Cloning from: GitHub - NVIDIA/edk2-non-osi: NVIDIA fork of tianocore/edk2-non-osi
Cloning from: GitHub - NVIDIA/edk2-platforms: NVIDIA fork of tianocore/edk2-platforms
Cloning from: GitHub - NVIDIA/edk2-nvidia: NVIDIA EDK2 platform support
Cloning from: GitHub - NVIDIA/edk2-nvidia-non-osi: NVIDIA EDK2 non-OSI licensed content
Initializing/Updating submodules% (24/24), done.
Submodule path ‘ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3’: checked out ‘b64af41c3276f97f0e181920400ee056b9c88037’
Submodule path ‘BaseTools/Source/C/BrotliCompress/brotli’: checked out ‘f4153a09f87cbb9c826d8fc12c74642bb2d879ea’
Submodule path ‘CryptoPkg/Library/OpensslLib/openssl’: checked out ‘d82e959e621a3d597f1e0d50ff8c2d8b96915fd7’
Submodule path ‘MdeModulePkg/Library/BrotliCustomDecompressLib/brotli’: checked out ‘f4153a09f87cbb9c826d8fc12c74642bb2d879ea’
Submodule path ‘MdeModulePkg/Universal/RegularExpressionDxe/oniguruma’: checked out ‘abfc8ff81df4067f309032467785e06975678f0d’
Submodule path ‘RedfishPkg/Library/JsonLib/jansson’: checked out ‘e9ebfa7e77a6bee77df44e096b100e7131044059’
Submodule path ‘UnitTestFrameworkPkg/Library/CmockaLib/cmocka’: checked out ‘1cc9cde3448cdd2e000886a26acf1caac2db7cf1’
Performing sparse checkout…
/home/csp/edkrepo/nvidia-uefi-r35.2.1/edk2-platforms
csp@csp-ThinkPad-T580:~/edkrepo$ cd nvidia-uefi-r35.2.1/
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ ls
edk2 edk2-non-osi edk2-nvidia edk2-nvidia-non-osi edk2-platforms repo
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ ^C
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ ^C
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ ^C
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ ^C
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ ^C
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /home/csp/edkrepo/nvidia-uefi-r35.2.1
nvidia: found command: python3.
nvidia: found command: virtualenv.
nvidia: found command: mono.
nvidia: found command: aarch64-linux-gnu-gcc.
nvidia: Creating Python virtual environment in /home/csp/edkrepo/nvidia-uefi-r35.2.1/venv…
Already using interpreter /usr/bin/python3
Using base prefix ‘/usr’
New python executable in /home/csp/edkrepo/nvidia-uefi-r35.2.1/venv/bin/python3
Also creating executable in /home/csp/edkrepo/nvidia-uefi-r35.2.1/venv/bin/python
Installing setuptools, pkg_resources, pip, wheel…done.
nvidia: Installing required Python packages…
Collecting edk2-pytool-library==0.11.2
Downloading edk2_pytool_library-0.11.2-py3-none-any.whl (434 kB)
|████████████████████████████████| 434 kB 98 kB/s
Collecting edk2-pytool-extensions~=0.16.0
Downloading edk2_pytool_extensions-0.16.0-py3-none-any.whl (2.4 MB)
|████████████████████████████████| 2.4 MB 53 kB/s
Collecting edk2-basetools==0.1.24
Downloading edk2_basetools-0.1.24-py3-none-any.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 38 kB/s
Collecting antlr4-python3-runtime==4.7.1
Downloading antlr4-python3-runtime-4.7.1.tar.gz (111 kB)
|████████████████████████████████| 111 kB 88 kB/s
Preparing metadata (setup.py) … done
Collecting pyyaml>=5.3.1
Downloading PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
|████████████████████████████████| 603 kB 71 kB/s
Collecting pefile>=2019.4.18
Downloading pefile-2023.2.7-py3-none-any.whl (71 kB)
|████████████████████████████████| 71 kB 4.3 kB/s
Building wheels for collected packages: antlr4-python3-runtime
Building wheel for antlr4-python3-runtime (setup.py) … done
Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.7.1-py3-none-any.whl size=140549 sha256=221aa5998a4bdd936c708c236a5d2c4f1ab9d83a0da5b610307dfe829b50e118
Stored in directory: /home/csp/.cache/pip/wheels/4c/8c/27/ca4c7300c0b5e1effa86a64c81d37b26d349e731358732bdd3
Successfully built antlr4-python3-runtime
Installing collected packages: pyyaml, pefile, edk2-pytool-library, antlr4-python3-runtime, edk2-pytool-extensions, edk2-basetools
Successfully installed antlr4-python3-runtime-4.7.1 edk2-basetools-0.1.24 edk2-pytool-extensions-0.16.0 edk2-pytool-library-0.11.2 pefile-2023.2.7 pyyaml-6.0
Collecting edk2-pytool-extensions==0.17.1
Downloading edk2_pytool_extensions-0.17.1-py3-none-any.whl (2.5 MB)
|████████████████████████████████| 2.5 MB 107 kB/s
Requirement already satisfied: pyyaml>=5.3.1 in ./venv/lib/python3.6/site-packages (from edk2-pytool-extensions==0.17.1) (6.0)
Requirement already satisfied: pefile>=2019.4.18 in ./venv/lib/python3.6/site-packages (from edk2-pytool-extensions==0.17.1) (2023.2.7)
Requirement already satisfied: edk2-pytool-library>=0.11.0 in ./venv/lib/python3.6/site-packages (from edk2-pytool-extensions==0.17.1) (0.11.2)
Installing collected packages: edk2-pytool-extensions
Attempting uninstall: edk2-pytool-extensions
Found existing installation: edk2-pytool-extensions 0.16.0
Uninstalling edk2-pytool-extensions-0.16.0:
Successfully uninstalled edk2-pytool-extensions-0.16.0
Successfully installed edk2-pytool-extensions-0.17.1
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
UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20200717.0.0: [Nuget] We failed to install this version 20200717.0.0 of edk2-acpica-iasl
WARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of mu_nasm
. Done
SECTION - Second pass update of environment
UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of mu_nasm
WARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20200717.0.0: [Nuget] We failed to install this version 20200717.0.0 of edk2-acpica-iasl
. Done
ERROR - We were unable to successfully update 2 dependencies in environment
SECTION - Summary
ERROR - Error
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$
It seems the clone for the UEFI source of r35.2.1 works as expected.
Your issue comes out after running the build script.
SECTION - Initial update of environment
UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20200717.0.0: [Nuget] We failed to install this version 20200717.0.0 of edk2-acpica-iasl
It seems still the environment issue.
It might be caused from internet issue. Please check your network access or change to another network.
My network uses a proxy, but there should be no problem with connectivity.
I tested and connected these commonly used URLs,eg youtube,baidu, and they were all OK.
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /home/csp/edkrepo/nvidia-uefi-r35.2.1
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
UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20200717.0.0: [Nuget] We failed to install this version 20200717.0.0 of edk2-acpica-iasl
WARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of mu_nasm
. Done
SECTION - Second pass update of environment
UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of mu_nasm
WARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20200717.0.0: [Nuget] We failed to install this version 20200717.0.0 of edk2-acpica-iasl
. Done
ERROR - We were unable to successfully update 2 dependencies in environment
SECTION - Summary
ERROR - Error
I tried the Docker method, but the incorrect content is as follows:
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ edk2_docker echo hello
hello
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ edk2_docker edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /home/csp/edkrepo/nvidia-uefi-r35.2.1
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).
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named ‘encodings’
Current thread 0x00007ff4d799a740 (most recent call first):
edk2-nvidia/Silicon/NVIDIA/scripts/prepare_stuart.sh: line 49: 40 Aborted (core dumped) stuart_update ${STUART_UPDATE_OPTIONS} -c ${PLATFORM_BUILD}
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ ls
Build edk2 edk2-non-osi edk2-nvidia-non-osi edk2-nvidia-r35.2.1-updates edk2-nvidia-r35.2.1-updates.zip edk2-nvidia.tar.gz edk2-platforms repo venv
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ mv edk2-nvidia-r35.2.1-updates edk2-nvidia
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ ls
Build edk2 edk2-non-osi edk2-nvidia edk2-nvidia-non-osi edk2-nvidia-r35.2.1-updates.zip edk2-nvidia.tar.gz edk2-platforms repo venv
csp@csp-ThinkPad-T580:~/edkrepo/nvidia-uefi-r35.2.1 [r35.2.1]$ edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /home/csp/edkrepo/nvidia-uefi-r35.2.1
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
UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20200717.0.0: [Nuget] We failed to install this version 20200717.0.0 of edk2-acpica-iasl
WARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of mu_nasm
. Done
SECTION - Second pass update of environment
UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20200717.0.0: [Nuget] We failed to install this version 20200717.0.0 of edk2-acpica-iasl
WARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of mu_nasm
. Done
ERROR - We were unable to successfully update 2 dependencies in environment
SECTION - Summary
ERROR - Error
Yes, and I have replaced several Ubuntu 18.04 and even Ubuntu 20.04 computers.But it will also prompt this error.
Below is the error log printed when I replaced my computer with a new one:
hluo@CSP-TEST43:~/edkrepo$
hluo@CSP-TEST43:~/edkrepo$
hluo@CSP-TEST43:~/edkrepo$
hluo@CSP-TEST43:~/edkrepo$ edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /cscd/hluo/edkrepo
nvidia: found command: python3.
nvidia: found command: virtualenv.
nvidia: found command: mono.
nvidia: found command: aarch64-linux-gnu-gcc.
nvidia: Creating Python virtual environment in /cscd/hluo/edkrepo/venv…
Already using interpreter /usr/bin/python3
Using base prefix ‘/usr’
New python executable in /cscd/hluo/edkrepo/venv/bin/python3
Also creating executable in /cscd/hluo/edkrepo/venv/bin/python
Installing setuptools, pkg_resources, pip, wheel…done.
nvidia: Installing required Python packages…
Collecting edk2-pytool-library==0.11.2
Downloading edk2_pytool_library-0.11.2-py3-none-any.whl (434 kB)
|████████████████████████████████| 434 kB 309 kB/s
Collecting edk2-pytool-extensions~=0.16.0
Downloading edk2_pytool_extensions-0.16.0-py3-none-any.whl (2.4 MB)
|████████████████████████████████| 2.4 MB 486 kB/s
Collecting edk2-basetools==0.1.24
Downloading edk2_basetools-0.1.24-py3-none-any.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 562 kB/s
Collecting antlr4-python3-runtime==4.7.1
Downloading antlr4-python3-runtime-4.7.1.tar.gz (111 kB)
|████████████████████████████████| 111 kB 1.1 MB/s
Preparing metadata (setup.py) … done
Collecting pyyaml>=5.3.1
Downloading PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
|████████████████████████████████| 603 kB 1.6 MB/s
Collecting pefile>=2019.4.18
Downloading pefile-2023.2.7-py3-none-any.whl (71 kB)
|████████████████████████████████| 71 kB 21 kB/s
Building wheels for collected packages: antlr4-python3-runtime
Building wheel for antlr4-python3-runtime (setup.py) … done
Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.7.1-py3-none-any.whl size=140549 sha256=9b5ead90b16c226ac92019c042a8baa6054ad804b71c5fa69dc44bded34e94a6
Stored in directory: /cscd/hluo/.cache/pip/wheels/4c/8c/27/ca4c7300c0b5e1effa86a64c81d37b26d349e731358732bdd3
Successfully built antlr4-python3-runtime
Installing collected packages: pyyaml, pefile, edk2-pytool-library, antlr4-python3-runtime, edk2-pytool-extensions, edk2-basetools
Successfully installed antlr4-python3-runtime-4.7.1 edk2-basetools-0.1.24 edk2-pytool-extensions-0.16.0 edk2-pytool-library-0.11.2 pefile-2023.2.7 pyyaml-6.0
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
UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20200717.0.0: [Nuget] We failed to install this version 20200717.0.0 of edk2-acpica-iasl
WARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of mu_nasm
. Done
SECTION - Second pass update of environment
UpdatingWARNING - [SDE] Failed to fetch NugetDependecy: mu_nasm@2.15.05: [Nuget] We failed to install this version 2.15.05 of mu_nasm
WARNING - [SDE] Failed to fetch NugetDependecy: edk2-acpica-iasl@20200717.0.0: [Nuget] We failed to install this version 20200717.0.0 of edk2-acpica-iasl
. Done
ERROR - We were unable to successfully update 2 dependencies in environment
SECTION - Summary
ERROR - Error
hluo@CSP-TEST43:~/edkrepo$
hluo@CSCD-csp1:~/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1 [r35.2.1]$ ^C
hluo@CSCD-csp1:~/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1 [r35.2.1]$ ^C
hluo@CSCD-csp1:~/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1 [r35.2.1]$ edk2_docker edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1
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
SECTION - Summary
PROGRESS - Success
nvidia: building from workspace rooted at: /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1
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 DEBUG (edk2-nvidia/Platform/NVIDIA/Jetson/PlatformBuild.py).
INFO - Log Started: Monday, May 22, 2023 02:55AM
SECTION - Init SDE
DEBUG - — self_describing_environment.init()
DEBUG - Skipped directories specified = ()
DEBUG - — self_describing_environment.load_workspace()
DEBUG - Loading workspace: /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1
DEBUG - Including scopes: edk2-build, jetson, global-nix, global
DEBUG - — self_describing_environment._gather_env_files()
DEBUG - Adding descriptor /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/basetools_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/basetools_calling_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/BinWrappers/PosixLike/posix_path_env.yaml to the environment with scope global-nix
DEBUG - Adding descriptor /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Source/Python/basetool_tiano_python_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Source/C/bin/basetoolsbin_path_env.yaml to the environment with scope edk2-build
DEBUG - Adding descriptor /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/venv/lib/python3.9/site-packages/edk2basetools/basetool_tiano_python_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Bin/nasm_ext_dep.yaml to the environment with scope edk2-build
DEBUG - Adding descriptor /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2-nvidia/Platform/NVIDIA/Jetson/iasl_ext_dep.yaml to the environment with scope jetson
DEBUG - Adding descriptor /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain_plug_in.yaml to the environment with scope global-nix
DEBUG - Adding descriptor /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Plugin/BuildToolsReport/BuildToolsReportGenerator_plug_in.yaml to the environment with scope global
DEBUG - — self_describing_environment.update_simple_paths()
DEBUG - — self_describing_environment.update_extdep_paths()
DEBUG - Verify ‘edk2-acpica-iasl’ returning ‘True’.
INFO - Computing path for edk2-acpica-iasl located at /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
DEBUG - /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86-64 does not exist
INFO - /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86 was found!
DEBUG - Verify ‘mu_nasm’ returning ‘True’.
INFO - Computing path for mu_nasm located at /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Bin/mu_nasm_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
INFO - /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Bin/mu_nasm_extdep/Linux-x86-64 was found!
DEBUG - — self_describing_environment.report_extdep_version()
DEBUG - Verify ‘edk2-acpica-iasl’ returning ‘True’.
INFO - Computing path for edk2-acpica-iasl located at /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
DEBUG - /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86-64 does not exist
INFO - /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86 was found!
DEBUG - Setting up version aggregator
DEBUG - Verify ‘mu_nasm’ returning ‘True’.
INFO - Computing path for mu_nasm located at /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Bin/mu_nasm_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
INFO - /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Bin/mu_nasm_extdep/Linux-x86-64 was found!
DEBUG - Verify ‘edk2-acpica-iasl’ returning ‘True’.
INFO - Computing path for edk2-acpica-iasl located at /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
DEBUG - /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86-64 does not exist
INFO - /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86 was found!
DEBUG - Verify ‘edk2-acpica-iasl’ returning ‘True’.
DEBUG - Verify ‘mu_nasm’ returning ‘True’.
INFO - Computing path for mu_nasm located at /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Bin/mu_nasm_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
INFO - /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Bin/mu_nasm_extdep/Linux-x86-64 was found!
DEBUG - Verify ‘mu_nasm’ returning ‘True’.
SECTION - Loading Plugins
DEBUG - Loading Plugin from /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py
DEBUG - Loading Plugin from /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Plugin/BuildToolsReport/BuildToolsReportGenerator.py
SECTION - Start Invocable Tool
INFO - Running Python version: sys.version_info(major=3, minor=9, micro=5, releaselevel=‘final’, serial=0)
INFO - wheel version: 0.34.2
INFO - setuptools version: 44.0.0
INFO - PyYAML version: 6.0
INFO - pkg-resources version: 0.0.0
INFO - pip version: 20.0.2
INFO - pefile version: 2023.2.7
INFO - edk2-pytool-library version: 0.11.2
INFO - edk2-pytool-extensions version: 0.17.1
INFO - edk2-basetools version: 0.1.24
INFO - antlr4-python3-runtime version: 4.7.1
SECTION - Loading Plugins
DEBUG - Loading Plugin from /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py
DEBUG - Loading Plugin from /cscd/hluo/jeston_orin/my_build/edk2-nvidia-uefi-build-with-docker/nvidia-uefi-r35.2.1/edk2/BaseTools/Plugin/BuildToolsReport/BuildToolsReportGenerator.py
SECTION - Kicking off build
PROGRESS - Start time: 2023-05-22 02:55:29.215602
DEBUG - Logging all Registered Helper Functions:
DEBUG - Finished logging 0 functions
PROGRESS - Setting up the Environment
DEBUG - Setting env from SettingsManager
INFO - Cmd to run is: git -C edk2-nvidia describe --always --dirty
INFO - ------------------------------------------------
INFO - --------------Cmd Output Starting---------------
INFO - ------------------------------------------------
INFO - 26fc186
INFO - ------------------------------------------------ ellipsis… ellipsis… ellipsis… ellipsis… ellipsis… ellipsis… ellipsis… ellipsis… ellipsis…
I have no idea about this because we’ve verified it worked on many host machine.
Maybe you need to provide the detailed steps you did from setup the environment for a new host PC.
Okay, no matter what, thank you very much for your support and assistance in the past few days.
Your response was very timely, thank you very much!
I won’t solve this problem for now because docker can be used.
In the future, I will compile it using docker way.