Skip to content

Commit 07e846b

Browse files
rddunlapIngo Molnar
authored andcommitted
x86/doc: Fix Documentation/x86/earlyprintk.txt
Fix a few issues in Documentation/x86/earlyprintk.txt: - correct typos, punctuation, missing word, wrong word - change product name from Netchip to NetChip - expand where to add "earlyprintk=dbg" Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Jason Wessel <jason.wessel@windriver.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Yinghai Lu <yinghai@kernel.org> Cc: linux-doc@vger.kernel.org Cc: linux-usb@vger.kernel.org Link: http://lkml.kernel.org/r/d0c40ac3-7659-6374-dbda-23d3d2577f30@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 11da3a7 commit 07e846b

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

Documentation/x86/earlyprintk.txt

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,25 @@ and two USB cables, connected like this:
3535
( If your system does not list a debug port capability then you probably
3636
won't be able to use the USB debug key. )
3737

38-
b.) You also need a Netchip USB debug cable/key:
38+
b.) You also need a NetChip USB debug cable/key:
3939

4040
http://www.plxtech.com/products/NET2000/NET20DC/default.asp
4141

42-
This is a small blue plastic connector with two USB connections,
42+
This is a small blue plastic connector with two USB connections;
4343
it draws power from its USB connections.
4444

4545
c.) You need a second client/console system with a high speed USB 2.0
4646
port.
4747

48-
d.) The Netchip device must be plugged directly into the physical
48+
d.) The NetChip device must be plugged directly into the physical
4949
debug port on the "host/target" system. You cannot use a USB hub in
5050
between the physical debug port and the "host/target" system.
5151

5252
The EHCI debug controller is bound to a specific physical USB
53-
port and the Netchip device will only work as an early printk
53+
port and the NetChip device will only work as an early printk
5454
device in this port. The EHCI host controllers are electrically
5555
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.
56+
first physical port and there is no way to change this via software.
5757
You can find the physical port through experimentation by trying
5858
each physical port on the system and rebooting. Or you can try
5959
and use lsusb or look at the kernel info messages emitted by the
@@ -65,9 +65,9 @@ and two USB cables, connected like this:
6565
to the hardware vendor, because there is no reason not to wire
6666
this port into one of the physically accessible ports.
6767

68-
e.) It is also important to note, that many versions of the Netchip
68+
e.) It is also important to note, that many versions of the NetChip
6969
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
70+
right hand side of the device (with the product logo facing up and
7171
readable left to right). The reason being is that the 5 volt
7272
power supply is taken from only one side of the device and it
7373
must be the side that does not get rebooted.
@@ -81,13 +81,18 @@ and two USB cables, connected like this:
8181
CONFIG_EARLY_PRINTK_DBGP=y
8282

8383
And you need to add the boot command line: "earlyprintk=dbgp".
84+
8485
(If you are using Grub, append it to the 'kernel' line in
85-
/etc/grub.conf)
86+
/etc/grub.conf. If you are using Grub2 on a BIOS firmware system,
87+
append it to the 'linux' line in /boot/grub2/grub.cfg. If you are
88+
using Grub2 on an EFI firmware system, append it to the 'linux'
89+
or 'linuxefi' line in /boot/grub2/grub.cfg or
90+
/boot/efi/EFI/<distro>/grub.cfg.)
8691

8792
On systems with more than one EHCI debug controller you must
8893
specify the correct EHCI debug controller number. The ordering
8994
comes from the PCI bus enumeration of the EHCI controllers. The
90-
default with no number argument is "0" the first EHCI debug
95+
default with no number argument is "0" or the first EHCI debug
9196
controller. To use the second EHCI debug controller, you would
9297
use the command line: "earlyprintk=dbgp1"
9398

@@ -111,7 +116,7 @@ and two USB cables, connected like this:
111116
see the raw output.
112117

113118
c.) On Nvidia Southbridge based systems: the kernel will try to probe
114-
and find out which port has debug device connected.
119+
and find out which port has a debug device connected.
115120

116121
3. Testing that it works fine:
117122

0 commit comments

Comments
 (0)