Matchstiq-Z1 Getting Started Guide
ANGRYVIPER Team
4.4
Copy files to SD card for desired Mode(s)
As previously discussed, Standalone and Network modes offer trade-offs for configuring the run-time environment
of the platform. The following sections provide instructions for copying specific files/directories to the SD card in
support of these modes. For maximum flexibility and completion of this getting started guide, it is recommended
that the SD card be configured to support both modes, as covered in the next sub-section. However, instructions for
configuring the SD card for each mode separately, have also been provided.
4.4.1
Standalone and Network Modes
The SD can be setup to support both modes, as there is no conflict between the files/directories for either mode. To
setup the SD to support both modes:
After performing the steps from 4.3, copy the entire
opencpi
directory to the SD card.
$ cp -rL /opt/opencpi/cdk/matchstiq_z1/sdcard-xilinx13_3/opencpi /run/media/<user>/ATLAS/
$ cp /home/<user>/ocpi_projects/assets/hdl/assemblies/testbias/container-testbias_matchstiq_z1_base/\
target-zynq/testbias_matchstiq_z1_base.bit.gz /run/media/<user>/ATLAS/opencpi/xilinx13_3/artifacts/
4.4.2
Standalone Mode
After performing the steps from 4.3, copy the entire
opencpi
directory to the SD card, then copy the relevant
bitstreams, artifacts into the
artifacts
directory and application XMLs into the
applications
directory. For this
getting started guide, only one bitstream is required to be copied onto the SD cards, where as the required artifacts
and application XML where copied to the SD along with the entire
opencpi
directory.
$ cp -rL /opt/opencpi/cdk/matchstiq_z1/sdcard-xilinx13_3/opencpi /run/media/<user>/ATLAS/
$ cp /home/<user>/ocpi_projects/assets/hdl/assemblies/testbias/container-testbias_matchstiq_z1_base/\
target-zynq/testbias_matchstiq_z1_base.bit.gz /run/media/<user>/ATLAS/opencpi/xilinx13_3/artifacts/
4.4.3
Network Mode
After performing the steps from 4.3, create a directory on the partition named “opencpi” and copy the following files
into the this directory:
$ mkdir /run/media/<user>/ATLAS/opencpi
$ cp /opt/opencpi/cdk/matchstiq_z1/sdcard-xilinx13_3/opencpi/system.xml \
/run/media/<user>/ATLAS/opencpi/
$ cp /opt/opencpi/cdk/matchstiq_z1/sdcard-xilinx13_3/opencpi/default_mynetsetup.sh \
/run/media/<user>/ATLAS/opencpi/
$ cp /opt/opencpi/cdk/matchstiq_z1/sdcard-xilinx13_3/opencpi/zynq_net_setup.sh \
/run/media/<user>/ATLAS/opencpi/
4.5
SD Card Source
The final SD Card artifacts are distributed in
/opt/opencpi/cdk/matchstiq_z1/
via RPM as noted previously.
The end user is not required nor expected to generate the files.
4.6
No changes required for “SDHOME” partition
All the files in this partition can be ignored. If space for files is required for your application, they can be deleted.
9