通过jtag实现在远程服务器端下载petalinux image到连接在本地PC的开发板上的方法。具体连接方式为比如Host的系统为Windows,Remote system为运载在远程服务器上的Linux系统。Hardware为zc702开发板。具体实现步骤如下:1.在Host端运行hw_server.bat(vivado开发套件提供了这个文件) 打开DOS窗口---->cmd----->输入hw_server(若找不到指令,请在path路径中添加hw_server的存放路径)注意:运行hw_server后应保持窗口开启,不要关闭。...
开发环境 VMware12, Ubuntu 16.04 64 bit在VMware中安装Ubuntu,用户名:xilinx-arm 密码:root step1: VMware Tools问题不知道什么原因,VMware自动安装ubuntu后,VMware Tools没有正确安装。这在我的笔记本上是直接OK的,就说一下怎么重新安装吧。参考: http://pubs.vmware.com/workstation-12/index.jsp?lang=zh_CN&topic=/com.vmware.ws.using.doc/GUID-08BB9465-D40A-4E16-9E15-8C016CC8166F.html首先确保Ubuntu虚拟机是打开...
1、建立vivado工程;
2、生成.hdf文件;
3、启动petalinuxsource petalinux安装路径/settings.sh
4、建立petalinux工程petalinux-create --type project --template zynq --name test
5、进入petalinux工程文件夹,获取hdf信息(bit、DDR、MIO、PLL)petalinux-config --get-hw-description=.hdf文件路径/
6、建立modulespetalinux-create -t modules --name blink --enable
7、进入路径修改相应文件cd project-spec/meta-user/reci...
petalinux build 出现qemu问题
主要表现如下:build的时候出现error,开头是qemu
ERROR: qemu-xilinx-native-v5.1.0-xilinx-v2020.2+gitAUTOINC+7e3e3ae09a-r0 do_fetch: gitsm: submodule download failed: FetchError Fetcher failure for URL: 'gitsm://boringssl.googlesource.com/boringssl;protocol=https;name=boringssl;subpath=boringssl;bareclone=1;nobranch=1'. Unable to fetch URL from any source.
WARNING: qemu-x...
第一步,创建项目
petalinux-create --type project --template zynq --name petalinux_Dma petalinux-config --get-hw-description=.
第二步 指定SD和CMA,检查DMA
打开SD选项。 petalinux-config -c kernel 选择Image Packaging Configuration —>Root filesystem type(SD card) —>SD card
分离设备树 修改设备树后直接替换,默认是dtb会打包在uImage中。 Subsystem AUTO Hardware Settings -> Advanced boot… -> dtb image se...
更换PetaLinux工程的HDF/XSA文件后,PetaLinux工程编译出现FSBL do_configureh错误。使用命令“petalinux-build -x mrproper -f ”,彻底清除工程,再编译工程,不再有问题。
错误记录如下:
DEBUG: Executing shell function do_configure
MISC_ARG is -yamlconf /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/fsbl.yaml
APP_ARG is -app "Zynq...
vacajk
?【Xilinx-Petalinux学习】-02-建立PetaLinux工程前面我已经把PetaLinux成功安装到了Ubuntu虚拟机当中了,接下来就要实际操作,将PetaLinux移植到我们自己的硬件平台当中去。
step1:硬件描述文件
有两种PetaLinux工程建立的方法,一种是下载官方开发板的BSP包并安装,一种就是针对自己的硬件平台去剪裁Linux功能以适应自己的需求。
第一种,比较简单,官方提供了完整的demo和已经预编译好的各种文件。
比如说我们从网上下...
ug1209
1. Create a PetaLinux project using the following command:$petalinux-create -t project -s <path to the directory that hasxilinx-zcu102-v2019.2-final.bsp>
petalinux-create -t project -s ./xilinx-zcu106-v2019.2-final.bsp
Note: xilinx-zcu102-v2019.2-final.bsp is the PetaLinux BSP for ZCU102 ProductionSilicon Rev1.0 Board. Use xilinx-zcu102-ZU9-ES2-Rev1.0-v2019.2-final.bsp, if youare using ES...
1. 网络安装安装PetaLinux时,需要安装PetaLinux依赖的Linux软件包。对于Ubuntu,可以执行下面命令,安装所有软件包。
sudo apt-get install -y python tofrodos iproute2 gawk xvfb gcc git net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev flex bison libselinux1 gnupg wget diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib build-essential libsdl1.2-dev libglib2.0-dev z...
1. 初始化 PetaLinux 运行环境source PetaLinux 安装目录/settings.sh
2. 创建 PetaLinux 工程(1) cd 到准备存放工程的目录下;(2) petalinux-create -t project -n 项目名 --template zynq
3. 导入硬件描述文件(.hdf)petalinux-config --get-hw-description=hdf文件所在文件夹路径
注:如果要修改 hdf ,则先运行下命令 petalinux-build -x distclean
4. 编译操作系统映像文件petalinux-build
5. 打包生成 BOOT.BIN...
过去的两个月,由于工作原因使用到了zynq,花了一些功夫学习了petalinux的使用,以下做一些记录
1、petalinux环境的安装根据官网的介绍,petalinux所需的操作系统有特殊要求,其他版本的操作系统尽量不要使用,会出现莫名其妙的错误,不是我这种小白能解决的了的,然后在系统上面安装petalinux所需要的环境,具体的一览表可以在官网上面的文档可以看到,截图如下我安装的环境是ubuntu16.04,这里的Ubuntu一定要使用64位的,刚开始我...
petalinux-config --get-hw-description=.
报错
[INFO] sourcing bitbakeERROR: Failed to source bitbakeERROR: Failed to config project.ERROR: Get hw description Failed!.
vi ./build/config.log
Run devtool --help for further details.OpenEmbedded requires python to be python v2 (>= 2.7.3), not python v3.Please set up python v2 as your default python interpreter.ERROR: Failed to source bitbake
python版...