domain config - 2022.1 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2022-04-26
Version
2022.1 English

Configure the active domain

Syntax

domain config [options]

Configure the properties of active domain.

Options

Option Description
-display-name <display name> Display name of the domain.
-desc <description> Brief description about the domain.
-sd-dir <location> For domain with Linux as OS, use pre-built Linux images from this directory, while creating the PetaLinux project. This option is valid only for Linux domains.
-generate-bif Generate a standard bif for the domain. domain report shows the location of the generated bif. This option is valid only for Linux domains.
-sw-repo <repositories-list> List of repositories to be used to pick software components like drivers and libraries while generating this domain. Repository list should be a tcl list of software repository paths.
-mss <mss-file> Use mss from specified by <mss-file>, instead of generating mss file for the domain.
-readme <file-name> Add README file for the domain, with boot instructions, etc.
-inc-path <include-path> Additional include path which should be added while building the application created for this domain.
-lib-path <library-path> Additional library search path which should be added to the linker settings of the application created for this domain.
-sysroot <sysroot-dir> The Linux sysroot directory that should be added to the platform. This sysroot will be consumed during application build.
-boot <boot-dir> Directory to generate components after Linux image build.
-bif <file-name> Bif file used to create boot image for Linux boot.
-qemu-args <file-name> File with all PS QEMU args listed. This is used to start PS QEMU.
-pmuqemu-args <file-name> File with all PMC QEMU args listed. This is used to start PMU QEMU.
-pmcqemu-args <file-name> File with all pmcqemu args listed. This is used to start pmcqemu.
-qemu-data <data-dir> Directory which has all the files listed in file-name provided as part of qemu-args and pmuqemu-args options.

Returns

Empty string, if the domain is configured successfully. Error string, if no domain is active or if the domain cannot be configured.

Example(s)

domain config -display-name zc702_MemoryTest -desc "Memory test application for Zynq" 

Configure display name and description for the active domain.

domain config -image "/home/user/linux_image/"

Create PetaLinux project from pre-built Linux image.

domain -inc-path /path/include/ -lib-path /path/lib/

Adds include and library search paths to the domain's application build settings.