diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2009-08-20 16:39:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:39 -0400 |
commit | 9780bc41dca728f9b082a42d9e1f1716d5057081 (patch) | |
tree | 5f426d8a739176c4c89915cdb221dabc5ed0da10 /Documentation/x86 | |
parent | 68d2956a810b5c1b8213a1a9f59eacc54d7ce087 (diff) |
USB: ehci-dbgp,documentation: Documentation updates for ehci-dbgp
Add missing information about requirements of using the EHCI usb debug
controller as well as to mention you can use a debug controller other
than the first one in the system.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Sarah Sharp <sarah.a.sharp@intel.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/x86')
-rw-r--r-- | Documentation/x86/earlyprintk.txt | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/Documentation/x86/earlyprintk.txt b/Documentation/x86/earlyprintk.txt index 607b1a01606..f19802c0f48 100644 --- a/Documentation/x86/earlyprintk.txt +++ b/Documentation/x86/earlyprintk.txt | |||
@@ -7,7 +7,7 @@ and two USB cables, connected like this: | |||
7 | 7 | ||
8 | [host/target] <-------> [USB debug key] <-------> [client/console] | 8 | [host/target] <-------> [USB debug key] <-------> [client/console] |
9 | 9 | ||
10 | 1. There are three specific hardware requirements: | 10 | 1. There are a number of specific hardware requirements: |
11 | 11 | ||
12 | a.) Host/target system needs to have USB debug port capability. | 12 | a.) Host/target system needs to have USB debug port capability. |
13 | 13 | ||
@@ -42,7 +42,35 @@ and two USB cables, connected like this: | |||
42 | This is a small blue plastic connector with two USB connections, | 42 | This is a small blue plastic connector with two USB connections, |
43 | it draws power from its USB connections. | 43 | it draws power from its USB connections. |
44 | 44 | ||
45 | c.) Thirdly, you need a second client/console system with a regular USB port. | 45 | c.) You need a second client/console system with a high speed USB 2.0 |
46 | port. | ||
47 | |||
48 | d.) The Netchip device must be plugged directly into the physical | ||
49 | debug port on the "host/target" system. You cannot use a USB hub in | ||
50 | between the physical debug port and the "host/target" system. | ||
51 | |||
52 | The EHCI debug controller is bound to a specific physical USB | ||
53 | port and the Netchip device will only work as an early printk | ||
54 | device in this port. The EHCI host controllers are electrically | ||
55 | wired such that the EHCI debug controller is hooked up to the | ||
56 | first physical and there is no way to change this via software. | ||
57 | You can find the physical port through experimentation by trying | ||
58 | each physical port on the system and rebooting. Or you can try | ||
59 | and use lsusb or look at the kernel info messages emitted by the | ||
60 | usb stack when you plug a usb device into various ports on the | ||
61 | "host/target" system. | ||
62 | |||
63 | Some hardware vendors do not expose the usb debug port with a | ||
64 | physical connector and if you find such a device send a complaint | ||
65 | to the hardware vendor, because there is no reason not to wire | ||
66 | this port into one of the physically accessible ports. | ||
67 | |||
68 | e.) It is also important to note, that many versions of the Netchip | ||
69 | device require the "client/console" system to be plugged into the | ||
70 | right and side of the device (with the product logo facing up and | ||
71 | readable left to right). The reason being is that the 5 volt | ||
72 | power supply is taken from only one side of the device and it | ||
73 | must be the side that does not get rebooted. | ||
46 | 74 | ||
47 | 2. Software requirements: | 75 | 2. Software requirements: |
48 | 76 | ||
@@ -56,6 +84,13 @@ and two USB cables, connected like this: | |||
56 | (If you are using Grub, append it to the 'kernel' line in | 84 | (If you are using Grub, append it to the 'kernel' line in |
57 | /etc/grub.conf) | 85 | /etc/grub.conf) |
58 | 86 | ||
87 | On systems with more than one EHCI debug controller you must | ||
88 | specify the correct EHCI debug controller number. The ordering | ||
89 | comes from the PCI bus enumeration of the EHCI controllers. The | ||
90 | default with no number argument is "0" the first EHCI debug | ||
91 | controller. To use the second EHCI debug controller, you would | ||
92 | use the command line: "earlyprintk=dbgp1" | ||
93 | |||
59 | NOTE: normally earlyprintk console gets turned off once the | 94 | NOTE: normally earlyprintk console gets turned off once the |
60 | regular console is alive - use "earlyprintk=dbgp,keep" to keep | 95 | regular console is alive - use "earlyprintk=dbgp,keep" to keep |
61 | this channel open beyond early bootup. This can be useful for | 96 | this channel open beyond early bootup. This can be useful for |