UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Issues installing a k1500 board

Accepted Solution Solved
Reply
Highlighted
Visitor
Posts: 4
Registered: ‎06-20-2012
Accepted Solution

Issues installing a k1500 board

The board is detected by linux:

lspci -kvvv

 

1b:00.0 Serial controller: Xilinx Corporation Device 8638 (prog-if 01 [16450])

                Subsystem: Xilinx Corporation Device 4434

                Physical Slot: 256

                Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

                Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

                Interrupt: pin A routed to IRQ 17

                Region 0: Memory at fcc00000 (32-bit, non-prefetchable) [size=4M]

                Region 1: Memory at fd2f0000 (32-bit, non-prefetchable) [size=64K]

                Capabilities: <access denied>

------------------------------------------------------------------------------------------------------------------------------------------------

The installation seems to be correct:

/eda/xilinx/SDx/2017.2/bin/xbinst --platform xilinx:kcu1500:4ddr-xpr:4.0 --destination sdaccel_setup

 

****** xbinst v2017.2_sdx (64-bit)

  **** SW Build 1972098 on Wed Aug 23 11:34:38 MDT 2017

    ** Copyright 1986-2017 Xilinx, Inc. All Rights Reserved.

 

INFO: [XBINST 60-895]    Target platform: /eda/xilinx/SDx/2017.2/platforms/xilinx_kcu1500_4ddr-xpr_4_0/xilinx_kcu1500_4ddr-xpr_4_0.xpfm

INFO: [XBINST 60-267] Packaging for PCIe...

INFO: Adding section using: 'xilinx_kcu1500_' (2052429 Bytes)

INFO: [XBINST 60-268] Packaging for PCIe...COMPLETE

INFO: [XBINST 60-667] xbinst has successfully created a board installation directory at /home/denis/sdaccel_setup.

------------------------------------------------------------------------------------------------------------------------------------------------

 

sudo ./install.sh

INFO: Installing firmware for FPGA devices

Found hal zip..ignoring

/tmp/29599/0

Archive:  xclmgmt.zip

  inflating: driver/include/xclerr.h 

  inflating: driver/include/xclbin.h 

  inflating: driver/xclng/mgmt/mgmt-bit.c 

  inflating: driver/xclng/mgmt/mgmt-core.c 

  inflating: driver/xclng/mgmt/mgmt-core.h 

  inflating: driver/xclng/mgmt/mgmt-cw.c 

  inflating: driver/xclng/mgmt/mgmt-i2c.c 

  inflating: driver/xclng/mgmt/mgmt-thread.c 

  inflating: driver/xclng/mgmt/mgmt-firewall.c 

  inflating: driver/xclng/mgmt/mgmt-utils.c 

  inflating: driver/xclng/mgmt/mgmt-ioctl.c 

  inflating: driver/xclng/mgmt/mgmt-xvc.c 

  inflating: driver/xclng/mgmt/mgmt-sysfs.c 

  inflating: driver/xclng/mgmt/xvc_pcie_ioctl.h 

  inflating: driver/include/xclfeatures.h 

 extracting: driver/xclng/mgmt/10-xclmgmt.rules 

  inflating: driver/xclng/mgmt/Makefile 

  inflating: driver/xclng/include/mgmt-reg.h 

  inflating: driver/xclng/include/mgmt-ioctl.h 

no makefile found in include

INFO: building kernel mode driver

make -C /lib/modules/2.6.32-696.3.1.el6.x86_64/build M=/tmp/29599/0/driver/xclng/mgmt modules

make[1]: Entering directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

  CC [M]  /tmp/29599/0/driver/xclng/mgmt/mgmt-core.o

  CC [M]  /tmp/29599/0/driver/xclng/mgmt/mgmt-bit.o

  CC [M]  /tmp/29599/0/driver/xclng/mgmt/mgmt-cw.o

  CC [M]  /tmp/29599/0/driver/xclng/mgmt/mgmt-i2c.o

  CC [M]  /tmp/29599/0/driver/xclng/mgmt/mgmt-thread.o

  CC [M]  /tmp/29599/0/driver/xclng/mgmt/mgmt-firewall.o

  CC [M]  /tmp/29599/0/driver/xclng/mgmt/mgmt-utils.o

  CC [M]  /tmp/29599/0/driver/xclng/mgmt/mgmt-ioctl.o

  CC [M]  /tmp/29599/0/driver/xclng/mgmt/mgmt-xvc.o

  CC [M]  /tmp/29599/0/driver/xclng/mgmt/mgmt-sysfs.o

  LD [M]  /tmp/29599/0/driver/xclng/mgmt/xclmgmt.o

  Building modules, stage 2.

  MODPOST 1 modules

  CC      /tmp/29599/0/driver/xclng/mgmt/xclmgmt.mod.o

  LD [M]  /tmp/29599/0/driver/xclng/mgmt/xclmgmt.ko

make[1]: Leaving directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

INFO: Installing new kernel mode driver xclmgmt version 2017.2.1

make -C /lib/modules/2.6.32-696.3.1.el6.x86_64/build M=/tmp/29599/0/driver/xclng/mgmt modules

make[1]: Entering directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

  Building modules, stage 2.

  MODPOST 1 modules

make[1]: Leaving directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

make -C /lib/modules/2.6.32-696.3.1.el6.x86_64/build M=/tmp/29599/0/driver/xclng/mgmt modules_install

make[1]: Entering directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

  INSTALL /tmp/29599/0/driver/xclng/mgmt/xclmgmt.ko

  DEPMOD  2.6.32-696.3.1.el6.x86_64

make[1]: Leaving directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

depmod -a

install -m 644 10-xclmgmt.rules /etc/udev/rules.d

rmmod -s xclmgmt || true

modprobe xclmgmt

/tmp/29599/0

Archive:  xocl.zip

  inflating: driver/xclng/drm/xocl/libxdma.c 

  inflating: driver/xclng/drm/xocl/libxdma.h 

  inflating: driver/xclng/drm/xocl/xocl_bo.c 

  inflating: driver/xclng/drm/xocl/xocl_drv.c 

  inflating: driver/xclng/drm/xocl/xocl_sysfs.c  

  inflating: driver/xclng/drm/xocl/xocl_drv.h 

  inflating: driver/xclng/drm/xocl/xocl_xdma.c 

  inflating: driver/xclng/drm/xocl/xocl_xdma.h 

  inflating: driver/xclng/drm/xocl/cdev_sgdma.h 

  inflating: driver/xclng/drm/xocl/Makefile 

 extracting: driver/xclng/drm/xocl/10-xocl.rules 

  inflating: driver/xclng/drm/.dir-locals.el 

  inflating: driver/xclng/include/xocl_ioctl.h 

  inflating: driver/xclng/include/libxdma_api.h 

  inflating: driver/xclng/include/drm/drm.h 

  inflating: driver/xclng/include/drm/drm_mode.h 

  inflating: driver/include/xclfeatures.h 

no makefile found in include

INFO: building kernel mode driver

make -C /lib/modules/2.6.32-696.3.1.el6.x86_64/build M=/tmp/29599/0/driver/xclng/drm/xocl modules

make[1]: Entering directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

  CC [M]  /tmp/29599/0/driver/xclng/drm/xocl/xocl_sysfs.o

  CC [M]  /tmp/29599/0/driver/xclng/drm/xocl/xocl_bo.o

  CC [M]  /tmp/29599/0/driver/xclng/drm/xocl/xocl_drv.o

  CC [M]  /tmp/29599/0/driver/xclng/drm/xocl/xocl_xdma.o

  CC [M]  /tmp/29599/0/driver/xclng/drm/xocl/libxdma.o

  LD [M]  /tmp/29599/0/driver/xclng/drm/xocl/xocl.o

  Building modules, stage 2.

  MODPOST 1 modules

  CC      /tmp/29599/0/driver/xclng/drm/xocl/xocl.mod.o

  LD [M]  /tmp/29599/0/driver/xclng/drm/xocl/xocl.ko

make[1]: Leaving directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

INFO: Installing new kernel mode driver xocl version 2017.2.1

make -C /lib/modules/2.6.32-696.3.1.el6.x86_64/build M=/tmp/29599/0/driver/xclng/drm/xocl modules

make[1]: Entering directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

  Building modules, stage 2.

  MODPOST 1 modules

make[1]: Leaving directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

make -C /lib/modules/2.6.32-696.3.1.el6.x86_64/build M=/tmp/29599/0/driver/xclng/drm/xocl modules_install

make[1]: Entering directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

  INSTALL /tmp/29599/0/driver/xclng/drm/xocl/xocl.ko

  DEPMOD  2.6.32-696.3.1.el6.x86_64

make[1]: Leaving directory `/usr/src/kernels/2.6.32-696.3.1.el6.x86_64'

depmod -a

install -m 644 10-xocl.rules /etc/udev/rules.d

rmmod -s xocl || true

modprobe xocl

Generating SDAccel runtime environment setup script, setup.sh for bash

Generating SDAccel runtime environment setup script, setup.csh for (t)csh

------------------------------------------------------------------------------------------------------------------------------------------------

Two drivers are installed:

[root@femlab4 xbinst]# lsmod

Module                  Size  Used by

xocl                   59619  0

xclmgmt                39483  0

 

modinfo xocl

filename:       /lib/modules/2.6.32-696.3.1.el6.x86_64/extra/xocl.ko

license:        GPL

author:         Sonal Santan <sonal.santan@xilinx.com>

description:    Xilinx PCIe OpenCL Device Manager

version:        2017.2.1

srcversion:     4841F2FA42B02BF7438C33C

alias:          pci:v000010EEd00004B48sv*sd*bc*sc*i*

alias:          pci:v00001D0Fd00001042sv*sd*bc*sc*i*

alias:          pci:v000010EEd00002808sv*sd*bc*sc*i*

alias:          pci:v000010EEd00004808sv*sd*bc*sc*i*

alias:          pci:v000010EEd00004828sv*sd*bc*sc*i*

alias:          pci:v000010EEd00004908sv*sd*bc*sc*i*

alias:          pci:v000010EEd00006D30sv*sd*bc*sc*i*

alias:          pci:v000010EEd00006A30sv*sd*bc*sc*i*

alias:          pci:v000010EEd00006930sv*sd*bc*sc*i*

alias:          pci:v000010EEd00006830sv*sd*bc*sc*i*

alias:          pci:v000010EEd00004B28sv*sd*bc*sc*i*

alias:          pci:v000010EEd00004A28sv*sd*bc*sc*i*

depends:        drm

vermagic:       2.6.32-696.3.1.el6.x86_64 SMP mod_unload modversions

parm:           poll_mode:Set 1 for hw polling, default is 0 (interrupts) (uint)

parm:           interrupt_mode:0 - MSI-x , 1 - MSI, 2 - Legacy (uint)

parm:           enable_credit_mp:Set 1 to enable creidt feature, default is 0 (no credit control) (uint)

 

modinfo xclmgmt

filename:       /lib/modules/2.6.32-696.3.1.el6.x86_64/extra/xclmgmt.ko

description:    Xilinx SDx management function driver

version:        2017.2.1

author:         Sonal Santan <sonal.santan@xilinx.com>

license:        GPL v2

srcversion:     FE22194757916C5326977D6

alias:          pci:v000010EEd00004B47sv*sd*bc*sc*i*

alias:          pci:v000010EEd00002807sv*sd*bc*sc*i*

alias:          pci:v000010EEd00004807sv*sd*bc*sc*i*

alias:          pci:v000010EEd00004827sv*sd*bc*sc*i*

alias:          pci:v000010EEd00004907sv*sd*bc*sc*i*

alias:          pci:v000010EEd00006A2Fsv*sd*bc*sc*i*

alias:          pci:v000010EEd0000692Fsv*sd*bc*sc*i*

alias:          pci:v000010EEd0000682Fsv*sd*bc*sc*i*

alias:          pci:v000010EEd00004B27sv*sd*bc*sc*i*

alias:          pci:v000010EEd00004A27sv*sd*bc*sc*i*

alias:          pci:v000010EEd00006C2Fsv*sd*bc*sc*i*

alias:          pci:v000010EEd00006D2Fsv*sd*bc*sc*i*

depends:       

vermagic:       2.6.32-696.3.1.el6.x86_64 SMP mod_unload modversions

parm:           health_interval:Interval (in sec) after which the health thread is run. (1 = Minimum, 5 = default) (int)

parm:           health_check:Enable health thread that checks the status of AXI Firewall and SYSMON. (0 = disable, 1 = enable) (int)

 ------------------------------------------------------------------------------------------------------------------------------------------------

BUT:

runtime/bin/xbsak query

Linux:2.6.32-696.3.1.el6.x86_64:#1 SMP Thu Apr 20 11:30:02 EDT 2017:x86_64

ERROR: No devices found

 

sudo sdxsyschk

 

Copyright 1986-2017 Xilinx, Inc. All Rights Reserved.

---------------------------------------------------------------------

| Tool Version   : SDAccel System Information Checker V2017.2

| Date   : 2017-10-05

| Time  : 21:50:33.179333

| Host Name     : femlab4.unizar.es

---------------------------------------------------------------------

 

Table of Contents

--------------------------------------------

  1. System and Environment Diagnosis

1.1 Linux OS System Check

1.2 64-bit Architecture Check

1.3 Environment Variables Check

1.4 Motherboard System Info

 

  1. PCIe Diagnosis

2.1 Xilinx PCIe Device Check

2.2 Device Link Speed Check

2.3 Root Port Speed Check

2.4 Xilinx Kernel Driver Check

2.5 Xilinx DSA-Device Matching Check

 

  1. Memory Functions (DMA) Testing

3.1 DMA Channel Check

3.2 Zero Data Pattern Transfer Test

3.3 Random Data Transfer Test

3.4 Memory Interface (MIG) Range Test

 

  1. Summary

 

----------------------------------

Checking Python environment...

Version 2.7.5 (default, Jun 27 2013, 14:17:01)

[GCC 4.8.0]

 

1.1 Linux OS System Check

----------------------------------

 

Your Linux System info is:

LSB Version:      :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

Distributor ID:   RedHatEnterpriseServer

Description:       Red Hat Enterprise Linux Server release 6.9 (Santiago)

Release:              6.9

Codename:        Santiago

 

WARNING: Your version of Red Hat distribution is not officially supported!

 

1.2 64-bit Architecture Check

----------------------------------

 

The architecture of your system processor is:

 x86_64

 

PASS: 64-bit system requirement check okay.

 

1.4 Motherboard System Info

----------------------------------

 

 System Information

                Manufacturer: VMware, Inc.

                Product Name: VMware Virtual Platform

                Version: None

 

2.1 Xilinx PCIe Device Check

----------------------------------

 

Processing PCIe info...

 

PASS: Found Xilinx PCIe device(s):

 

Device 0 -

1b:00.0 Serial controller: Xilinx Corporation Device 8638

 

2.2.1 Device Link Speed Check - Device 0

--------------------------------------------

 

Device 0 -

The link capability is:   PCIe Gen2(5 GT/s) with 32 lanes

The link status is:   PCIe Gen2(5 GT/s) with 32 lanes

 

PASS: Your card's running transfer rate matches its capabilities.

 

2.3.1 Root Port Speed Check - Device 0

--------------------------------------------

 

Root Port speed analysis on Device 0 -

The link status is:   PCIe Gen2(5 GT/s) with 32 lanes

The link capability is:   PCIe Gen2(5 GT/s) with 32 lanes

 

PASS: Your card's running transfer rate matches its root port's running link status rate.

 

2.4.1 Xilinx Kernel Driver Check - Device 0

----------------------------------------------

 

Device 0 -

NOTE: The device is expecting  Xilinx XCLDMA driver

ERROR: The kernel driver detected:  NONE! , does not match the device's expected version. Please re-install the driver.

 

2.5.1 Xilinx DSA-Device Matching Check - Device 0

---------------------------------------------------

 

Device 0 -

PASS: The DSA version is being detected as:  xilinx:kcu1500:4ddr-xpr:3.4

WARNING: The DSA binary cannot be found. Please re-install the firmware files after building your design archive.

 

3.1 DMA Channel Check

----------------------------------

 

Exception(s) found in above PCIe diagnosis sections, DMA analysis will not be performed.

 

 

4 Summary

-----------------------------------------------------------

Section                                           | Result

-----------------------------------------------------------

1.1 Linux OS System Check                         | WARNING

1.2 64-bit Architecture Check                     | PASS  

1.3 Environment Variables Check                   | NOT RUN

1.4 Motherboard System Info                       | DONE  

2.1 Xilinx PCIe Device Check                      | PASS  

2.2.1 Device Link Speed Check - Device 0          | PASS  

2.3.1 Root Port Speed Check - Device 0            | PASS  

2.4.1 Xilinx Kernel Driver Check - Device 0       | ERROR 

2.5.1 Xilinx DSA-Device Matching Check - Device 0 | WARNING

3.1 DMA Channel Check                             | NOT RUN

------------------------------------------------------------------------------------------------------------------------------------------------

I think that the correct driver is XCLDMA

But it is not installed by xbinst.

 

What can I do ?

 

Thanks

 


Accepted Solutions
Xilinx Employee
Posts: 169
Registered: ‎03-27-2012

Re: Issues installing a k1500 board

[ Edited ]

Hi Calibra,

 

It appears that you have installed driver of xilinx:kcu1500:4ddr-xpr:4.0 but the msc file programmed on board is xilinx:kcu1500:4ddr-xpr:3.4. The two versions do not match.

 

You need to re-program the board with correct .msc file.

 

Regards,

Sean

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post


All Replies
Visitor
Posts: 3
Registered: ‎10-03-2017

Re: Issues installing a k1500 board

How did you program the configuration memory on the board ? (not shown in your sequence but required in the installation process outlined in the 2017_2 user guide). When I set mine to use the 4.0 primary/secondary mcs the driver seems ok. It is as if your board has an incorrect configuration memory.

Xilinx Employee
Posts: 169
Registered: ‎03-27-2012

Re: Issues installing a k1500 board

[ Edited ]

Hi Calibra,

 

It appears that you have installed driver of xilinx:kcu1500:4ddr-xpr:4.0 but the msc file programmed on board is xilinx:kcu1500:4ddr-xpr:3.4. The two versions do not match.

 

You need to re-program the board with correct .msc file.

 

Regards,

Sean

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------