On Windows :
- Vivado 2019.2
- Vitis 2019.2
On Linux :
- Ubuntu 18.04
参考手册: https://docs.xilinx.com/ UG892 和 UG1400
On Windows:
-
使用 Vivado 进行 PS 端配置.
-
使用 Vivado 进行 PL 逻辑端开发.
-
从 Vivado 导出 .xsa(with bitstream) 到 Vitis.
-
使用 Vitis + .xsa 创建硬件平台 Create Platform Project ,编译后在 zynq_fsbl 文件夹下生成 executable.elf.
-
使用 Vitis 根据硬件平台配置创建设备树:
- 获取设备树仓库 device-tree-xlnx
- 添加仓库到 Vitis 中 : Xilinx > Repostories
- 生成设备树 : Xilinx > Generate Device Tree
- 根据需求自行调整设备树
-
FPGA比特文件将自动生成于 _ide/bitstream/system_wrapper.bit
On Linux :
- linux 开发环境搭建.
- 使用上述生成的设备树配置 u-boot 和 kernel.
- 编译 u-boot-xlnx 生成 u-boot, rename u-boot > u-boot.elf
- 编译内核 linux-xlnx 生成 uImage
- 创建根文件系统及应用程序
On Windows :
- 使用 Vitis 合成 启动文件: Xilinx > Create Boot Image
- 烧写并启动设备



