Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268496AbUJOVxt (ORCPT ); Fri, 15 Oct 2004 17:53:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268488AbUJOVwu (ORCPT ); Fri, 15 Oct 2004 17:52:50 -0400 Received: from smtp-out.hotpop.com ([38.113.3.61]:62428 "EHLO smtp-out.hotpop.com") by vger.kernel.org with ESMTP id S268496AbUJOVvZ (ORCPT ); Fri, 15 Oct 2004 17:51:25 -0400 From: "Antonino A. Daplas" Reply-To: adaplas@pol.net To: linux-fbdev-devel@lists.sourceforge.net, "Kendall Bennett" , linux-kernel@vger.kernel.org Subject: Re: [Linux-fbdev-devel] Generic VESA framebuffer driver and Video card BOOT? Date: Sat, 16 Oct 2004 05:51:38 +0800 User-Agent: KMail/1.5.4 Cc: linux-fbdev-devel@lists.sourceforge.net, penguinppc-team@lists.penguinppc.org References: <416E6ADC.3007.294DF20D@localhost> <416FB624.17156.1D23C23@localhost> In-Reply-To: <416FB624.17156.1D23C23@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410160551.40635.adaplas@hotpop.com> X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2263 Lines: 54 On Saturday 16 October 2004 02:36, Kendall Bennett wrote: > "Antonino A. Daplas" wrote: > > > So what do you guys think? > > > > I'm for it, if you can get the code in the kernel. If not, what > > are the arguments against doing this in userspace? > > At least for the 2.4 kernels it is not possible to run code from user > space early enough in the boot sequence to bring up the video card when > the framebuffer console driver starts. Alan Cox said there is work under > way for 2.6 that might allow this, but it would have to be done very > early in the boot sequence. > For 2.6, the framebuffer console can activate as early or as late as one wants because fbcon will wait until a framebuffer driver becomes active. In contrast, in 2.4, at least one fb driver needs to be active for the framebuffer console to become active. > Remember this project is for non-x86 platforms such as PowerPC and MIPS > embedded machines where there is no way to set a graphics mode using the > BIOS before the kernel starts loading (well, you can do something using U- > Boot but a lot of projects don't always use U-Boot). > > > If you remember about 2 years ago, there was a thread which you > > started about vesafbd. From that, I've worked on vm86d which is a > > generic approach to running BIOS code in user space. I stopped > > development on this though, but it should be easy to revive. > > Yes, I am aware of this project. It is a great project for x86 platforms, > but falls short for non-x86 due to the inability to set a basic display > mode prior to user space access becoming available. > Yes, that is the downside to a userspace solution. How bad will that be? Note that Jon Smirl is proposing a temporary console driver for early boot messages until the primary console driver activates. > > There is also vesafb-tng. I think it runs BIOS code in kernel > > space. > > I am not familiar with that. Can you point me to a URL? > http://dev.gentoo.org/~spock/projects/vesafb-tng/ Tony - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/