No changes between revisions
/Modules/CPLD_FPGA/XILINX_XVC/XVC_SOFTWARE/XVC_1x/linuxBuild.sh
File deleted
/Modules/CPLD_FPGA/XILINX_XVC/XVC_SOFTWARE/XVC_1x/!____!.txt
10,6 → 10,11
lib_linux\i386\libftd2xx.a <-- libftd2xx1.1.12.tar.gz/release/build/i386/libftd2xx.a
lib_linux\x86_64\libftd2xx.a <-- libftd2xx1.1.12.tar.gz/release/build/x86_64/libftd2xx.a
 
FTDI D2XX library (for Raspberry Linux), use Raspberry fixed library (I have one from http://lightput.com/download.html)
The difference is in vfp setting.
 
lib_linux\arm926vfp\libftd2xx.a <-- libftd2xx1.1.12_Raspberry_Pi_Fix.tar.gz/release/build/arm926/libftd2xx.a
 
Main program, pin configuration is here in .h file
 
mlab_xvcd.h
/Modules/CPLD_FPGA/XILINX_XVC/XVC_SOFTWARE/XVC_1x/BIN/mlab_xvcd_arm926vfp
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/Modules/CPLD_FPGA/XILINX_XVC/XVC_SOFTWARE/XVC_1x/buildLinux.sh
0,0 → 1,9
# For fresh Ubuntu 64bit needs to install tools:
# sudo apt-get install build-essential
 
# On 64bit system you need 32bit library support to build 32bit application:
# sudo apt-get install g++-multilib
 
# Just compile and link the target executable:
gcc mlab_xvcd*.cpp lib_linux/i386/libftd2xx.a -m32 -lstdc++ -ldl -lpthread -lrt -Os -o mlab_xvcd_i386
gcc mlab_xvcd*.cpp lib_linux/x86_64/libftd2xx.a -m64 -lstdc++ -ldl -lpthread -lrt -Os -o mlab_xvcd_x86_64
/Modules/CPLD_FPGA/XILINX_XVC/XVC_SOFTWARE/XVC_1x/buildRaspberry.sh
0,0 → 1,23
# Compile on raspberry.
#
# Get source
#
# sudo apt-get install subversion
# svn export svn://svn.mlab.cz/MLAB/Modules/CPLD_FPGA/XVC_XILINX/XVC_SOFTWARE/XVC_1x XVC
#
# Compile
#
# cd XVC
# chmod +x buildRaspberry.sh
# buildRaspberry.sh
#
# Copy udev rules
#
# sudo cp BIN/10-MLAB*.ules /etc/udev/rules.d
#
# Run the daemon
#
# mlab_xvcd_arm926vfp
#
# Just compile and link the target executable:
gcc mlab_xvcd*.cpp lib_linux/arm926vfp/libftd2xx.a -ldl -lpthread -lrt -Os -o mlab_xvcd_arm926vfp
/Modules/CPLD_FPGA/XILINX_XVC/XVC_SOFTWARE/XVC_1x/lib_linux/arm926vfp/readme.txt
0,0 → 1,4
For Raspberry Pi you have to use Raspberry version of the library.
The difference is in how the fpu is used (calling conventions).
The Linux for Raspberry uses vfp (hardware Vector Floating Point
coprocessor) but original FTDI library does not have the fpv switched on.