我正在尝试在 ubuntu 18.04.4 docker 环境中设置 petalinux 2020.1。我已经按照此链接创建了 docker 映像,并从此repo创建了 docker 容器。我可以使用以下命令创建 petalinux 项目
$ petalinux-create -t project -s /host/xilinx-zcu102-v2020.1-final.bsp
INFO: Create project:
INFO: Projects:
INFO: * xilinx-zcu102-2020.1
INFO: has been successfully installed to /home/vivado/
INFO: New project successfully created in /home/vivado/
但是当我尝试配置时,我收到以下错误
$ cd xilinx-zcu102-2020.1/
vivado@a20176:~/xilinx-zcu102-2020.1$ petalinux-config
INFO: sourcing build tools
[INFO] generating Kconfig for project
[INFO] menuconfig project
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
[INFO] extracting yocto SDK to components/yocto
ERROR: Failed to Extract Yocto SDK.
ERROR: Failed to config project.
$ cat build/config.log
[INFO] generating Kconfig for project
INFO: [Hsi 55-2053] elapsed time for repository (/opt/Xilinx/petalinux/tools/xsct/data/embeddedsw) loading 0 seconds
hsi::open_hw_design: Time (s): cpu = 00:00:07 ; elapsed = 00:00:05 . Memory (MB): peak = 1523.867 ; gain = 727.504 ; free physical = 905 ; free virtual = 27460
[INFO] menuconfig project
/home/vivado/xilinx-zcu102-2020.1/build/misc/config/Kconfig.syshw:29:warning: defaults for choice values not supported
[INFO] extracting yocto SDK to components/yocto
PetaLinux Extensible SDK installer version 2020.1
=================================================
ERROR: the installer requires the en_US.UTF-8 locale to be installed (but not selected), please install it first
ERROR: Failed to Extract Yocto SDK.
ERROR: Failed to config project.
我已遵循赛灵思论坛的所有可能说明,但没有一个有效。我尝试了以下事情-
- 手动设置语言环境
- 使用不同的基础 docker 镜像(centos-7、ubuntu 18.04.4、ubuntu 18.04.5、ubuntu 16.04.5)
我不确定如何解决语言环境问题。有人可以帮忙吗?