Updated Jetson Orin AGX UEFI and file system

I operate according to the web:Jetpack 5.0.2 UEFI source code is error!

The steps are as follows:
$ mkdir edkrepo
$ cd edkrepo/
$ wget https://github.com/tianocore/edk2-edkrepo/releases/download/edkrepo-v2.1.2/edkrepo-2.1.2.tar.gz
$ tar xpvf edkrepo-2.1.2.tar.gz
$ sudo ./install.py
$ edkrepo manifest-repos add nvidia GitHub - NVIDIA/edk2-edkrepo-manifest: NVIDIA fork of tianocore/edk2-edkrepo-manifest main nvidia
$ edkrepo clone nvidia-uefi NVIDIA-Jetson jetson-r35.1
$ cd nvidia-uefi/
$ cat edk2-nvidia/Platform/NVIDIA/Jetson/Build.md
$ edk2-nvidia/Platform/NVIDIA/Jetson/build.sh

compiling uefi and report an error. The error message is as follows:

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
main()
File “edk2/BaseTools/Edk2ToolsBuild.py”, line 173, in main
Edk2ToolsBuild().Invoke()
File “/home/lulu/works/project/adu506/orin/uefi/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 Andyyyyy,

Please follow below page steps to install mono and clean build again.

Reference topic: https://forums.developer.nvidia.com/t/build-orin-uefi-error/230304

Hi


root@8339afcca2af:/build/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson# mono --version
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-2 Wed Feb 26 23:23:50 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: hybrid
GC: sgen (concurrent by default)

I have reinstalled Mono, but I still cannot build through it.

This is my log information:

---------------------------UPDATE_LOG.txt--------------------------------->
INFO - Log Started: Tuesday, November 08, 2022 11:37AM
SECTION - Init SDE
DEBUG - — self_describing_environment.init()
DEBUG - Skipped directories specified = ()
DEBUG - — self_describing_environment.load_workspace()
DEBUG - Loading workspace: /home/user/UEFI_Jetson/nvidia-uefi
DEBUG - Including scopes: edk2-build, jetson, global-nix, global
DEBUG - — self_describing_environment._gather_env_files()
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/venv/lib/python3.8/site-packages/edk2basetools/basetool_tiano_python_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/basetools_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/basetools_calling_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Source/Python/basetool_tiano_python_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/BinWrappers/PosixLike/posix_path_env.yaml to the environment with scope global-nix
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/iasl_ext_dep.yaml to the environment with scope jetson
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/nasm_ext_dep.yaml to the environment with scope edk2-build
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Plugin/BuildToolsReport/BuildToolsReportGenerator_plug_in.yaml to the environment with scope global
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain_plug_in.yaml to the environment with scope global-nix
DEBUG - — self_describing_environment.update_simple_paths()
DEBUG - — self_describing_environment.update_extdep_paths()
DEBUG - Verify ‘mu_nasm’ returning ‘False’.
DEBUG - Verify ‘edk2-acpica-iasl’ returning ‘False’.
DEBUG - — self_describing_environment.report_extdep_version()
DEBUG - Verify ‘mu_nasm’ returning ‘False’.
DEBUG - Setting up version aggregator
DEBUG - Verify ‘edk2-acpica-iasl’ returning ‘False’.
SECTION - Loading Plugins
DEBUG - Loading Plugin from /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Plugin/BuildToolsReport/BuildToolsReportGenerator.py
DEBUG - Loading Plugin from /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py
SECTION - Start Invocable Tool
SECTION - Initial update of environment
DEBUG - — self_describing_environment.update_extdeps()
DEBUG - Verify ‘mu_nasm’ returning ‘False’.
DEBUG - Verify ‘edk2-acpica-iasl’ returning ‘False’.
DEBUG - Creating 2 threads for the SDE update
DEBUG - Verify ‘mu_nasm’ returning ‘False’.
DEBUG - Cleaning dependency directory for ‘mu_nasm’…
DEBUG - Verify ‘edk2-acpica-iasl’ returning ‘False’.
DEBUG - Cleaning dependency directory for ‘edk2-acpica-iasl’…
INFO - Cmd to run is: mono /home/user/UEFI_Jetson/nvidia-uefi/venv/lib/python3.8/site-packages/edk2toolext/bin/NuGet.exe locals global-packages -list
INFO - ------------------------------------------------
INFO - --------------Cmd Output Starting---------------
INFO - Cmd to run is: mono /home/user/UEFI_Jetson/nvidia-uefi/venv/lib/python3.8/site-packages/edk2toolext/bin/NuGet.exe locals global-packages -list
INFO - ------------------------------------------------
INFO - ------------------------------------------------
INFO - --------------Cmd Output Starting---------------
INFO - ------------------------------------------------
INFO - global-packages: /root/.nuget/packages/
INFO - global-packages: /root/.nuget/packages/
INFO - ------------------------------------------------
INFO - --------------Cmd Output Finished---------------
INFO - --------- Running Time (mm:ss): 00:00 ----------
INFO - ----------- Return Code: 0x00000000 ------------
INFO - ------------------------------------------------
INFO - Could not determine Nuget global packages cache location.
INFO - Cmd to run is: mono /home/user/UEFI_Jetson/nvidia-uefi/venv/lib/python3.8/site-packages/edk2toolext/bin/NuGet.exe install edk2-acpica-iasl -Source https://pkgs.dev.azure.com/projectmu/acpica/_packaging/mu_iasl/nuget/v3/index.json -ExcludeVersion -NonInteractive -Version 20200717.0.0 -Verbosity detailed -OutputDirectory “/home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep_temp”
INFO - ------------------------------------------------
INFO - --------------Cmd Output Starting---------------
INFO - ------------------------------------------------
INFO - ------------------------------------------------
INFO - --------------Cmd Output Finished---------------
INFO - --------- Running Time (mm:ss): 00:00 ----------
INFO - ----------- Return Code: 0x00000000 ------------
INFO - ------------------------------------------------
INFO - Could not determine Nuget global packages cache location.
INFO - Cmd to run is: mono /home/user/UEFI_Jetson/nvidia-uefi/venv/lib/python3.8/site-packages/edk2toolext/bin/NuGet.exe install mu_nasm -Source https://api.nuget.org/v3/index.json -ExcludeVersion -NonInteractive -Version 2.15.05 -Verbosity detailed -OutputDirectory “/home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep_temp”
INFO - ------------------------------------------------
INFO - --------------Cmd Output Starting---------------
INFO - ------------------------------------------------
INFO - NuGet Version: 5.10.0.7240
INFO - NuGet Version: 5.10.0.7240
INFO - Feeds used:
INFO - https://api.nuget.org/v3/index.json
INFO -
INFO - Feeds used:
INFO - https://pkgs.dev.azure.com/projectmu/acpica/_packaging/mu_iasl/nuget/v3/index.json
INFO -
INFO -
INFO -
INFO -
INFO -
INFO - Attempting to gather dependency information for package ‘mu_nasm.2.15.5’ with respect to project ‘/home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep_temp’, targeting ‘Any,Version=v0.0’
INFO - Attempting to gather dependency information for package ‘edk2-acpica-iasl.20200717.0.0’ with respect to project ‘/home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep_temp’, targeting ‘Any,Version=v0.0’
INFO - GET https://api.nuget.org/v3/registration5-gz-semver2/mu_nasm/index.json
INFO - OK https://api.nuget.org/v3/registration5-gz-semver2/mu_nasm/index.json 197ms
INFO - Total number of results gathered : 1
INFO - Gathering dependency information took 1.19 sec
INFO - Summary of time taken to gather dependencies per source :
INFO - https://api.nuget.org/v3/index.json - 259 ms
INFO - Attempting to resolve dependencies for package ‘mu_nasm.2.15.5’ with DependencyBehavior ‘Lowest’
INFO - Resolving dependency information took 0 ms
INFO - Resolving actions to install package ‘mu_nasm.2.15.5’
INFO - Resolved actions to install package ‘mu_nasm.2.15.5’
INFO - Retrieving package ‘mu_nasm 2.15.5’ from ‘nuget.org’.
INFO - GET https://api.nuget.org/v3-flatcontainer/mu_nasm/2.15.5/mu_nasm.2.15.5.nupkg
INFO - OK https://api.nuget.org/v3-flatcontainer/mu_nasm/2.15.5/mu_nasm.2.15.5.nupkg 208ms
INFO - Acquiring lock for the installation of mu_nasm 2.15.5
INFO - Acquired lock for the installation of mu_nasm 2.15.5
INFO - Installed mu_nasm 2.15.5 from https://api.nuget.org/v3/index.json with content hash H+0MKCiAPiN5l30AjQJMEl1/Unr0nbA6XLR7o9LNkPfTP044Ar7eLTUTK8wsGBxYSnaI3WiyCmN1/ilF0v02mg==.
INFO - Adding package ‘mu_nasm.2.15.5’ to folder ‘/home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep_temp’
INFO - Added package ‘mu_nasm.2.15.5’ to folder ‘/home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep_temp’
INFO - Added package ‘mu_nasm.2.15.5’ to folder ‘/home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep_temp’ from source ‘https://api.nuget.org/v3/index.json
INFO - Successfully installed ‘mu_nasm 2.15.5’ to /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep_temp
INFO - Executing nuget actions took 1.16 sec
INFO - ------------------------------------------------
INFO - --------------Cmd Output Finished---------------
INFO - --------- Running Time (mm:ss): 00:02 ----------
INFO - ----------- Return Code: 0x00000000 ------------
INFO - ------------------------------------------------
DEBUG - Verify ‘mu_nasm’ returning ‘True’.
INFO - Computing path for mu_nasm located at /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
INFO - /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep/Linux-x86-64 was found!
INFO - GET https://pkgs.dev.azure.com/projectmu/16c2f556-c92d-42ae-bc50-3f658d22ccaf/_packaging/e63f8aab-81d9-4ca1-b02d-34974651c430/nuget/v3/registrations2-semver2/edk2-acpica-iasl/index.json
INFO - OK https://pkgs.dev.azure.com/projectmu/16c2f556-c92d-42ae-bc50-3f658d22ccaf/_packaging/e63f8aab-81d9-4ca1-b02d-34974651c430/nuget/v3/registrations2-semver2/edk2-acpica-iasl/index.json 627ms
INFO - Total number of results gathered : 1
INFO - Gathering dependency information took 3.95 sec
INFO - Summary of time taken to gather dependencies per source :
INFO - https://pkgs.dev.azure.com/projectmu/acpica/_packaging/mu_iasl/nuget/v3/index.json - 651 ms
INFO - Attempting to resolve dependencies for package ‘edk2-acpica-iasl.20200717.0.0’ with DependencyBehavior ‘Lowest’
INFO - Resolving dependency information took 0 ms
INFO - Resolving actions to install package ‘edk2-acpica-iasl.20200717.0.0’
INFO - Resolved actions to install package ‘edk2-acpica-iasl.20200717.0.0’
INFO - Retrieving package ‘edk2-acpica-iasl 20200717.0.0’ from ‘https://pkgs.dev.azure.com/projectmu/acpica/_packaging/mu_iasl/nuget/v3/index.json’.
INFO - GET https://pkgs.dev.azure.com/projectmu/16c2f556-c92d-42ae-bc50-3f658d22ccaf/_packaging/e63f8aab-81d9-4ca1-b02d-34974651c430/nuget/v3/flat2/edk2-acpica-iasl/20200717.0.0/edk2-acpica-iasl.20200717.0.0.nupkg
INFO - OK https://pkgs.dev.azure.com/projectmu/16c2f556-c92d-42ae-bc50-3f658d22ccaf/_packaging/e63f8aab-81d9-4ca1-b02d-34974651c430/nuget/v3/flat2/edk2-acpica-iasl/20200717.0.0/edk2-acpica-iasl.20200717.0.0.nupkg 1369ms
INFO - Acquiring lock for the installation of edk2-acpica-iasl 20200717.0.0
INFO - Acquired lock for the installation of edk2-acpica-iasl 20200717.0.0
INFO - Installed edk2-acpica-iasl 20200717.0.0 from https://pkgs.dev.azure.com/projectmu/acpica/_packaging/mu_iasl/nuget/v3/index.json with content hash x+QI15MTwJ7e/j7fe/qRer0YcvN6j3bFYoUlPBH2RDdEKo5+1i1nhl3aCBXGwTCpLU1ttaPOfeDrd52NaP60pg==.
INFO - Adding package ‘edk2-acpica-iasl.20200717.0.0’ to folder ‘/home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep_temp’
INFO - Added package ‘edk2-acpica-iasl.20200717.0.0’ to folder ‘/home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep_temp’
INFO - Added package ‘edk2-acpica-iasl.20200717.0.0’ to folder ‘/home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep_temp’ from source ‘https://pkgs.dev.azure.com/projectmu/acpica/_packaging/mu_iasl/nuget/v3/index.json
INFO - Successfully installed ‘edk2-acpica-iasl 20200717.0.0’ to /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep_temp
INFO - Executing nuget actions took 3.52 sec
INFO - ------------------------------------------------
INFO - --------------Cmd Output Finished---------------
INFO - --------- Running Time (mm:ss): 00:08 ----------
INFO - ----------- Return Code: 0x00000000 ------------
INFO - ------------------------------------------------
DEBUG - Verify ‘edk2-acpica-iasl’ returning ‘True’.
INFO - Computing path for edk2-acpica-iasl located at /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
DEBUG - /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86-64 does not exist
INFO - /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86 was found!
SECTION - Updated/Verified 2 dependencies
SECTION - Second pass update of environment
DEBUG - — self_describing_environment.init()
DEBUG - Skipped directories specified = ()
DEBUG - — self_describing_environment.load_workspace()
DEBUG - Loading workspace: /home/user/UEFI_Jetson/nvidia-uefi
DEBUG - Including scopes: edk2-build, jetson, global-nix, global
DEBUG - — self_describing_environment._gather_env_files()
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/venv/lib/python3.8/site-packages/edk2basetools/basetool_tiano_python_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/basetools_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/basetools_calling_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Source/Python/basetool_tiano_python_path_env.yaml to the environment with scope global
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/BinWrappers/PosixLike/posix_path_env.yaml to the environment with scope global-nix
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/iasl_ext_dep.yaml to the environment with scope jetson
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/nasm_ext_dep.yaml to the environment with scope edk2-build
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Plugin/BuildToolsReport/BuildToolsReportGenerator_plug_in.yaml to the environment with scope global
DEBUG - Adding descriptor /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain_plug_in.yaml to the environment with scope global-nix
DEBUG - — self_describing_environment.update_simple_paths()
DEBUG - — self_describing_environment.update_extdep_paths()
DEBUG - Verify ‘mu_nasm’ returning ‘True’.
INFO - Computing path for mu_nasm located at /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
INFO - /home/user/UEFI_Jetson/nvidia-uefi/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 /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
DEBUG - /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86-64 does not exist
INFO - /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86 was found!
DEBUG - — self_describing_environment.report_extdep_version()
DEBUG - Verify ‘mu_nasm’ returning ‘True’.
INFO - Computing path for mu_nasm located at /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
INFO - /home/user/UEFI_Jetson/nvidia-uefi/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 /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
DEBUG - /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86-64 does not exist
INFO - /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86 was found!
DEBUG - — self_describing_environment.update_extdeps()
DEBUG - Verify ‘mu_nasm’ returning ‘True’.
INFO - Computing path for mu_nasm located at /home/user/UEFI_Jetson/nvidia-uefi/edk2/BaseTools/Bin/mu_nasm_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
INFO - /home/user/UEFI_Jetson/nvidia-uefi/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 /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep on Host(os=‘Linux’, arch=‘x86’, bit=‘64’)
DEBUG - /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86-64 does not exist
INFO - /home/user/UEFI_Jetson/nvidia-uefi/edk2-nvidia/Platform/NVIDIA/Jetson/edk2-acpica-iasl_extdep/Linux-x86 was found!
DEBUG - Creating 2 threads for the SDE update
DEBUG - Verify ‘mu_nasm’ returning ‘True’.
DEBUG - Verify ‘edk2-acpica-iasl’ returning ‘True’.
SECTION - Updated/Verified 2 dependencies
SECTION - Summary
PROGRESS - Success
---------------------------UPDATE_LOG.txt--------------------------------->

Hello ,

I have already followed the "edk2-pytool-extensions/using_extdep.md at master · tianocore/edk2-pytool-extensions · GitHub "Go get the components installed and tested.

But you still get the same mistakes.

---------------------------->
root@user-ZHENGJIUZHE-REN7000-28ICBR:/home/user/Jetson_UEFI/nvidia-uefi# edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /home/user/Jetson_UEFI/nvidia-uefi
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/user/Jetson_UEFI/nvidia-uefi/venv…
created virtual environment CPython3.8.10.final.0-64 in 84ms
creator CPython3Posix(dest=/home/user/Jetson_UEFI/nvidia-uefi/venv, clear=False, global=False)
seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, pkg_resources=latest, via=copy, app_data_dir=/root/.local/share/virtualenv/seed-app-data/v1.0.1.debian.1)
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
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 963 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 34.7 MB/s
Collecting edk2-basetools==0.1.17
Downloading edk2_basetools-0.1.17-py3-none-any.whl (1.2 MB)
|████████████████████████████████| 1.2 MB 61.4 MB/s
Collecting antlr4-python3-runtime==4.7.1
Downloading antlr4-python3-runtime-4.7.1.tar.gz (111 kB)
|████████████████████████████████| 111 kB 32.1 MB/s
Collecting pyyaml>=5.3.1
Downloading PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB)
|████████████████████████████████| 701 kB 124.6 MB/s
Collecting pefile>=2019.4.18
Downloading pefile-2022.5.30.tar.gz (72 kB)
|████████████████████████████████| 72 kB 1.5 MB/s
Collecting future
Downloading future-0.18.2.tar.gz (829 kB)
|████████████████████████████████| 829 kB 77.6 MB/s
Building wheels for collected packages: antlr4-python3-runtime, pefile, future
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=b3b98c54e654cda805f61ee76456a5e9beaede5873bc945e1a97d0d131a249b4
Stored in directory: /root/.cache/pip/wheels/65/a8/79/d3e0eb0d0ace6a4c1f27e7912e5bc8bfd4e2b6d00d4414dd78
Building wheel for pefile (setup.py) … done
Created wheel for pefile: filename=pefile-2022.5.30-py3-none-any.whl size=69362 sha256=fd2a1f2d010215b6fd5a9d51a36302ac86e676ce093ba94dd1e48a07e52c88b9
Stored in directory: /root/.cache/pip/wheels/c7/ca/2c/b2bc3360e75954899f344606ea58a307d8f3a7060899b7b7fd
Building wheel for future (setup.py) … done
Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491058 sha256=3b8ffc06f3ec24440937355aaf725119e28e541932da81768043b7762815629b
Stored in directory: /root/.cache/pip/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4
Successfully built antlr4-python3-runtime pefile future
Installing collected packages: edk2-pytool-library, pyyaml, future, pefile, edk2-pytool-extensions, antlr4-python3-runtime, edk2-basetools
Successfully installed antlr4-python3-runtime-4.7.1 edk2-basetools-0.1.17 edk2-pytool-extensions-0.16.0 edk2-pytool-library-0.11.2 future-0.18.2 pefile-2022.5.30 pyyaml-6.0
Collecting edk2-pytool-extensions>=0.17.1
Downloading edk2_pytool_extensions-0.19.1-py3-none-any.whl (2.5 MB)
|████████████████████████████████| 2.5 MB 952 kB/s
Collecting semantic-version>=2.10.0
Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Requirement already satisfied, skipping upgrade: pefile>=2019.4.18 in ./venv/lib/python3.8/site-packages (from edk2-pytool-extensions>=0.17.1) (2022.5.30)
Requirement already satisfied, skipping upgrade: pyyaml>=5.3.1 in ./venv/lib/python3.8/site-packages (from edk2-pytool-extensions>=0.17.1) (6.0)
Requirement already satisfied, skipping upgrade: edk2-pytool-library>=0.11.0 in ./venv/lib/python3.8/site-packages (from edk2-pytool-extensions>=0.17.1) (0.11.2)
Requirement already satisfied, skipping upgrade: future in ./venv/lib/python3.8/site-packages (from pefile>=2019.4.18->edk2-pytool-extensions>=0.17.1) (0.18.2)
Installing collected packages: semantic-version, 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.19.1 semantic-version-2.10.0
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
main()
File “edk2/BaseTools/Edk2ToolsBuild.py”, line 173, in main
Edk2ToolsBuild().Invoke()
File “/home/user/Jetson_UEFI/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.
---------------------------->

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