LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-04-2012, 09:17 AM   #1
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
aqemu-connecting to JTAG via usb


Im am running a laptop with slackware64 13.37 with aqemu/qemu for virtiualisation.

I want to connect from the ubuntu vm to a jtag via usb. my host usb ports are:

Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 04f2:b1b4 Chicony Electronics Co., Ltd Lenovo Integrated Camera
Bus 004 Device 002: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
Bus 003 Device 005: ID 9e88:9e8f
On the aqemu vm I add a select the usb0 as "FTDI SheevaPlug JTAGKey FT2232D B" via a list that I am presented with.

To attach to the JTAG from my laptop usb0 I would normally do:

Code:
screen /dev/ttyUSB0 115200
I boot the vm into ubuntu server and do ls /dev/, The output is in the attached screenshot-I have no idea which device is the JTAG.

Any thoughts? It had occurred to me that this could really be a question about ubuntu, but I wanted to eliminate any problems with the qemu settings first. If I can't trouble shoot this then I'll need to set up openocd on the host and connect from there-openocd on 13.37 is a pain though, as I'm not aware of any slackbuilds for it.
Attached Thumbnails
Click image for larger version

Name:	snapshot1.png
Views:	20
Size:	253.9 KB
ID:	9186  
 
Old 03-05-2012, 03:37 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by kristizz View Post
If I can't trouble shoot this then I'll need to set up openocd on the host and connect from there-openocd on 13.37 is a pain though, as I'm not aware of any slackbuilds for it.
Can't help with the Aqemu/Ubuntu vm/usb problem, but I did build openocd, and its dependency libftdi, successfully on 13.37 using src2pkg when I was messing about with my Sheevaplug. For openocd I used this command:
Code:
src2pkg -e='--enable-ft2232_libftdi --enable-maintainer-mode'
Get the sources here:
http://www.intra2net.com/en/develope...i/download.php

http://sourceforge.net/projects/open.../openocd/0.5.0

Last edited by brianL; 03-05-2012 at 03:40 AM.
 
1 members found this post helpful.
Old 03-05-2012, 01:02 PM   #3
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by brianL View Post
Can't help with the Aqemu/Ubuntu vm/usb problem, but I did build openocd, and its dependency libftdi, successfully on 13.37 using src2pkg when I was messing about with my Sheevaplug. For openocd I used this command:
Code:
src2pkg -e='--enable-ft2232_libftdi --enable-maintainer-mode'
Get the sources here:
http://www.intra2net.com/en/develope...i/download.php

http://sourceforge.net/projects/open.../openocd/0.5.0
Thanks Brian-I just built the library and openocd using makepkg. It's running ok-now I just have to sort out a uboot upgrade-can't get that working yet though-plug computers are great if you like spending hours chasing around the web looking and reading crap documentation!
 
Old 03-05-2012, 03:08 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
My SheevaPlug is <censored>ed up. I've written about it in a few of my LQ blog entries: this is the latest entry.
 
  


Reply



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
Why use JTAG Emulator? kennyfly899 General 5 11-16-2009 03:58 AM
QEMU/KVM GUI = AQEMU segmentation fault on slackware64 13.0! agentdcooper Slackware 3 09-16-2009 05:59 AM
Jtag Cottsay Linux - Hardware 2 03-01-2006 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration