Thread (56 messages) 56 messages, 13 authors, 2004-10-21

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

From: Kendall Bennett <hidden>
Date: 2004-10-15 23:51:33
Also in: lkml

Jon Smirl [off-list ref] wrote:
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. 
I have not used initramfs at all (I am not sure I know what it is 
actually) so I don't know. I know there is quite a long period of time on 
most machines from when the kernel starts booting and when the real file 
system based init process takes over.
Other than embedded systems, are there machines that have no
BIOS/PROM display at all and rely entirely on a bootable kernel
for display? If so, how do machines like this put up a message that
they can't find the kernel? How do you get hardware diagnostic
messages from them? 
I am pretty sure most embedded systems use some kind of boot firmware to 
bring up the box. Something like Open BIOS from IBM or U-Boot. U-Boot can 
be set up to POST the card using the BIOS emulator but Open BIOS cannot. 
If you don't POST the card in the boot loader, usually they display 
diagnostics on the serial port until the console comes up (ie: I see the 
'uncompress linux...' message on the serial port and then the framebuffer 
console comes up and the messages switch over to it.
In the case of something like a Mac you would want to keep the
display blank until the early user space code initializes the
display in graphics mode. Only if you get a fatal error before this
would you dump the info using the Open Firmware display. Same
strategy would apply to x86. 
True. On the Mac they use the speakers so the user knows that the machine 
is booting. Almost immediately after hitting the power you will hear a 
calming sound coming from the speaker, and it might be another 5 seconds 
or so before the actual video comes up. 

If they didn't do that they would no doubt have lots of users turning the 
machine off again before it had a chance to bring up the video!

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! ~
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help