当前位置:首页 > Linux > 正文内容

Ubuntu 24.02 配置Versal PetaLinux 2023.2环境解决存在的部分问题

chanra1n2个月前 (02-27)Linux399

下载链接:
https://www.xilinx.com/member/forms/download/xef.html?filename=petalinux-v2023.2-10121855-installer.run

https://www.xilinx.com/member/forms/download/xef.html?filename=sstate_aarch64_2023.2_10121051.tar.gz

https://www.xilinx.com/member/forms/download/xef.html?filename=downloads_2023.2_10121051.tar.gz

如果报错:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/edatools/PCS_LINUX/petalinux/components/yocto/layers/poky/bitbake/bin/bitbake-worker", line 268, in child
    bb.utils.disable_network(uid, gid)
  File "/home/edatools/PCS_LINUX/petalinux/components/yocto/layers/poky/bitbake/lib/bb/utils.py", line 1693, in disable_network
    with open("/proc/self/uid_map", "w") as f:
PermissionError: [Errno 1] Operation not permitted

ERROR: Task (virtual:native:/home/edatools/PCS_LINUX/petalinux/components/yocto/layers/poky/meta/recipes-core/readline/readline_8.1.2.bb:do_unpack) failed with exit code '1'
ERROR: PermissionError: [Errno 1] Operation not permitted

则运行:

sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

解决后报错:

edatools@eeeda:~/PCS_LINUX/petalinux$ petalinux-config -c u-boot
[INFO] Sourcing buildtools
[INFO] Silentconfig project
[INFO] Silentconfig rootfs
[INFO] Generating workspace directory
[INFO] Configuring: u-boot
[INFO] bitbake virtual/bootloader -c menuconfig
NOTE: Started PRServer with DBfile: /home/edatools/PCS_LINUX/petalinux/build/cache/prserv.sqlite3, Address: 127.0.0.1:36149, PID: 598209
WARNING: Host distribution "ubuntu-24.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |##############################################################################################################################################################################################| Time: 0:00:01
Loaded 6329 entries from dependency cache.
Parsing recipes: 100% |############################################################################################################################################################################################| Time: 0:00:01
Parsing of 4400 .bb files complete (4390 cached, 10 parsed). 6339 targets, 337 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Fetching uninative binary shim file:///home/edatools/PCS_LINUX/petalinux/components/yocto/downloads/uninative/3dd82c3fbdb59e87bf091c3eef555a05fae528eeda3083828f76cd4deaceca8b/x86_64-nativesdk-libc-3.9.tar.xz;sha256sum=3dd82c3fbdb59e87bf091c3eef555a05fae528eeda3083828f76cd4deaceca8b (will check PREMIRRORS first)
WARNING: Your host glibc version (2.39) is newer than that in uninative (2.37). Disabling uninative so that sstate is not corrupted.
Initialising tasks: 100% |#########################################################################################################################################################################################| Time: 0:00:02
Checking sstate mirror object availability: 100% |#################################################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 171 Local 0 Mirrors 0 Missed 171 Current 5 (0% match, 2% complete)
NOTE: Executing Tasks
ERROR: Failed to spawn fakeroot worker to run /home/edatools/PCS_LINUX/petalinux/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb:do_install: [Errno 32] Broken pipe
NOTE: Tasks Summary: Attempted 781 tasks of which 143 didn't need to be rerun and 1 failed.

Summary: There were 2 WARNING messages.
Summary: There was 1 ERROR message, returning a non-zero exit code.
ERROR: bitbake failed to configure u-boot
ERROR: Failed to generate plnxconf setup for u-boot

则运行


扫描二维码推送至手机访问。

版权声明:本文由我的FPGA发布,如需转载请注明出处。

本文链接:https://myfpga.cn/index.php/post/435.html

分享给朋友:

“Ubuntu 24.02 配置Versal PetaLinux 2023.2环境解决存在的部分问题” 的相关文章

小米路由器MINI刷爱快固件

小米路由器MINI刷爱快固件

uboot-xiaomi-mini-115200.binIK-MT7620AV4-H1S.bin...

在Ubuntu/Linux环境中用Python进行FPGA编程和OpenCL应用开发

在Ubuntu/Linux环境中用Python进行FPGA编程和OpenCL应用开发

随着FPGA (Field Programmable Gate Array) 技术的快速发展,越来越多的开发者开始使用Ubuntu或Linux环境进行FPGA的编程和开发工作。在本文中,我们将会介绍如何在Ubuntu/Linux环境中使用Python作为编程语言进行FPGA开发,以及如何在这些环境中...

解决APT-GET一直Waiting for header或者Working的问题

解决APT-GET一直Waiting for header或者Working的问题

rm -rf rm /var/lib/apt/lists/partial/* && rm -rf rm /var/lib/apt/lists/* && apt-get&...

使用Docker-Ubuntu14安装Synopsys2018工具 Leda PT VCS Verdi DVE FM SCL 爱快Docker EDA工具

使用Docker-Ubuntu14安装Synopsys2018工具 Leda PT VCS Verdi DVE FM SCL 爱快Docker EDA工具

synopsys2018链接:https://pan.baidu.com/s/1xnwKS4Lf-wdHxjv-cuyogA?pwd=z0hw 提取码:z0hw 仅用于学习,不得用于其他用途!1、首先在Docker拉取Ubuntu镜像,我使用的是爱快,其他X86操作系统类似。2、...

(原创)Ubuntu18+ 解决SpyGlass使用报错的问题 路径设置问题、证书、报错等问题

(原创)Ubuntu18+ 解决SpyGlass使用报错的问题 路径设置问题、证书、报错等问题

export SPYGLASS_HOME=/usr/synopsys/spyglass/SPYGLASS2017.12-SP2/SPYGLASS_HOME export PATH=$PATH:$SPYGLASS_HOME/bin alias run_spyglass...

(原创)解决Leda2008、2014等新版本Unit Name为空的问题

(原创)解决Leda2008、2014等新版本Unit Name为空的问题

在Leda2007中可以正常加载编译过程文件,并且能够正确显示Unit Name,但是在2008以及更新版本的Leda中,使用相同操作发现Unit Name为空。这时可以采用这样的方法去启动Leda,问题即可解决:run_leda_2014 -sverilog +gui ...