linux-mips
[Top] [All Lists]

Re: [PATCH 2.6.X] Early console for Cobalt

To: linux-mips@linux-mips.org
Subject: Re: [PATCH 2.6.X] Early console for Cobalt
From: Kumba <kumba@gentoo.org>
Date: Sun, 12 Feb 2006 23:18:57 -0500
In-reply-to: <20060213.114359.07641583.nemoto@toshiba-tops.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060212171025.GB1562@colonel-panic.org> <20060213.114359.07641583.nemoto@toshiba-tops.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5 (Windows/20051201)
Atsushi Nemoto wrote:
On Sun, 12 Feb 2006 17:10:25 +0000, Peter Horton <pdh@colonel-panic.org> said:
pdh> Adds early console support for Cobalts.

We already have EARLY_PRINTK.  How about using it?  (like dec does)

I already tried getting early printk to work....Either it wasn't initializing early enough for my needs, I was enabling it incorrectly, or it just doesn't work on Cobalt. This does work, however, and already pointed out one obvious flaw I have in a patch I've been using on Cobalt (setting cpu_scache_line_size to > 0 when cobalt lacks an scache).

For systems where the serial device can be difficult to use until initialized late in the boot cycle (Octane comes to mind), early_printk won't function either.

Maybe some kind of framework is needed for defining the kinds of early console various systems can support?


--Kumba

--
Gentoo/MIPS Team Lead
Gentoo Foundation Board of Trustees

"Such is oft the course of deeds that move the wheels of the world: small hands do them because they must, while the eyes of the great are elsewhere." --Elrond

<Prev in Thread] Current Thread [Next in Thread>