cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
6,896 Views
Registered: ‎04-20-2010

xupv5lx110t not detected using Bus Master DMA (xapp1052)

Hi,

 

I have a xilinx xupv5lx110t (ML509) and I am following the xapp1052 doc. I need to comunicate via PCIe using DMA.

I could succesfully detect and test my board with the PIO exemple (as discribed on xapp1022). But now I need a faster comunication.

With BMD i can actually generate the bitstream but my board is not detected by lspci.

 

with PIO design lspci returned the board on position 0000:04 but now, after loading the bitstream and a warm reset, dmesg returns:
[    1.153636] pci_bus 0000:04: resource 0 io:  [0x3000-0x3fff]
[    1.153638] pci_bus 0000:04: resource 1 mem: [0xc0800000-0xc09fffff]
[    1.153639] pci_bus 0000:04: resource 2 pref mem [0xc0a00000-0xc0bfffff]
If I try loading the driver xbmd.ko from xapp1052, I get this:
insmod: error inserting 'xbmd.ko': -1 Operation not permitted
and dmesg returns:
[  582.230245] xbmd: Init: Hardware not found.

 

My bitfile was generated by ISE10.1 and UBUNTU 10.04

 

I would really apreciated some help.

 

Thanks

Eduardo

0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
6,877 Views
Registered: ‎08-06-2008

You could try comparing the xco file from the working pio example design and the non-working bmd design. The significant difference between the two is the back end user design. Therefore if one is working then the other one should also be detected correctly provided the required parameters such as sub-class code etc. are similar.

0 Kudos
Highlighted
Anonymous
Not applicable
6,367 Views

Hi,

 

    I'm facing almost the same problem, but using Xilinx Virtex-6 DSP Development Kit with High-Speed Analog (ml605). Below are script and dmesg outputs:

 

[root@cpqd051342 xbmd]# ./run_bmd.csh
gtk-builder-convert xbmd_app.glade xbmd_app.xml
Wrote xbmd_app.xml
make -C /lib/modules/2.6.27.5-117.

fc10.x86_64/build M=/root/xbmd  modules
make[1]: Entrando no diretório `/usr/src/kernels/2.6.27.5-117.fc10.x86_64'
 Building modules, stage 2.
 MODPOST 1 modules
make[1]: Saindo do diretório `/usr/src/kernels/2.6.27.5-117.fc10.x86_64'
g++ -Wall -g -o xbmd_app cfg.cpp bmd.cpp xbmd_ep.cpp xbmd_main.cpp
`pkg-config --cflags --libs gtk+-2.0 --libs libglade-2.0`
-export-dynamic
crw-r--r-- 1 root root 241, 1 Nov 30 16:35 /dev/xbmd
+ /sbin/insmod xbmd.ko
insmod: error inserting 'xbmd.ko': -1 Operation not permitted

[root@cpqd051342 xbmd]# dmesg
...
xbmd: Init: Base hw val 0
xbmd: Init: Base hw len 1024
xbmd: Init: Virt HW address 33C000
xbmd: Init: Device IRQ: B
xbmd: Init: Memory in use.
    What could be the problem?
0 Kudos
Highlighted
Adventurer
Adventurer
6,319 Views
Registered: ‎11-17-2009

I am facing a similar problem, Is there any solution? xbmd.ko file is missing

 

here is the log of linux command

 

./run_bmd.csh
gtk-builder-convert xbmd_app.glade xbmd_app.xml
make: gtk-builder-convert: Command not found
make: *** [all] Error 127
crw-r--r-- 1 root root 241, 1 Mar  3 15:08 /dev/xbmd
+ /sbin/insmod xbmd.ko
insmod: can't read 'xbmd.ko': No such file or directory

 

Best Regards,

Uzair

0 Kudos