From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 06 May 2011 10:54:46 +0200 Subject: [U-Boot] boot-up time optimization. Where to start? In-Reply-To: <201105050906.35834.alexander.stein@systec-electronic.com> References: <201105030848.17576.alexander.stein@systec-electronic.com> <20110505053220.AF754D5F849@gemini.denx.de> <201105050906.35834.alexander.stein@systec-electronic.com> Message-ID: <4DC3B756.1060804@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 =====================================================================