增加如下配置: RM_WORK_EXCLUDE += "linux-xlnx" RM_WORK_EXCLUDE += "u-boot-xlnx" RM_WORK_EXCLUDE += "fsbl" RM_WORK_EXCLUDE += "device-tree" RM_WORK_EXCLUDE += "petalinux-user-image" 2) 进入内核代码目录projname/build/tmp/work-shared/plnx-zynqmp/kernel-source 修改对应的代码,然后执...
}if[ -z"$1"];thenhelpfiif[ -z"$2"];thenhelpfi## 删除源目录rm$1-rf## 创建项目petalinux-create --typeproject --template zynq --name$1## 导入硬件信息cd$1petalinux-config --get-hw-description$2## 使PetaLinux不删除源码echo'RM_WORK_EXCLUDE += "linux-xlnx"'>> project-spec/...
RM_WORK_EXCLUDE += "u-boot-xlnx" 错误"The source tree is not clean" 在使用OpenSource Linux编译流程后,再回到Petalinux的编译,执行petalinux-build会得到下列错误。需要在Linux的源代码目录,执行命令“make mrproper”,清理Linux的源代码目录。 NOTE: Executing Tasks NOTE: linux-xlnx: compiling from externa...
RM_WORK_EXCLUDE += "recipe" Whererecipemust be substituted with a valid recipe name such as the following: If you want to preserve the build artifacts of more than one component, you can append the recipe names, separated by spaces, for example, to preserve the kernel sources and the FSBL...
如果为UBoot添加了上述RM_WORK_EXCLUDE字段,PetaLinux工程在编译后,在build目录下的某一级子目录u-boot-xlnx里的子目录git,含有所有UBoot源代码。对于PetaLinux 2019.1的ZCU106 BSP工程,UBoot源代码在目录 ./build/tmp/work/zcu106_zynqmp-xilinx-linux/u-boot-xlnx/v2019.01-xilinx-v2019.1+gitAUTOINC+d895ac...
如果为Linux添加了上述RM_WORK_EXCLUDE字段,PetaLinux工程在编译后,在build目录下的某一级子目录kernel-source,含有所有Linux源代码。对于PetaLinux 2019.1的ZCU106 BSP工程,Linux源代码在目录 ./build/tmp/work-shared/zcu106-zynqmp/kernel-source/。可以复制这个目录里的Linux源代码,用来使用open source流程编译。 Pet...
Kernel source will be available in /build/tmp/work-shared/plnx_aarch64/kernel-source only if you add this config value RM_WORK_EXCLUDE \+= "linux-xlnx" in /project-spec/meta-user/conf/petalinuxbsp.conf Selected as BestSelected as BestLike4 likes All Answers jrh...
su root mkdir /opt/env chown -R huangshuchao:embd /opt/env/ #chown -R huangshuchao:embd /opt/env/ # 2016.4以后的petalinux不能以超级权限去安装,必须在$下安装petalinux。安装 ./petalinux-v2018.3-final-installer.run /opt/env/petalinux/2018.3 Ubuntu bash dpkg-reconfigure dash --> NO 使...
sudo rm /bin/sh sudo ln -s /bin/bash /bin/sh 1. Create an new user 'monius' and give sudo privilege. sudo adduser monius sudo usermod -G sudo monius(ubuntu, debian) OR sudo usermod -aG wheel monius(centos) 2. Occupy the/optdirectory with monius.(Sweet~XD) ...
sudo rm /bin/sh sudo ln -s /bin/bash /bin/sh 确认是否修改成功,我们可以执行以下指令: ls -l /bin/sh 系统将输出包含以下字段的消息,确认shell已修改成功: /bin/sh -> /bin/bash 3、Petalinux使用 3.1 创建工程 根据Petalinux工具用户文档UG1144(v2018.2)Page 17中Chapter 3 Creating...