[U-Boot] boot-up time optimization. Where to start?
Simon Glass
sjg at chromium.org
Wed May 11 07:12:26 CEST 2011
Hi,
I will post a patch. Also we have a 'time' command we could upstream.
Regards,
Simon
On Mon, May 9, 2011 at 3:49 AM, Detlev Zundel <dzu at denx.de> wrote:
> Hi Simon,
>
> [...]
>
> > I have a patch which displays boot time in microseconds if it is of
> > interest to anyone:
> >
> > Timer summary in microseconds:
> > Mark Elapsed Stage
> > 0 0 awake
> > 193,298 193,298 usb_start
> > 1,342,411 1,149,113 eth_start
> > 3,767,039 2,424,628 bootp_start
> > 3,790,121 23,082 bootp_stop
> > 3,790,293 172 tftp start
> > 4,761,459 971,166 tftp done
> > 4,761,489 30 bootm_start
> > 4,892,145 130,656 start_kernel
>
> Of course we are interested, please show us the code. Such code, even
> if it does not get into mainline can be a good starter for other people
> benchmarking their port.
>
> Thanks
> Detlev
>
> --
> "One of my most productive days was throwing away 1000 lines of code."
> - Ken Thompson.
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
>
More information about the U-Boot
mailing list