Create, configure, list and report domains
XSCT methods | Arguments | Corresponding Python API | Arguments | Comments |
---|---|---|---|---|
domain create |
-name <domain-name> Name of the domain. -display-name <display_name> The name to be displayed in the report for the domain. -desc <description> Brief description of the domain. -proc <processor> Processor core to be used for creating the domain. For SMP Linux, this can be a Tcl list of processor cores. -arch <processor architecture> 32-bit or 64-bit. This option is valid only for A53 processors. -os <os> OS type. Default type is standalone. |
platform.add_domain |
Required Arguments: cpu = <cpu_core> Processor core to be used for creating the domain. For SMP Linux, this can be a list of processor cores |
|
domain create (cont'd) |
-support-app <app-name> Create a domain with BSP settings needed for application specified by <app-name>. This option is valid only for standalone domains. The "repo -apps" command can be used to list the available application. -auto-generate-linux Generate the Linux artifacts automatically. -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. -sysroot <sysroot-dir> The Linux sysroot directory that should be added to the platform. This sysroot is consumed during application build. |
Optional Arguments: os = <os> OS type. OS is standalone (default). name = <domain_name> Name of the domain to be added. display_name = <display_name> Display name for the domain support_app = ["app1",..]** Create a domain with BSP settings needed for application specified by <app-name>. This option is valid only for standalone domains. 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. |
||
domain active | domain-name | platform.get_domain |
Required Arguments: name = <domain_name> Name of the domain |
Get command returns the domain object that can be used to run domain commands. |
domain config |
-display-name <display name> Display name of the domain. -desc <description> Brief description of 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 a README file for the domain, with boot instructions and so on. |
|
Required Arguments:
|
|
domain config (cont'd) |
-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. |
|||
list | platform.list_domain | |||
report | domain-name | domain.report | Required Arguments: name = <domain_name> Name of the domain to be deleted |
|
remove | domain-name |