Appendix D
Generating the
xbmgmt flash --update Command
To flash the firmware installed in the system to the Alveo
™
card, use the following command
syntax..
sudo /opt/xilinx/xrt/bin/xbmgmt flash --update --shell <shell_name> --card
<card_bdf>
To obtain the necessary
card_bdf
and
shell_name
options, run the following
xbmgmt
flash --scan
command. For more information, see
sudo /opt/xilinx/xrt/bin/xbmgmt flash --scan
You will see an output similar to the output below. In this example, the
Flashable partition
running on FPGA
does not match
Flashable partitions installed in system
,
implying that the
Flashable partition running on FPGA
needs to be updated using the
xbmgmt flash --update
command.
Card [0000:65:00.0]
Card type: u50
Flash type: SPI
Flashable partition running on FPGA:
xilinx_u50_GOLDEN_9,[SC=INACTIVE]
Flashable partitions installed in system:
xilinx_u50_gen3x16_xdma_201920_3,[ID=0xf465b0a3ae8c64f6],[SC=5.0.27]
Logic UUID:
f465b0a3ae8c64f619bc150384ace69b
•
card_bdf
: Specifies the BDF of the card to flash and is given on the output of the first line
Card [card_bdf]
. In the above example, the BDF is
0000:65:00.0
. This option is only
required if you have multiple cards installed on the server.
•
shell_name
: Specifies the partition that is used to flash the card. The
shell_name
for
flashing is provided under
Flashable partitions installed in system
. In the
above example, the
shell_name
is
xilinx_u50_gen3x16_xdma_201920_3
.
For the example output above, the
xbmgmt flash
command is:
sudo /opt/xilinx/xrt/bin/xbmgmt flash --update --shell
xilinx_u50_gen3x16_xdma_201920_3 --card 0000:65:00.0
Appendix D: Generating the xbmgmt flash --update Command
UG1370 (v1.7) December 9, 2020
Alveo U50 Data Center Accelerator Card Installation Guide
41