From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Mon, 09 May 2011 12:49:06 +0200 Subject: [U-Boot] boot-up time optimization. Where to start? In-Reply-To: (Simon Glass's message of "Thu, 5 May 2011 13:18:00 -0700") References: <201105030848.17576.alexander.stein@systec-electronic.com> <20110505053220.AF754D5F849@gemini.denx.de> <201105060610.29781.manningc2@actrix.gen.nz> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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