![background image](http://html1.mh-extra.com/html/national-instruments/ettus-e3-series/ettus-e3-series_getting-started-manual_3436056008.webp)
Ettus E3XX Getting Started Guide
ANGRYVIPER Team
split into two individual channels referred to as “Front End A” and “Front End B.” Specific details can be
found in the vendor manuals.
4
SD Card Setup
4.1
Make a backup image of factory SD card (assumes Linux host)
This section provides the steps for creating an SD card backup image. The subsequent subsections assume the SD
card is empty.
•
Determine the device file name for the SD card by executing dmesg command below. It will likely be something
like
/dev/sdb
or
/dev/mmcblk0
.
$ dmesg | tail -n 15
•
Run the following dd command to make a backup image, where DEVICENAME was determined above. This
step should take
∼
15
minutes depending on the card size.
$ dd if=DEVICENAME of=backup.image
To restore the card back to the original contents, run the command “
dd of=DEVICENAME if=backup.image
” (Do
not do this step unless you want the original contents back on the SD card.)
4.2
Format the SD card
•
Format the SD card with a single FAT32 partition.
4.3
Copy OpenCPI files to SD card
This section provides the simplest instructions for copying files over to the SD card. Appendix B contains more
involved instructions for copying
only
the necessary files to the SD card for each mode.
WARNING: The user must ensure that the contents of the SD, match the version of the OpenCPI release that the
artifacts were built against.
When using the factory SD card, all files can be ignored or deleted. Any files/directories copied to SD card will
appear at
/mnt/card
on the E310.
Copy the following directory onto the SD card:
$ cp -rL /opt/opencpi/cdk/e3xx/sdcard-xilinx13_4/* /run/media/<user>/<partition>/
4.3.1
Copy Standalone Mode specific files to SD card
Copy the
testbias
bitstream into the artifacts directory:
$ cp /home/ocpi_projects/assets/hdl/assemblies/testbias/container-testbias_e3xx/\
target-zynq/testbias_e3xx_base.bit.gz /run/media/<user>/<partition>/opencpi/xilinx13_4/artifacts
4.3.2
Copy Network Mode specific files to SD card
No additional files required for Network Mode.
4.3.3
SD Card Source
The final SD Card artifacts are distributed in
/opt/opencpi/cdk/e3xx/
via RPM as noted previously. The end user
is not required nor expected to generate the files, but the process is documented below in Appendix A.
8