ocpizynq — command-line tool for displaying configuration information for Zynq architecture platforms
The ocpizynq(1) command-line tool is used to obtain hardware configuration
information about an OpenCPI-supported Xilinx Zynq System-on-Chip (SoC) platform
and can be used during development and debugging to determine exactly how the
SoC is configured (usually by the bootstrap process outside of OpenCPI).
The tool operates on OpenCPI HDL platforms that use the Xilinx Zynq-7000 series
SoCs, such as the zed, e31x and plutosdr platforms and on HDL platforms that use
the Xilinx Zynq Ultrascale+ chip architecture, like the zcu104 platform.
Specify one of the following keywords as an argument:
axi_hp
devcfg
clocks
spi
When invoked without options and arguments, ocpizynq displays help information.
In addition to the general-purpose options common
to all OpenCPI tools (see opencpi(1)),
the options described below can be specified for ocpizynq operations.
For convenience, options can occur anywhere in the command.
In the descriptions below, a plus sign (+) after the option indicates that it can be specified more than once on the command line. Arguments to word-form options are preceded by an equal sign (=) (as shown in the following descriptions) or a space. Arguments to letter options are preceded by a space.
-p <frequency>, --psclk=<frequency>
Display the configuration of a Zynq 7000 series platform’s clocks, specifying an external clock rate of 34.368 MHz:
ocpizynq --psclk=34368 clocks
Display the configuration for a Zynq platform’s AXI HP interfaces:
ocpizynq axi_hp
Display the configuration for the Zynq platform’s SPI interfaces:
ocpizynq spi