Changes between Version 31 and Version 32 of Tutorials/Edge Computing/Alveo Getting Started


Ignore:
Timestamp:
May 29, 2020, 4:33:39 PM (4 years ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Edge Computing/Alveo Getting Started

    v31 v32  
    9494* Power cycle the node using omf offh and on commands. Once the node is on, ssh to the node.
    9595* Run lspci command to verify the updated firmware. The output now shows both the management and user functions.
    96 {{{
     96{{{#!shell-session
    9797root@srv1-lg1:~# lspci -vd 10ee:
    9898d8:00.0 Processing accelerators: Xilinx Corporation Device 5000
     
    140140}}}
    141141Note the shell version installed on the FPGA(Flashable partition running on FPGA) matches with that installed on the host(Flashable partitions installed in system).
     142
     143* Use xbutil command to validate the card and the drivers.
     144{{{#!shell-session
     145root@srv1-lg1:~# /opt/xilinx/xrt/bin/xbutil validate
     146INFO: Found 1 cards
     147
     148INFO: Validating card[0]: xilinx_u200_xdma_201830_2
     149INFO: == Starting AUX power connector check:
     150INFO: == AUX power connector check PASSED
     151INFO: == Starting PCIE link check:
     152INFO: == PCIE link check PASSED
     153INFO: == Starting verify kernel test:
     154Host buffer alignment 4096 bytes
     155Compiled kernel = /opt/xilinx/dsa/xilinx_u200_xdma_201830_2/test/verify.xclbin
     156Error
     157Exception:
     158argument 1: <type 'exceptions.TypeError'>: Don't know how to convert parameter 1
     159FAILED TEST
     160
     161ERROR: == verify kernel test FAILED
     162INFO: Card[0] failed to validate.
     163
     164ERROR: 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
     168root@srv1-lg1:~# rmmod xocl
     169root@srv1-lg1:~# rmmod xclmgmt
     170root@srv1-lg1:~# modprobe xocl
     171root@srv1-lg1:~# modprobe xclmgmt
     172root@srv1-lg1:~# /opt/xilinx/xrt/bin/xbutil validate
     173INFO: Found 1 cards
     174
     175INFO: Validating card[0]: xilinx_u200_xdma_201830_2
     176INFO: == Starting AUX power connector check:
     177INFO: == AUX power connector check PASSED
     178INFO: == Starting PCIE link check:
     179INFO: == PCIE link check PASSED
     180INFO: == Starting verify kernel test:
     181INFO: == verify kernel test PASSED
     182INFO: == Starting DMA test:
     183Buffer Size: 256 MB
     184Host -> PCIe -> FPGA write bandwidth = 8402.31 MB/s
     185Host <- PCIe <- FPGA read bandwidth = 12156.5 MB/s
     186INFO: == DMA test PASSED
     187INFO: == Starting device memory bandwidth test:
     188...........
     189Maximum throughput: 52428 MB/s
     190INFO: == device memory bandwidth test PASSED
     191INFO: == Starting PCIE peer-to-peer test:
     192P2P BAR is not enabled. Skipping validation
     193INFO: == PCIE peer-to-peer test SKIPPED
     194INFO: == Starting memory-to-memory DMA test:
     195bank0 -> bank1 M2M bandwidth: 11990.1 MB/s
     196bank0 -> bank2 M2M bandwidth: 12025.6 MB/s
     197bank0 -> bank3 M2M bandwidth: 12038 MB/s
     198bank1 -> bank2 M2M bandwidth: 12057.3 MB/s
     199bank1 -> bank3 M2M bandwidth: 12025 MB/s
     200bank2 -> bank3 M2M bandwidth: 12058.4 MB/s
     201INFO: == memory-to-memory DMA test PASSED
     202INFO: Card[0] validated successfully.
     203
     204INFO: All cards validated successfully.
     205}}}
    142206 
    143207* For more information on card start up, please refer https://www.xilinx.com/support/documentation/boards_and_kits/accelerator-cards/ug1301-getting-started-guide-alveo-accelerator-cards.pdf