...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
This page describes the steps for creating and building a 2019.1 PetaLinux project for use with the ZCU111 RFSoC Evaluation tool.
Table of Contents
Table of Contents | ||
---|---|---|
|
Overview
The ZCU111 RFSoC Eval Tool has three designs based on the functionality. A detailed information about the three designs can be found from the following pages.
For more details on ZU+ RFSoC RF Data Converter Evaluation Tool refer to ZCU111 RFSoC RF Data Converter Evaluation Tool Getting Started Guide.
Table of Contents |
---|
Overview
This tutorial includes the following:-
Steps to source and setup the petalinux tool for building the images.
Step-by-step tutorial to build all the images using the petalinux tool.
Information about the relevant kernel and device tree patches as well as the applications within the designs.
For more details on ZU+ RFSoC RF Data Converter Evaluation Tool refer to ZCU111 RFSoC RF Data Converter Evaluation Tool Getting Started Guide.
Building the Linux Image
Installation
PetaLinux consists of three key elements: pre-configured binary bootable images, fully customizable Linux for the Xilinx device, and PetaLinux SDK which includes tools and utilities to automate complex tasks across configuration, build, and deployment.Visit the PetaLinux wiki page for more details. Refer to the PetaLinux Tool Documentation (UG1144) for installation.
Procedure to build the Linux Image
The following section provides the steps to build all the images using the petalinux tool.
...
Code Block |
---|
% cp BOOT.BIN image.ub $DCET_HOME/sd-card |
Modifications on top of 2019.1 released BSP
Below are the modification in this TRD for linux-kernel, rfdc drivers, rftool and rfdc example application, on top of 2019.1 petalinux released BSP. For more details on patch information please refer to http://xkb/pages/72/72405.aspx.
...
Code Block |
---|
% vim project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend SRC_URI_append = " \ file://0001-power-supply-irps-Add-support-for-irps-supply.patch \ file://0002-drivers-misc-add-support-for-DDR-memory-management.patch \ file://0003-dmaengine-xilinx_dma-In-SG-cyclic-mode-allow-multipl.patch \ file://0004-drivers-misc-add-support-for-selecting-mem-type.patch \ file://0005-i2c-cadence-Implement-timeout.patch \ file://0006-i2c-muxes-update-Mux-register-always.patch \ file://0007-drivers-misc-change-ADC-packet-size-as-per-FIFO-size.patch \ file://0008-drivers-misc-change-parameters-for-of_dma_configure.patch \ file://0009-plmem-clean-up-sysfs-node-and-character-device-nodes.patch \ file://0010-dma-clean-the-BD-s-only-when-done-bit-is-set.patch \ " |
- RFDC driver patch information as follows:
Code Block |
---|
% vim project-spec/meta-user/recipes-bsp/rfdc/rfdc_%.bbappend SRC_URI_append = " \ file://0001-rfdc-add-support-to-turn-off-mixer.patch \ " |
- RFTOOL application patch as follows:
Code Block |
---|
% vim project-spec/meta-user/recipes-apps/rftool/rftool.bb |
- RFDC example application patch as follows:
Code Block |
---|
% vim project-spec/meta-user/recipes-apps/rfdc-data-write-example/rfdc-data-write-example.bb |
- RFDC Self-test application changes as follows:
Code Block |
---|
% vim project-spec/meta-user/recipes-bsp/rfdc-examples/rfdc-selftest_%.bbappend SRC_URI_append = " \ file://0001-selftest_example-change-default-frequency.patch \ " |
Note |
---|
To get "project-spec/meta-user/" folder, please extract files from. bsp using step #3 from section 130973740. |
Once the images are built successfully the user can refer to ZCU111 RFSoC RF Data Converter Evaluation Tool Getting Started Guide for further information on test
...