platforminfo command line utility
reports platform meta-data including information on interface, clock, valid SLRs and
allocated resources, and memory in a structured format. This information can be
referenced when allocating kernels to SLRs or memory resources for instance.
The following command options are available to use with
||Overwrite an existing output file.|
||Print help message and exit.|
||Get keys for a given platform. Returns a list of JSON paths.|
||List platforms. Searches the user repo paths $PLATFORM_REPO_PATHS and then the install locations to find .xpfm files.|
||List platforms with extended information. Use with '--list'.|
||Specify the platform definition (*.dsa) on which to operate. The value must be a full path, including file name and .dsa extension.|
||Specify the software platform definition (*.spfm) on which to operate. The value must be a full path, including file name and .spfm extension.|
definition (*.xpfm) on which to
operate. The value for
||Specify an output file to write the results to. By default the output is returned to the terminal (stdout).|
||Specify JSON format for the generated output. When
used with no value, the
||Specify more detailed information output. The default behavior is to produce a human-readable report containing the most important characteristics of the specified platform.|
--listoptions, a platform must be specified. You can specify the platform using the
--platformoption, or using either
--sw. You can also simply insert the platform name or full path into the command line positionally.
To understand the generated report, condensed output logs, based on the following command are reviewed. Note that the report is broken down into specific sections for better understandability.
platforminfo -p $PLATFORM_REPO_PATHS/xilinx_u200_gen3x16_xdma_2_202110_1.xpfm