From: Bas van den Berg Date: Thu, 20 Jun 2013 10:05:23 +0200 Subject: [U-Boot] =?iso-8859-1?q?AM335x=3A_enabling_datacache_in_SPL_slows?= =?iso-8859-1?q?_down_system=3F?= Message-ID: <20130620080523.aba38cb4@mail.altenpts.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I'm trying to optimize the boottime for an AM335x based board. Currently we're loading the kernel from SPL directly (falcon mode). Loading the kernel from flash to ram takes roughly 3 seconds. When doing this from U-boot itself with 'nand read .., it only takes 1.8 seconds. It seems that U-boot has data_cache enabled, while SPL did not. When enabling the data cache with dcache_enable(), loading takes 3.5 seconds, so even slower! The enabling itself does not take a significant amount of time. Anyone have any idea why enabling the data cache slows SPL down? Or does U-boot do anything else that I'm missing? Bas