"Daniel Haglund" <[EMAIL PROTECTED]> writes:

> Hi.
> 
> I am looking to use linuxbios for an embedded project where boot time is
> crucial.
> How do I make linuxbios boot as quickly as possible?
> 
> I guess using the serial port as the console would be the first thing to go
> since using the fb device would certainly be faster than 115200 right? On
> the other hand not much info is sent over the serial line.
> 
> Any suggestions how i can speed things up are welcome.

If you need to you can compile out all or simply most of the messages.
Taking the time to initialize a video card quite possibly wasted.  Though
if you need the video card for something else it's not ;)

The place you really want to look for speed up is the linux-kernel.  Last
time I looked that was the bottle neck.

The only thing you want to make certain of is that your data is in cache.
Having cache enabled, and not printing out too many messages to
the serial port will get you a lot of speed up.  Other things
to look at are not to have slow hardware.

With not particular optimizations I can load a linux-kernel over the
network and have transfered controll to it in 2 seconds.  This is from
a cold power on.  Then the kernel takes 15 seconds or so to initialize
the hardware on my server board.

Eric

Reply via email to