Re: [coreboot] USB debug cables and emulation

2008-07-08 Thread bari
Joseph Smith wrote: Great. I am going to be on vacation next week. I am about half way through reading the USB 2.0 specification (http://www.usb.org/developers/docs/), and I will try to finish by next week and dive right in when I get back :-) Take a look at the microchip PIC devices as

Re: [coreboot] USB debug cables and emulation

2008-07-03 Thread Joseph Smith
Here's an old USB Debug Port presentation that may be useful to those new to the concept: http://www.usb.org/developers/presentations/pres0602/john_keys.pdf Is the NET20DC really the only USB Debug Device available? I tried searching for others, but didn't find any. I think the

Re: [coreboot] USB debug cables and emulation

2008-07-03 Thread Tom Sylla
On Thu, Jul 3, 2008 at 8:45 AM, Joseph Smith [EMAIL PROTECTED] wrote: Well it looks like in the pdf presentation above they have a Serial-USB debugger. It looks like a development board though because there are a bunch of unnecessary stuff on it. I'm thinking a Serial-USB debugger is the way

Re: [coreboot] USB debug cables and emulation

2008-07-03 Thread Joseph Smith
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Sylla Sent: Thursday, July 03, 2008 10:56 AM To: Joseph Smith Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; c- [EMAIL PROTECTED]; coreboot@coreboot.org Subject: Re: [coreboot] USB debug cables

Re: [coreboot] USB debug cables and emulation

2008-07-03 Thread Peter Stuge
On Thu, Jul 03, 2008 at 08:45:15AM -0400, Joseph Smith wrote: I'm thinking a Serial-USB debugger is the way to go Ok. Keep in mind that the serial port will probably not be able to handle full speed data from the debugged target. I'm not sure what the transfer overhead is, but I expect the debug

Re: [coreboot] USB debug cables and emulation

2008-07-03 Thread Joseph Smith
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Stuge Sent: Thursday, July 03, 2008 1:19 PM To: coreboot@coreboot.org Subject: Re: [coreboot] USB debug cables and emulation On Thu, Jul 03, 2008 at 08:45:15AM -0400, Joseph Smith wrote: I'm

Re: [coreboot] USB debug cables and emulation

2008-07-03 Thread Carl-Daniel Hailfinger
On 03.07.2008 21:42, Joseph Smith wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Stuge Sent: Thursday, July 03, 2008 1:19 PM To: coreboot@coreboot.org Subject: Re: [coreboot] USB debug cables and emulation On Thu, Jul 03, 2008 at 08

Re: [coreboot] USB debug cables and emulation

2008-07-03 Thread Tom Sylla
Others have pretty much replied with what I was trying to point out, but here are a couple more comments: On Thu, Jul 3, 2008 at 12:28 PM, Joseph Smith [EMAIL PROTECTED] wrote: I guess you don't get it. I am not doing it to mass produce and sell at a lower cost. I don't really care about any

Re: [coreboot] USB debug cables and emulation

2008-07-03 Thread Joseph Smith
So - comes down to why you want to do it. :) Well, I wanted to take this as a opportunity to learn the in's and out's of USB especially USB 2.0 (EHCI). If I make a cool debugging device along the way, then great :-) But I get the point, It will probably end up costing me an arm and a leg to do

Re: [coreboot] USB debug cables and emulation

2008-07-03 Thread Joseph Smith
On Fri, 04 Jul 2008 01:21:19 +0200, Stefan Reinauer [EMAIL PROTECTED] wrote: Joseph Smith wrote: Also I really want to learn USB for coreboot payload purposes. Did anyone realize with all these different payloads we have none of them support USB completely?? Filo is the only one that

Re: [coreboot] USB debug cables and emulation

2008-07-03 Thread Peter Stuge
On Fri, Jul 04, 2008 at 03:44:18AM +0200, Patrick Georgi wrote: For UHCI: .. For OHCI: .. For EHCI: - figure out how to gain control over a device from the USB1 controller (that will somehow interact with the USB1 driver) Some comments, hopefully helpful: USB1 devices on the EHCI root hub

Re: [coreboot] USB debug cables and emulation

2008-06-27 Thread Joseph Smith
On Thu, 26 Jun 2008 12:54:04 -0500, bari [EMAIL PROTECTED] wrote: Carl-Daniel Hailfinger wrote: Hi, I'm not officially back yet, but here's a question I don't want to forget: Are there any easily available USB debug cables? The NET20DC is very difficult to get in Europe. Can I emulate

Re: [coreboot] USB debug cables and emulation

2008-06-27 Thread Peter Stuge
On Fri, Jun 27, 2008 at 10:28:07AM -0400, Joseph Smith wrote: Well, as some of you may know I am a bit of a hardware hacker. That's what brought me to coreboot in the first place. That does not get you too far when it comes to USB, which has several layers of protocol. Please do look into the

Re: [coreboot] USB debug cables and emulation

2008-06-27 Thread Joseph Smith
On Fri, 27 Jun 2008 17:04:29 +0200, Peter Stuge [EMAIL PROTECTED] wrote: On Fri, Jun 27, 2008 at 10:28:07AM -0400, Joseph Smith wrote: Well, as some of you may know I am a bit of a hardware hacker. That's what brought me to coreboot in the first place. That does not get you too far when

Re: [coreboot] USB debug cables and emulation

2008-06-27 Thread Joseph Smith
On Fri, 27 Jun 2008 19:34:10 +0200, Peter Stuge [EMAIL PROTECTED] wrote: On Fri, Jun 27, 2008 at 01:15:32PM -0400, Joseph Smith wrote: You will find two PLX Technology NET 2270 chips and a microcontroller (I'm not sure which micro it was, maybe Ubicom SX) responsible for configuration

Re: [coreboot] USB debug cables and emulation

2008-06-27 Thread Peter Stuge
On Fri, Jun 27, 2008 at 03:34:20PM -0400, Joseph Smith wrote: I'll open my device up if I can find it to check if I remember correctly about the Ubicom. Thanks that would help a lot. To be honest, I don't think it would help at all, but I appreciate the curiosity and will be glad

[coreboot] USB debug cables and emulation

2008-06-26 Thread Carl-Daniel Hailfinger
Hi, I'm not officially back yet, but here's a question I don't want to forget: Are there any easily available USB debug cables? The NET20DC is very difficult to get in Europe. Can I emulate such a cable with the Geode USB target mode? Regards, Carl-Daniel -- coreboot mailing list

Re: [coreboot] USB debug cables and emulation

2008-06-26 Thread Joseph Smith
On Thu, 26 Jun 2008 15:57:39 +0200, Carl-Daniel Hailfinger [EMAIL PROTECTED] wrote: Hi, I'm not officially back yet, but here's a question I don't want to forget: Are there any easily available USB debug cables? The NET20DC is very difficult to get in Europe. Can I emulate such a cable

Re: [coreboot] USB debug cables and emulation

2008-06-26 Thread Joseph Smith
I read somewhere you could make one, but I don't know how difficult that would be. I was always wondering if you could just use two USB - Serial adapters with a null modem cable in the middle?? Nope, won't work. You need a USB device that explicitly understands USB debug mode. In this mode

Re: [coreboot] USB debug cables and emulation

2008-06-26 Thread Carl-Daniel Hailfinger
On 26.06.2008 18:48, Joseph Smith wrote: I read somewhere you could make one, but I don't know how difficult that would be. I was always wondering if you could just use two USB - Serial adapters with a null modem cable in the middle?? Nope, won't work. You need a USB device that

Re: [coreboot] USB debug cables and emulation

2008-06-26 Thread Patrick Georgi
Joseph Smith schrieb: Than you did not read all of it. At the endI was finally able to get console output on the iMac Yes, by using the default USB controller in polled mode (ie. no IRQ handling). The USB debug port is a different facility. Regards, Patrick -- coreboot mailing list

Re: [coreboot] USB debug cables and emulation

2008-06-26 Thread bari
Carl-Daniel Hailfinger wrote: Hi, I'm not officially back yet, but here's a question I don't want to forget: Are there any easily available USB debug cables? The NET20DC is very difficult to get in Europe. Can I emulate such a cable with the Geode USB target mode? Regards, Carl-Daniel

Re: [coreboot] USB debug cables and emulation

2008-06-26 Thread Joseph Smith
On Thu, 26 Jun 2008 12:54:04 -0500, bari [EMAIL PROTECTED] wrote: Carl-Daniel Hailfinger wrote: Hi, I'm not officially back yet, but here's a question I don't want to forget: Are there any easily available USB debug cables? The NET20DC is very difficult to get in Europe. Can I emulate

Re: [coreboot] USB debug cables and emulation

2008-06-26 Thread Peter Stuge
On Thu, Jun 26, 2008 at 03:29:00PM -0400, Joseph Smith wrote: USB 2.0 Host-to-Host Cable http://www.pccasegear.com/prod3972.htm The USB 2.0 LINK NETWORK CABLE http://www.linkusb.com/ USB 2.0 Host-to-Host Cable http://www.datapro.net/products/UL2.html PCLinq2 (PL-2501)

Re: [coreboot] USB debug cables and emulation

2008-06-26 Thread Joseph Smith
On Thu, 26 Jun 2008 21:36:04 +0200, Peter Stuge [EMAIL PROTECTED] wrote: On Thu, Jun 26, 2008 at 03:29:00PM -0400, Joseph Smith wrote: USB 2.0 Host-to-Host Cable http://www.pccasegear.com/prod3972.htm The USB 2.0 LINK NETWORK CABLE http://www.linkusb.com/ USB 2.0 Host-to-Host

Re: [coreboot] USB debug cables and emulation

2008-06-26 Thread Ken.Fuchs
Joseph Smith wrote: The blog entry explicitly states that it didn't work. Than you did not read all of it. At the endI was finally able to get console output on the iMac Stefan Reinauer wrote: With the downside that you need a full blown USB stack around for that. What

Re: [coreboot] USB debug cables and emulation

2008-06-26 Thread Joseph Smith
What about something less than a full USB stack similar to Porus? http://porus.berlios.de/ Wow Ken, this is a very interesting API. Possible canidate for LegacyBIOS??? Here's an old USB Debug Port presentation that may be useful to those new to the concept: