Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2014 02:24:53 -0400
From:      "O'Connor, Daniel" <Daniel.O'Connor@emc.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "O'Connor, Daniel" <Daniel.O'Connor@emc.com>, =?Windows-1252?Q?Jos=E9_P=E9rez_Arauzo?= <fbl@aoek.com>, FreeBSD Current <freebsd-current@freebsd.org>, Benjamin Kaduk <kaduk@mit.edu>, Garrett Cooper <yaneurabeya@gmail.com>
Subject:   Re: What do you use for kernel debugging?
Message-ID:  <3718AED6-9514-49F9-AF11-B47CFAF01161@emc.com>
In-Reply-To: <CAJ-VmomrTiyUBr%2BpwtRjcUAanwRBDhvMr65rXFpw9nUkFFYm0A@mail.gmail.com>
References:  <20140928071641.M7664@beckpeccoz.com> <alpine.GSO.1.10.1409281553060.21571@multics.mit.edu> <20140929003358.M78145@aoek.com> <B3589A0F-AF06-4F7D-80C9-F614CFA21370@gmail.com> <542AC1C8.9030101@freebsd.org> <90CE0701-F1CB-41DF-B3D2-87816DC03DF9@emc.com> <CAJ-VmomrTiyUBr%2BpwtRjcUAanwRBDhvMr65rXFpw9nUkFFYm0A@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail


On 1 Oct 2014, at 14:33, Adrian Chadd <adrian@freebsd.org> wrote:
> There's also something for XHCI.

So I see..

Section 7.6 in here has details..
http://www.intel.com.au/content/dam/www/public/us/en/documents/technical-specifications/extensible-host-controler-interface-usb-xhci.pdf

Interestingly unlike the EHCI version it does not require hardware between the debugger and debugee, only a special cable. (see http://msdn.microsoft.com/en-us/library/windows/hardware/hh439372(v=vs.85).aspx)

A quick search shows the cable is pretty cheap ($15 for a short one)

> Please please write it for freebsd. :)

Not sure I have the cycles :(

> 
> -a
> 
> 
> On 30 September 2014 21:45, O'Connor, Daniel <Daniel.O'Connor@emc.com> wrote:
>> 
>> On 1 Oct 2014, at 0:14, Julian Elischer <julian@freebsd.org> wrote:
>>> Unfortunately you can't use a USB serial as it requires the USB stack
>>> be  working before it can be used..
>>> similar with ethernet connected debugging which requires that the
>>> driver for the ethernet hardware support it.
>>> (which why we don't have it in the tree though it has been done
>>> several times in the past).
>> 
>> There IS a USB debug standard, Linux has some code to support it.
>> 
>> I am not sure what percentage of hardware has it hooked up though (the host controller has a designated debug port but it could physically be anything).
>> 
>> http://www.coreboot.org/EHCI_Debug_Port
>> 
>> The hardware is bit more expensive than a null modem or firewire cable though :(
>> 
>> Regards,
>>        Daniel O’Connor
>> 
>> Senior Software Engineer
>> Isilon Platforms Team
>> 
>> 
>> 
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

Regards,
	Daniel O’Connor

Senior Software Engineer
Isilon Platforms Team





help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3718AED6-9514-49F9-AF11-B47CFAF01161>