Re: Generic VESA framebuffer driver and Video card BOOT?

From: Kendall Bennett
Date: Fri Oct 15 2004 - 13:26:57 EST


Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:

> On Gwe, 2004-10-15 at 15:22, Andi Kleen wrote:
> > > There is exactly that in 2.6 - the hotplug interfaces allow the kernel
> > > to fire off userspace programs. Jon Smirl (who you should definitely
> > > talk to about this stuff) has been hammering out a design for moving
> > > almost all the mode switching into user space for kernel video.
> >
> > The problem is that this would imply that the console would only
> > work after user space is running. Even with initrd that's quite late.
>
> It doesn't imply this at all. You set an initial mode with the BIOS
> during boot up. When your initrd runs you gain the ability to flip mode
> and do cool stuff - arguably it doesn't even need to be in initrd.

That works great on x86, but this solution was developed for PowerPC and
MIPS embedded systems development not x86 desktop systems. For those
platforms you either need a boot loader that can bring up the system into
graphics mode (possible with U-Boot) or to init the video right when the
framebuffer console driver is brought up.

>From the sound of it that might be too early to spawn a user mode
process?

Regards,

---
Kendall Bennett
Chief Executive Officer
SciTech Software, Inc.
Phone: (530) 894 8400
http://www.scitechsoft.com

~ SciTech SNAP - The future of device driver technology! ~


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/