
Appendix C
Generating the xbutil flash
Command
To flash the firmware to the Alveo™ card, use the
xbutil flash
command, which flashes the
deployment shell installed in the system onto the Alveo card.
The format of the
xbutil flash
command is:
sudo /opt/xilinx/xrt/bin/xbutil flash -a <shell_name> -t <timestamp> -d
<card_ID>
To obtain the necessary card ID (
-d
), shell name (
-a
), and timestamp (
-t
) command options, run
the following
xbutil flash scan
command. For more information, see
.
sudo /opt/xilinx/xrt/bin/xbutil flash scan
For each card in the server, you will see an output similar to the example below:
Card [0]
Card BDF: 0000:02:00.0
Card type: u200
Flash type: SPI
DSA running on FPGA:
xilinx_u200_xdma_201820_1,[TS=0x000000005b891ee3],[BMC=1.8]
DSA package installed in system:
xilinx_u200_xdma_201830_1,[TS=0x000000005bece8e1],[BMC=3.1]
Both the shell name and timestamp values need to be taken from
DSA package installed
in system:
. In this output, the
xbutil flash
command options are:
• Card ID (
-d
):
Card [0]
The card ID is
0
. The card ID will change if any cards are installed or uninstalled. Do not
assume that the card ID will remain static.
• Shell name (
-a
):
Card [0DSA package installed in system:
xilinx_u200_xdma_201830_1,[TS=0x000000005bece8e1],[BMC=3.1]
UG1301 (v1.3) February 12, 2019
Getting Started with Alveo Accelerator Cards
47