当前位置: 首页 > news >正文

ubuntu22.04 安装 petalinux 2021.1

虚拟机环境

宿主机:win10

vmware 版本:VMware® Workstation 17 Pro

ubuntu版本 20.04 (如果用18.04的话, vscode 的remote SSH需要glibc

        的版本过低,无法使用Remote SSH 插件。。。。)

安装虚拟机分了 300G 空间,可以根据ug1144的推荐即可。

 Index of /releases/20.04.1

https://old-releases.ubuntu.com/releases/20.04.1/ubuntu-20.04-desktop-amd64.iso

虚拟机和宿主机复制粘贴(没试过传文件,都是复制文本)

虚拟机设置共享文件夹:

sudo apt install update

sudo apt install -y open-vm-tools open-vm-tools-desktop

安装好后需要 reboot 才能实现宿主机往ubuntu中拷贝

vmware 设置好共享目录后需要:

sudo vim /etc/fuse.conf

取消注释(或添加)这一行

user_allow_other

保存后(没写入fstab,所以重启后需要重新运行下面的 vmhgfs-fuse 开头的命令):

sudo mkdir -p /mnt/hgfs
sudo chmod 777 /mnt/hgfs
vmhgfs-fuse .host/<share-dir>/mnt/hgfs -o allow_other -o uid=1000 -o gid=1000

Petalinux 工具下载(需要登录账号):

​​​​​​​https://china.xilinx.com/support/download/index.html/content/xilinx/zh/downloadNav/embedded-design-tools.html

安装open-vm-tools

sudo apt install -y open-vm-tools open-vm-tools-desktop

ubuntu需要安装的依赖:

https://adaptivesupport.amd.com/s/article/76526?language=en_US

sudo apt install -y  iproute2 gawk python3 python build-essential gcc git make net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev flex bison libselinux1 gnupg wget git-core diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib automake zlib1g:i386 screen pax gzip cpio python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3

如果 petalinux-config 失败可能是由于没有安装 libtinfo5 没有安装

INFO] Generating Kconfig for project

package require hsi FAILED:

invalid command name "hsi::create_dt_node"

    while executing

"hsi::create_dt_node -help"

    (in namespace eval "::hsi::help" script line 6)

    invoked from within

"namespace eval ::hsi::help {

    variable version 0.1

    ::xsdb::setcmdmeta {hsi create_dt_node} categories {hsi}

    ::xsdb::setcmdmeta {hsi create..."

    (file "/opt/plx2021.1/pxl/tool/xsct/scripts/xsct/hsi/hsihelp.tcl" line 25)

    invoked from within

"source /home/g/petalinux/tools/xsct/scripts/xsct/hsi/hsihelp.tcl"

    ("package ifneeded hsi::help 0.1" script)ERROR: Failed to generate /home/aba/00-prj/15eg/build/misc/config/Kconfig.syshw

ERROR: Failed to Kconfig project

sudo apt install -y libtinfo5

http://www.lryc.cn/news/603981.html

相关文章:

  • Makefile 快速入门指南
  • 用FunASR轻松实现音频转SRT字幕:完整脚本与解析
  • Jenkins 节点连接故障定位及解决方案总结 - PKIX path validation failed
  • VSCode使用Code Runner运行C/C++输出[Done] exited with code=0 in xxx seconds
  • 第二十五节 MATLAB矩阵的加法和减法、除法(左,右)矩阵
  • Curtain MonGuard 屏幕水印-稳住电子支付企业资料安全线
  • 格雷码的应用场景
  • 【Delphi】快速理解泛型(Generics)
  • 科研小tip3|Windows中的CompressAi下载与使用
  • 【Golang】Go语言指针
  • GO 开发环境安装及配置
  • 【工具】图床完全指南:从选择到搭建的全方位解决方案
  • SBB指令的“生活小剧场“
  • AE、VAE与GAN简明指南:三大生成模型对比
  • 【LoRA微调】采用Lora微调时,假设设置的rank值为8,那么在微调时只会调整秩在8以下的矩阵还是只会调整秩等于8的矩阵
  • PaaS和SaaS的区别
  • JVM知识点(1)
  • 自定义View和动画学习记录 抓娃娃机View
  • 高端医疗超声AFE模拟前端应用
  • 网络安全运维面试准备
  • 背包进一步(多重背包、混合背包)
  • jvm冷门知识十讲
  • Arduino声控RGB矩阵音乐节奏灯DIY全攻略
  • Nuxt3 全栈作品【通用信息管理系统】菜单管理
  • 比肩 7B 表现!Ovis-U1-3B 集多模态理解、图像生成与编辑于一体
  • 《嵌入式C语言笔记(十五):字符串操作与多维指针深度解析》
  • Go进阶:流程控制(if/for/switch)与数组切片
  • ORACLE的用户维护与权限操作
  • 火山方舟使用豆包基模 —— 基础流程
  • 什么是ios企业签名?