ADALM-PLUTO project build¶
System diagram¶
Prerequisites¶
Vivado 2019.2
SRS Python tools:
cd python_tools
sudo pip3 install -U pip
sudo pip3 install .
Bitstream generation¶
Set Vivado path:
export SRS_VIVADO_PATH=/opt/Xilinx/Vivado/2019.2/
Generate SRS IPs, ADI IPs and bitstream:
cd projects/pluto
./create_project.sh bitstream
Bootgen¶
Configure the PlutoSDR parameters:
export BOARD_USER="root"
export BOARD_PASS="analog"
export BOARD_IP="192.168.1.10"
Generate the boot file, load it in the board and reset it:
make gen-boot-load
Board usage¶
See the Application Note: Tx-Rx testing with ADALM-PLUTO for full details on building and running an SDR software application in this platform.
Tips and tricks¶
In case you want to manually load the bootfiles, just use the following commands (as used in the board-specific Makefile):
export BOARD_USER="root"
export BOARD_PASS="analog"
export BOARD_IP="192.168.1.10"
sshpass -p $BOARD_PASS scp ./bootfiles/system_top.bit.bin $BOARD_USER@$BOARD_IP:/lib/firmware
sshpass -p $BOARD_PASS ssh $BOARD_USER@$BOARD_IP "cd /lib/firmware; echo system_top.bit.bin > /sys/class/fpga_manager/fpga0/firmware"
sshpass -p $BOARD_PASS ssh $BOARD_USER@$BOARD_IP "echo 79024000.cf-ad9361-dds-core-lpc > /sys/bus/platform/drivers/cf_axi_dds/unbind"
sshpass -p $BOARD_PASS ssh $BOARD_USER@$BOARD_IP "echo 79020000.cf-ad9361-lpc > /sys/bus/platform/drivers/cf_axi_adc/unbind"
sshpass -p $BOARD_PASS ssh $BOARD_USER@$BOARD_IP "echo 7c400000.dma > /sys/bus/platform/drivers/dma-axi-dmac/unbind"
sshpass -p $BOARD_PASS ssh $BOARD_USER@$BOARD_IP "echo 7c420000.dma > /sys/bus/platform/drivers/dma-axi-dmac/unbind"
sshpass -p $BOARD_PASS ssh $BOARD_USER@$BOARD_IP "echo 7c420000.dma > /sys/bus/platform/drivers/dma-axi-dmac/bind"
sshpass -p $BOARD_PASS ssh $BOARD_USER@$BOARD_IP "echo 7c400000.dma > /sys/bus/platform/drivers/dma-axi-dmac/bind"
sshpass -p $BOARD_PASS ssh $BOARD_USER@$BOARD_IP "echo 79024000.cf-ad9361-dds-core-lpc > /sys/bus/platform/drivers/cf_axi_dds/bind"
sshpass -p $BOARD_PASS ssh $BOARD_USER@$BOARD_IP "echo 79020000.cf-ad9361-lpc > /sys/bus/platform/drivers/cf_axi_adc/bind"