Hi,
Just got a few Jetson Orin Nano Developer board and put a 256G SSD on it. I already used JetPack 6.0 on a host machine to flash these boards. All boards booted up with Ubuntu 22.04. Right now, I am posting the message from the developer board.
I am using the Orin Nano developer board to build UEFI by following the instructions from this link:
But, it failed.
I am using the latest EdkRepo v3.2.2 with ‘main’ configuration and GCC/G++ 12.3 compiler. I have completed all preliminary steps. but failed on ‘Build UEFI’ step
After I ran ‘edk2-nvidia/Platform/NVIDIA/Jetson/build.sh’, I got these:
seattle@ubuntu:~/nvidia-uefi$ edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
nvidia: building from workspace rooted at: /home/seattle/nvidia-uefi
nvidia: found command: python3.
nvidia: found command: virtualenv.
nvidia: found command: mono.
nvidia: found command: aarch64-linux-gnu-gcc.
nvidia: found Python 3.10 or later.
nvidia: Creating Python virtual environment in /home/seattle/nvidia-uefi/venv…
created virtual environment CPython3.10.12.final.0-64 in 553ms
creator CPython3Posix(dest=/home/seattle/nvidia-uefi/venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/seattle/.local/share/virtualenv)
added seed packages: pip==22.0.2, setuptools==59.6.0, wheel==0.37.1
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
nvidia: Installing required Python packages…
Collecting edk2-pytool-library==0.19.3
Downloading edk2_pytool_library-0.19.3-py3-none-any.whl (400 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 401.0/401.0 KB 9.0 MB/s eta 0:00:00
Collecting edk2-pytool-extensions~=0.25.1
Downloading edk2_pytool_extensions-0.25.1-py3-none-any.whl (2.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 29.5 MB/s eta 0:00:00
Collecting edk2-basetools==0.1.48
Downloading edk2_basetools-0.1.48-py3-none-any.whl (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 44.0 MB/s eta 0:00:00
Collecting antlr4-python3-runtime==4.7.1
Downloading antlr4-python3-runtime-4.7.1.tar.gz (111 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.4/111.4 KB 19.6 MB/s eta 0:00:00
Preparing metadata (setup.py) … done
Collecting lcov-cobertura==2.0.2
Downloading lcov_cobertura-2.0.2-py3-none-any.whl (11 kB)
Collecting regex==2023.8.8
Downloading regex-2023.8.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (771 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 771.3/771.3 KB 51.0 MB/s eta 0:00:00
Collecting joblib>=1.3.2
Downloading joblib-1.4.2-py3-none-any.whl (301 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 301.8/301.8 KB 39.7 MB/s eta 0:00:00
Collecting cryptography>=39.0.1
Downloading cryptography-42.0.7-cp39-abi3-manylinux_2_28_aarch64.whl (3.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 47.6 MB/s eta 0:00:00
Collecting pyasn1>=0.4.8
Downloading pyasn1-0.6.0-py2.py3-none-any.whl (85 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.3/85.3 KB 16.1 MB/s eta 0:00:00
Collecting pyasn1-modules>=0.2.8
Downloading pyasn1_modules-0.4.0-py3-none-any.whl (181 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.2/181.2 KB 31.4 MB/s eta 0:00:00
Collecting GitPython>=3.1.30
Downloading GitPython-3.1.43-py3-none-any.whl (207 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.3/207.3 KB 32.3 MB/s eta 0:00:00
Collecting pefile>=2023.2.7
Downloading pefile-2023.2.7-py3-none-any.whl (71 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.8/71.8 KB 17.4 MB/s eta 0:00:00
Collecting setuptools>=68.2.2
Downloading setuptools-69.5.1-py3-none-any.whl (894 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 894.6/894.6 KB 31.3 MB/s eta 0:00:00
Collecting semantic-version>=2.10.0
Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Collecting openpyxl>=3.1.2
Downloading openpyxl-3.1.2-py2.py3-none-any.whl (249 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 250.0/250.0 KB 36.2 MB/s eta 0:00:00
Collecting XlsxWriter>=3.0.9
Downloading XlsxWriter-3.2.0-py3-none-any.whl (159 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.9/159.9 KB 29.7 MB/s eta 0:00:00
Collecting pyyaml>=6.0.0
Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (677 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 677.0/677.0 KB 51.7 MB/s eta 0:00:00
Collecting cffi>=1.12
Downloading cffi-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (446 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.0/446.0 KB 46.0 MB/s eta 0:00:00
Collecting gitdb<5,>=4.0.1
Downloading gitdb-4.0.11-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 KB 14.3 MB/s eta 0:00:00
Collecting et-xmlfile
Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
Collecting pycparser
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 KB 18.4 MB/s eta 0:00:00
Collecting smmap<6,>=3.0.1
Downloading smmap-5.0.1-py3-none-any.whl (24 kB)
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=7b81476c7d6adfd44fa9b09b10efea1ff870d12f9bb47f507c7cfd2af5d62ea0
Stored in directory: /home/seattle/.cache/pip/wheels/45/34/69/36444fd2c26f5f098af3d9e31daf8c5df81a6497f5043c2622
Successfully built antlr4-python3-runtime
Installing collected packages: antlr4-python3-runtime, XlsxWriter, smmap, setuptools, semantic-version, regex, pyyaml, pycparser, pyasn1, pefile, lcov-cobertura, joblib, et-xmlfile, edk2-basetools, pyasn1-modules, openpyxl, gitdb, cffi, GitPython, cryptography, edk2-pytool-library, edk2-pytool-extensions
Attempting uninstall: setuptools
Found existing installation: setuptools 59.6.0
Uninstalling setuptools-59.6.0:
Successfully uninstalled setuptools-59.6.0
Successfully installed GitPython-3.1.43 XlsxWriter-3.2.0 antlr4-python3-runtime-4.7.1 cffi-1.16.0 cryptography-42.0.7 edk2-basetools-0.1.48 edk2-pytool-extensions-0.25.1 edk2-pytool-library-0.19.3 et-xmlfile-1.1.0 gitdb-4.0.11 joblib-1.4.2 lcov-cobertura-2.0.2 openpyxl-3.1.2 pefile-2023.2.7 pyasn1-0.6.0 pyasn1-modules-0.4.0 pycparser-2.22 pyyaml-6.0.1 regex-2023.8.8 semantic-version-2.10.0 setuptools-69.5.1 smmap-5.0.1
Collecting kconfiglib
Downloading kconfiglib-14.1.0-py2.py3-none-any.whl (145 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 145.9/145.9 KB 3.7 MB/s eta 0:00:00
Installing collected packages: kconfiglib
Successfully installed kconfiglib-14.1.0
nvidia: Updating build environment (edk2-nvidia/Platform/NVIDIA/Jetson/PlatformBuild.py).
SECTION - Init Self Describing Environment
SECTION - Loading Plugins
SECTION - Start Invocable Tool
SECTION - Initial update of environment
UpdatingERROR - mu_nasm is host specific, but does not appear to have support for Host(os=‘Linux’, arch=‘ARM’, bit=‘64’).
ERROR - Verify support for detected host: Host(os=‘Linux’, arch=‘ARM’, bit=‘64’) and contact dependency provider to add support.
ERROR - Otherwise, delete the external dependency directory to reset.
.ERROR - edk2-acpica-iasl is host specific, but does not appear to have support for Host(os=‘Linux’, arch=‘ARM’, bit=‘64’).
ERROR - Verify support for detected host: Host(os=‘Linux’, arch=‘ARM’, bit=‘64’) and contact dependency provider to add support.
ERROR - Otherwise, delete the external dependency directory to reset.
. Done
SECTION - Updated/Verified 2 dependencies
SECTION - Second pass update of environment
ERROR - mu_nasm is host specific, but does not appear to have support for Host(os=‘Linux’, arch=‘ARM’, bit=‘64’).
ERROR - Verify support for detected host: Host(os=‘Linux’, arch=‘ARM’, bit=‘64’) and contact dependency provider to add support.
ERROR - Otherwise, delete the external dependency directory to reset.
ERROR - edk2-acpica-iasl is host specific, but does not appear to have support for Host(os=‘Linux’, arch=‘ARM’, bit=‘64’).
ERROR - Verify support for detected host: Host(os=‘Linux’, arch=‘ARM’, bit=‘64’) and contact dependency provider to add support.
ERROR - Otherwise, delete the external dependency directory to reset.
ERROR - mu_nasm is host specific, but does not appear to have support for Host(os=‘Linux’, arch=‘ARM’, bit=‘64’).
ERROR - Verify support for detected host: Host(os=‘Linux’, arch=‘ARM’, bit=‘64’) and contact dependency provider to add support.
ERROR - Otherwise, delete the external dependency directory to reset.
ERROR - edk2-acpica-iasl is host specific, but does not appear to have support for Host(os=‘Linux’, arch=‘ARM’, bit=‘64’).
ERROR - Verify support for detected host: Host(os=‘Linux’, arch=‘ARM’, bit=‘64’) and contact dependency provider to add support.
ERROR - Otherwise, delete the external dependency directory to reset.
ERROR - mu_nasm is host specific, but does not appear to have support for Host(os=‘Linux’, arch=‘ARM’, bit=‘64’).
ERROR - Verify support for detected host: Host(os=‘Linux’, arch=‘ARM’, bit=‘64’) and contact dependency provider to add support.
ERROR - Otherwise, delete the external dependency directory to reset.
ERROR - edk2-acpica-iasl is host specific, but does not appear to have support for Host(os=‘Linux’, arch=‘ARM’, bit=‘64’).
ERROR - Verify support for detected host: Host(os=‘Linux’, arch=‘ARM’, bit=‘64’) and contact dependency provider to add support.
ERROR - Otherwise, delete the external dependency directory to reset.
Updating. Done
SECTION - Updated/Verified 2 dependencies
SECTION - Summary
PROGRESS - Success
nvidia: Building basetools.
SECTION - Init Self Describing Environment
SECTION - Loading Plugins
SECTION - Start Invocable Tool
Traceback (most recent call last):
File “/home/seattle/nvidia-uefi/edk2/BaseTools/Edk2ToolsBuild.py”, line 188, in
main()
File “/home/seattle/nvidia-uefi/edk2/BaseTools/Edk2ToolsBuild.py”, line 184, in main
Edk2ToolsBuild().Invoke()
File “/home/seattle/nvidia-uefi/venv/lib/python3.10/site-packages/edk2toolext/base_abstract_invocable.py”, line 235, in Invoke
retcode = self.Go()
File “/home/seattle/nvidia-uefi/edk2/BaseTools/Edk2ToolsBuild.py”, line 159, in Go
raise Exception(“Failed to build.”)
Exception: Failed to build.
It looks like the problem is:
The UEFI build script does NOT support ‘Linux ARM64’. See below the summary of my terminal outputs:
ERROR - mu_nasm is host specific, but does not appear to have support for Host(os=‘Linux’, arch=‘ARM’, bit=‘64’).
ERROR - Verify support for detected host: Host(os=‘Linux’, arch=‘ARM’, bit=‘64’) and contact dependency provider to add support.
How could it possible? My Orin Nano Developer board is an Ubuntu 22.04 with ARM64 and I am using it to build UEFI. Why did the build script say: Not Support for Linux ARM64?
Did I do something wrong?
Thanks,
Steven