重要: このオプションはエンベデッド プロセッサ プラットフォームでは使用できません。
validate
コマンドは、インストールされているカードに関する読みやすいサマリを生成します。次のテストを実行して正しくインストールされていることを検証します。
- 検出されたカードを検証します。
- PCI Express リンク ステータスをチェックします。
- カード上のカーネルを検証します。
- 次のデータ帯域幅テストを実行します。
- DMA テスト: PCI Express を介したホストとカード メモリ間のデータ転送。
- DDR または HBM テスト: カーネルとカード メモリ間のデータ転送。
コマンド ライン形式は次のとおりです。
xbutil validate [-d card]
次の表に、使用可能なオプションを示します。
オプション | 説明 | 必須 |
---|---|---|
-d <card>
|
ターゲット カードを指定します。<card> は、card_id または Bus:Device:Function (BDF) のいずれかに指定できます。指定しない場合は、デフォルトの card_id = 0 になります。 注記:
xbutil scan コマンドを使用すると、設置されたカードの ID と BDF の両方が表示されます。 |
N |
次に、このコマンドの出力例を示します。
INFO: Found 1 cards
INFO: Validating card[0]: xilinx_u200_xdma_201830_2
INFO: == Starting AUX power connector check:
INFO: == AUX power connector check PASSED
INFO: == Starting PCIE link check:
INFO: == PCIE link check PASSED
INFO: == Starting verify kernel test:
INFO: == verify kernel test PASSED
INFO: == Starting DMA test:
Buffer Size: 256 MB
Host -> PCIe -> FPGA write bandwidth = 8775.99 MB/s
Host <- PCIe <- FPGA read bandwidth = 12136.8 MB/s
INFO: == DMA test PASSED
INFO: == Starting device memory bandwidth test:
...........
Maximum throughput: 52428 MB/s
INFO: == device memory bandwidth test PASSED
INFO: == Starting PCIE peer-to-peer test:
P2P BAR is not enabled. Skipping validation
INFO: == PCIE peer-to-peer test SKIPPED
INFO: == Starting memory-to-memory DMA test:
bank0 -> bank1 M2M bandwidth: 12010.3 MB/s
bank0 -> bank2 M2M bandwidth: 12051.6 MB/s
bank0 -> bank3 M2M bandwidth: 12063.5 MB/s
bank1 -> bank2 M2M bandwidth: 12052.7 MB/s
bank1 -> bank3 M2M bandwidth: 12048.2 MB/s
bank2 -> bank3 M2M bandwidth: 12052.2 MB/s
INFO: == memory-to-memory DMA test PASSED
INFO: Card[0] validated successfully.
INFO: All cards validated successfully.