Re: [Linux-fbdev-devel] Generic VESA framebuffer driver and Video card BOOT?
From: Jon Smirl <hidden>
Date: 2004-10-16 02:03:16
Also in:
lkml
On Sat, 16 Oct 2004 09:50:32 +0800, Antonino A. Daplas [off-list ref] wrote:
On Saturday 16 October 2004 07:20, Jon Smirl wrote:quoted
On Sat, 16 Oct 2004 05:51:38 +0800, Antonino A. Daplas [off-list ref] wrote:quoted
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.Does anyone know exactly how big the window is from when a compiled in console activates until one that relies on initramfs loads? I don't think it is very big given that a lot of the early printk's are queued before they are displayed.There's a log of initialization that goes on between console_init() and populate_rootfs(). However, console_init() will only initialize built-in consoles (as pointed to by conswitchp) such as vgacon or dummycon. However, the framebuffer system initialization does happen after populate_rootfs().
We already have vgacon, promcon, sticon, mgacon, newportcon. What platforms (other than embedded) are not covered by these? The idea is to use one of these as a temporary console and not print anything on it except KERN_ERR level messages. Of course if you are a kernel developer you can change this. A working system would non have KERN_ERR messages during this phase and the screen would remain blank. Messages at levels other than KERN_ERR would be queued until populate_rootfs()/early user space time where they would then get displayed on the fbcon. fbcon will be a full console with mode setting capability and other fancy features. It would immediately go into graphics mode. -- Jon Smirl jonsmirl@gmail.com