构建 UEFI 时,无法下载必需的依赖库

执行 Build without docker · NVIDIA/edk2-nvidia Wiki · GitHub 中的教程时,走到了

sudo apt-get install build-essential uuid-dev git gcc-12 g++-12 python3 \
                     virtualenv g++-12-aarch64-linux-gnu gcc-12-aarch64-linux-gnu \
                     device-tree-compiler mono-devel lcov

这一步,结果提示:

Error: g+±12-aarch64-linux-gnu、g+±12-aarch64-linux-gnu can not be find to install.

我查询了下 Ubuntu – Details of package g++-12-aarch64-linux-gnu in jammy
image
图中仅有这几个版本,我该选择哪个版本?或者是否有备选方案?

Hi 1930920921,

Could you share the details of your host?
Which release of UEFI binary do you want to build?

The first one.

我是 AGX Orin 32GB 原生开发板。目前正在使用:https://github.com/tianocore/edk2-edkrepo/releases/download/edkrepo-v3.2.4/edkrepo-3.2.4.0.tar.gz 这个版本的工具。

我期望通过重新编译 UEFI,进而修改 bootloader 阶段的启动画面。但目前卡在这个依赖库的版本问题了。

Which Jetpack version are you using?

You may also try using Build with docker · NVIDIA/edk2-nvidia Wiki · GitHub for the build environment issue.

Jetpack 是 v6.0。必须使用 docker 么?可否不用 docker ?

We would suggest using docker to build UEFI binary if you have build environment issue.

文件裡說的套件是給x86平台cross compile用的
如果你是直接在Jetson上build就不需要裝(也沒辦法裝)用普通的gcc就好

感谢您的回复。在跳过不必要的组件后,已完成准备工作。

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