| 142 | |
| 143 | * Use xbutil command to validate the card and the drivers. |
| 144 | {{{#!shell-session |
| 145 | root@srv1-lg1:~# /opt/xilinx/xrt/bin/xbutil validate |
| 146 | INFO: Found 1 cards |
| 147 | |
| 148 | INFO: Validating card[0]: xilinx_u200_xdma_201830_2 |
| 149 | INFO: == Starting AUX power connector check: |
| 150 | INFO: == AUX power connector check PASSED |
| 151 | INFO: == Starting PCIE link check: |
| 152 | INFO: == PCIE link check PASSED |
| 153 | INFO: == Starting verify kernel test: |
| 154 | Host buffer alignment 4096 bytes |
| 155 | Compiled kernel = /opt/xilinx/dsa/xilinx_u200_xdma_201830_2/test/verify.xclbin |
| 156 | Error |
| 157 | Exception: |
| 158 | argument 1: <type 'exceptions.TypeError'>: Don't know how to convert parameter 1 |
| 159 | FAILED TEST |
| 160 | |
| 161 | ERROR: == verify kernel test FAILED |
| 162 | INFO: Card[0] failed to validate. |
| 163 | |
| 164 | ERROR: Some cards failed to validate. |
| 165 | }}} |
| 166 | * In case card validation fails as above, relaod the drivers and try validating the card. The card is then ready to use. |
| 167 | {{{#!shell-session |
| 168 | root@srv1-lg1:~# rmmod xocl |
| 169 | root@srv1-lg1:~# rmmod xclmgmt |
| 170 | root@srv1-lg1:~# modprobe xocl |
| 171 | root@srv1-lg1:~# modprobe xclmgmt |
| 172 | root@srv1-lg1:~# /opt/xilinx/xrt/bin/xbutil validate |
| 173 | INFO: Found 1 cards |
| 174 | |
| 175 | INFO: Validating card[0]: xilinx_u200_xdma_201830_2 |
| 176 | INFO: == Starting AUX power connector check: |
| 177 | INFO: == AUX power connector check PASSED |
| 178 | INFO: == Starting PCIE link check: |
| 179 | INFO: == PCIE link check PASSED |
| 180 | INFO: == Starting verify kernel test: |
| 181 | INFO: == verify kernel test PASSED |
| 182 | INFO: == Starting DMA test: |
| 183 | Buffer Size: 256 MB |
| 184 | Host -> PCIe -> FPGA write bandwidth = 8402.31 MB/s |
| 185 | Host <- PCIe <- FPGA read bandwidth = 12156.5 MB/s |
| 186 | INFO: == DMA test PASSED |
| 187 | INFO: == Starting device memory bandwidth test: |
| 188 | ........... |
| 189 | Maximum throughput: 52428 MB/s |
| 190 | INFO: == device memory bandwidth test PASSED |
| 191 | INFO: == Starting PCIE peer-to-peer test: |
| 192 | P2P BAR is not enabled. Skipping validation |
| 193 | INFO: == PCIE peer-to-peer test SKIPPED |
| 194 | INFO: == Starting memory-to-memory DMA test: |
| 195 | bank0 -> bank1 M2M bandwidth: 11990.1 MB/s |
| 196 | bank0 -> bank2 M2M bandwidth: 12025.6 MB/s |
| 197 | bank0 -> bank3 M2M bandwidth: 12038 MB/s |
| 198 | bank1 -> bank2 M2M bandwidth: 12057.3 MB/s |
| 199 | bank1 -> bank3 M2M bandwidth: 12025 MB/s |
| 200 | bank2 -> bank3 M2M bandwidth: 12058.4 MB/s |
| 201 | INFO: == memory-to-memory DMA test PASSED |
| 202 | INFO: Card[0] validated successfully. |
| 203 | |
| 204 | INFO: All cards validated successfully. |
| 205 | }}} |