linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* CPM2 uart early console
@ 2004-10-21 21:57 Rune Torgersen
  2004-10-22 20:10 ` Tom Rini
  0 siblings, 1 reply; 6+ messages in thread
From: Rune Torgersen @ 2004-10-21 21:57 UTC (permalink / raw)
  To: Linuxppc-embedded

Is there any way of getting an early console output on a kernel on an
8260? (running u-boot as bootloader)
Right now, I don't get any console output until after the full driver is
loaded, and that is way too late, since the kernel is hanging on the PCI
init right now, and the kernel log buffer doesn't have the backtrace of
the Oops.

BTW..
What are the device node numbers for ttyCPM[0..5] ?

Rune Torgersen
System Developer
Innovative Systems LLC
1000 Innovative Drive
Mitchell, SD 57301
Ph: 605-995-6120
www.innovsys.com

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: CPM2 uart early console
@ 2004-10-22 22:01 Rune Torgersen
  2004-10-26 14:35 ` Tom Rini
  0 siblings, 1 reply; 6+ messages in thread
From: Rune Torgersen @ 2004-10-22 22:01 UTC (permalink / raw)
  To: Linuxppc-embedded

> From: Tom Rini [mailto:trini@kernel.crashing.org]=20
> On Thu, Oct 21, 2004 at 04:57:56PM -0500, Rune Torgersen wrote:
> > BTW..
> > What are the device node numbers for ttyCPM[0..5] ?
>=20
> 204 42...45 (devices.txt in linuxppc-2.5, Pantelis ever=20
> figure out what to do about the device # conflict with the=20
> i.MX driver so we can push that small bit upstream ?)

Aparently not that simple.... I looked in the source, and it depends if=20
an 8250 stype serial port is defined or not...

#ifndef CONFIG_SERIAL_8250
#define SERIAL_CPM_MAJOR	TTY_MAJOR
#define SERIAL_CPM_MINOR	64
#else
#define SERIAL_CPM_MAJOR	204
#define SERIAL_CPM_MINOR	42
#endif

Urgh...

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-10-27 16:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-21 21:57 CPM2 uart early console Rune Torgersen
2004-10-22 20:10 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2004-10-22 22:01 Rune Torgersen
2004-10-26 14:35 ` Tom Rini
2004-10-27  6:02   ` Pantelis Antoniou
2004-10-27 16:39     ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).