From owner-freebsd-arch Wed Jan 22 22:42: 0 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13C4137B401 for ; Wed, 22 Jan 2003 22:41:59 -0800 (PST) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DFC943F3F for ; Wed, 22 Jan 2003 22:41:58 -0800 (PST) (envelope-from nsouch@free.fr) Received: from armor.fastether (nas-cbv-11-62-147-120-13.dial.proxad.net [62.147.120.13]) by postfix4-2.free.fr (Postfix) with SMTP id A470DC0BB for ; Thu, 23 Jan 2003 07:41:50 +0100 (CET) Received: (qmail 10400 invoked by uid 1001); 23 Jan 2003 06:55:56 -0000 Date: Thu, 23 Jan 2003 07:55:56 +0100 From: Nicolas Souchu To: Marcel Moolenaar Cc: arch@FreeBSD.ORG, Rodolphe Ortalo Subject: Re: the mythical syscons redesign document ( was Re: Porting wscons ) Message-ID: <20030123075556.A10370@armor.fastether> References: <20030122010246.52789.qmail@web13404.mail.yahoo.com> <1043236066.28124.6.camel@builder02.qubesoft.com> <20030122223626.B8449@armor.fastether> <20030122220029.GD590@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030122220029.GD590@dhcp01.pn.xcllnt.net>; from marcel@xcllnt.net on Wed, Jan 22, 2003 at 02:00:29PM -0800 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jan 22, 2003 at 02:00:29PM -0800, Marcel Moolenaar wrote: > On Wed, Jan 22, 2003 at 10:36:26PM +0100, Nicolas Souchu wrote: > > > > > > The main sticking point for this stuff is that console is needed before > > > the device tree is probed. > > > > The approach of KGI is to provide a very basic/minimal driver for console boot > > that can be overlaped later by fully probed graphic board drivers. This is > > somehow how VGA adapter is organized, with the video_switch used immediatly > > and later the vga_isa.c glue-code for newbus full attachement. > > This is what makes it non-portable and why we have problems getting > it to work in non-PC, non-ISA environments. Not because of a minimal driver, but because syscons and even more pcvt make assumptions on the features provided by the driver (font, text modes...) As far as I could see this has be more or less resolved with the tga adapter driver for alpha arch for which a renderer has been introduced to tackle down framebuffer only video adapters. > > But I prefer the solution of the minimal driver with included text rendering > > if needed. > > Booting a notebook in text mode looks ugly and I can imagine that > early boot environments can be graphical as well. I prefer not to > fixate on text-only video modes for the low-level console, even > though we probably won't use it for anything but text. I agree. But booting a true PCI/AGP (and not ISA) graphic card without the bus stuff initialized seems very hard. KGI driver framework provides its own bus interface that can be either connected to the OS busses or directly drive the I/O registers. I have to consider it closely... -- Nicholas Souchu - nsouch@free.fr - nsouch@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message