LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-28-2014, 12:50 PM   #1
t35t
LQ Newbie
 
Registered: Mar 2012
Posts: 18

Rep: Reputation: Disabled
Slackware64-current USB Device Problem


Hi all,

I am having some hard time connecting to a Xilinx fpga board. Drivers are provided by Digilent and installation is a straight process.

I have been working with these kind of fpga/mcu/embedded systems for a long time and have been using Slack for more than 10 years. Almost everything worked, sometimes with a little extra effort but it always worked in the end because... Slack rocks!

This time I don't think I am able to make it work. Device is working on Gentoo, Ubuntu, Fedora and even on win, but not Slack ; green indicator LED on board is not shining. Board is a S3E Kit and is fully functional ; no hardware problems at any side.

I first tried the default cable drivers provided by Xilinx ; no luck. Beside the original documentations, I followed these approaches that are reported to be successful ;

http://wiki.gentoo.org/wiki/Xilinx_USB_JTAG_Programmers
http://elinux.org/Install_Xilinx_USB...ers_for_Ubuntu
http://lighttomorrow.wordpress.com/2...-ubuntu-11-10/
http://rmdir.de/~michael/xilinx/
http://tingcao.wordpress.com/2012/05...32-bit-ubuntu/
http://ashwith.wordpress.com/2012/06...ora-17-64-bit/

but again no luck, it still seems that appropriate cable driver is not being loaded. These findings leads me to think that this is a specific Slackware problem but didn't encountered this behavior in previous versions of Slack. I am now using Slackware64-current(3.10.17), I am not sure about the origin of the problem. I compiled drivers, set udev rules followed everything mentioned around.

"lsusb" finds the device but queries like "djtgcfg enum" results in "no device found".

I would appreciate guidance from experienced users.

Cheers.
 
Old 01-28-2014, 02:35 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,489

Rep: Reputation: 567Reputation: 567Reputation: 567Reputation: 567Reputation: 567Reputation: 567
I looked into the Xilinx drivers. As of kernel 2.6.23 or thereabouts they are incorrigibly broken because the standard includes were revised. You can hack them to compile, but they don't work.

Digilient has some exe for downloading to their boards. I have only used the crappy one they have in College here you might run that under wine. The rmdir.de link above was not the one I expected, but that guy wrote a driver for xilinx fpga boards, if memory serves. If you come up with specific errors from slack, I'd be interested.
 
Old 01-28-2014, 03:21 PM   #3
t35t
LQ Newbie
 
Registered: Mar 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thank you for the information. I encountered those include problems while compiling like linux.h asm.h and so on ; tried to comment them out but I got a bunch of other errors. As you mentioned it doesn't work that way.

There exists an exe to download bit to board via libCse that's correct but to achieve that you need to have the proper driver working first, I am not there yet need to fix the driver first.

Still trying.
 
Old 01-28-2014, 05:02 PM   #4
t35t
LQ Newbie
 
Registered: Mar 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
Problem is mainly related to 2 parameters ;
libusb version
rule order

so it's not that Slackware specific at all. It wasn't related to kernel mismatch also.

To make Xilinx USB Cable driver (ISE 14.7) on Slackware64-current ;

0-Install ISE without installing the embedded drivers
1-download libusb 0.1.4, compile and install
2-get fxload from Slackbuilds, create package and install
3-set appropriate rules for usb I/O
4-copy firmware file to /usr/share
5-restart udevd (udevadm trigger)

Everything is fully functional, tested OK.

reference;
http://techplustuff.blogspot.com.tr/...on-debian.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with handbrake on Slackware64-current shotswell21 Slackware 3 06-24-2013 09:36 PM
[SOLVED] Phonon changes from one device to another on slackware64-current DrHouse Slackware 2 05-12-2013 06:24 PM
[SOLVED] dbus problem slackware64-current gtludwig Slackware 5 01-05-2010 10:32 AM
Slackware64-Current from USB? THCsphere Slackware - Installation 1 11-29-2009 03:36 AM
Slackware64-current installation via usb stick hangs before setup mr_mandrill Slackware - Installation 9 09-11-2009 09:21 AM


All times are GMT -5. The time now is 10:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration