Name: kintex7-pcie-reference
Owner: Sampa
Description: null
Created: 2017-03-28 22:58:59.0
Updated: 2018-05-23 10:41:09.0
Pushed: 2017-04-07 23:18:49.0
Homepage: null
Size: 58
Language: C
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
(TODO better description)
software/driver
and copy the provided driver rules from the etc directory
to the /etc/
directory on your system with cp ../etc/udev/rules.d/* /etc/udev/rules.d/
make remake-board
and program the board over jtag with make program
sudo ./load_driver.sh
(in the software folder)python test_harness.py
(in the software folder)A trimmed down verison of this reference design:
Important changes to get the reference driver to build:
In driver/xdma/xdma_base.c
file replace all of __dev
prefixes with __
(for
example __devinit
–> __init
, __devexit
–> __exit
)
In driver/xrawdata0/Makefile
and driver/xrawdata1/Makefile
add this
line to end of file:
KBUILD_EXTRA_SYMBOLS := $(src)/../xdma/Module.symvers
Change device number to 0x7042 in driver/xdma/xdma_base.c
.