Re: [Linux-fbdev-devel] Generic VESA framebuffer driver and Video card BOOT?

From: Kendall Bennett
Date: Mon Oct 18 2004 - 14:45:08 EST


Jon Smirl <jonsmirl@xxxxxxxxx> wrote:

> > 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?

Many embedded platforms do not map VGA resources in, so it is not
possible to get VGACon to work on those machines unless the kernel/boot
loader is modified to properly map VGA resources (which should be
possible).

Then there are Macintosh machines that also do not map VGA resources. I
am not sure if it is possible to map them on Macintosh machines or not.

I would assume however a serial port console would be fine for embedded
machines until the framebuffer driver could come up anyway.

> 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.

As long as this process happens quickly and the machine boots into
graphics mode within 1-2 seconds from poweron, that would probably be OK.
If it starts taking too long for the system to get into graphics mode to
display something the user can easily think something is wrong and the
machine is not working.

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/