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

Stefano Babic sbabic at denx.de
Fri May 6 10:54:46 CEST 2011


On 05/05/2011 09:06 AM, Alexander Stein wrote:

> Well, as already said this is related to CRC calculation of environment. I did 
> a fast port to v2011.03 and the setenv is a lot faster, which is due the new 
> env code base.
> But I also noticed the time until kernel_entry is called is about 30ms later 
> after reset than on the old code base. But I didn't investigate any time 
> further to see what caused this. But AFAICS also the new U-Boot code doesn't 
> enable dcache on ARM1136 either.

This is wrong. The dcache is enabled on several MX31 boards. On the
mx35pdk, it is not enabled.

Add CONFIG_CMD_CACHE to your configuration file, and you will get the
dcache <on|off> command.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list