step of petalinux by peng 2021.3.17
本经验所用vivado2018.2和petalinux2018.2 针对xilinx的zedboard板卡
-
sudo apt-get install -y gcc git make net-tools //照xilinx官方文档UG1144安装依赖包(此处只有gcc git等包,还需要官方的很多包)
-
./petalinux-v2019.1-final-installer.run //petalinux
-
pwd //查看当前目录
-
source 安装目录/settings.sh //激活环境
-
sudo dpkg-reconfigure dash //选择 no, 更改 bash 为shell(如果左侧提示符为bash,则忽略该步骤)
-----------------------------------------------------------------------------创建和打包————————
新建其它工程时从此处开始: source 安装目录/settings.sh //激活环境 -
petalinux-create -t project --template zynq --name project_name //建立工程,project_name自己定义,ZCU102 用zynqMP
Then, cd yolov2/project-spec/meta-user/recipes-bsp/device-tree/files/ to find the system-user.dtsi and modify it like below:
/include/ "system-conf.dtsi"
/ {
reserved-memory {
#address-cells =