From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 30 Mar 2009 22:31:05 +0200 Subject: [U-Boot] Enabling ARM DCache (and MMU setup) in U-Boot In-Reply-To: <5ec3d7930903301256i6f2004b4gf4faab1549d2a802@mail.gmail.com> References: <5ec3d7930903301256i6f2004b4gf4faab1549d2a802@mail.gmail.com> Message-ID: <20090330203105.GC1433@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 21:56 Mon 30 Mar , Drasko DRASKOVIC wrote: > Hi all, > I would like to eneble DCache in U-Boot, because peripheral register R/W and > SDRAM R/W is extremely slow on my platform, so booting Linux image takes > unexceptable long time. But apparently for ARM, MMU setup is needed first. > Now, I did not find example on any presented ARM platforms included in > U-Boot. > > Did somebody maybe suceeded on doing this and where can I find some C/ASM > examples how to set up MMU and enable DCache for ARM? before booting linux you must disable the cache which will be re-enable by linux. Could you give us more details about your soc, u-boot verison and linux version Best Regards, J.