[U-Boot] boot-up time optimization. Where to start?

Mike Frysinger
2011-04-27T16:37:40Z

On Wed, Apr 27, 2011 at 11:59, Alexander Stein wrote:
> Am Mittwoch, 27. April 2011, 15:39:18 schrieb Simon Schwarz:
>> I just started to work on my bachelor thesis. It is about "Linux boot-up
>> time optimization". The past days I spend analyzing what consumes the most
>> time in the boot process.
>>
>> ?I found that u-boot takes pretty much as long as the whole Linux kernel
>> (the one we are using).
>>
>> I started digging into the source and I think I have a big picture of what
>> is going on. I already learned from the mailing list that it is a good idea
>> to start a discussion early if you plan to change something and want it
>> upstream. At this point of my thesis I'am free to choose where I start -
>> only string attached is that if it is platform specific it has to be TI
>> OMAP3.
>>
>> So here is my question: Where do you see the most potential to optimize
>> u-boot?
>
> Setting stdin, stdout and stderr takes a lot of time (IIRC ~500ms). Which IMO
> is useless on a bootloader without LCD support.

eh ? those are still used with serial consoles. unless you're
talking about some driver that is specific to the OMAP3 and/or a
board.
-mike