From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Fri, 22 Aug 2014 09:27:33 +0800 Subject: [U-Boot] MMU Mapping In-Reply-To: <53F5CD78.9030302@denx.de> References: <186248732.12181224.1408612088011.JavaMail.zimbra@enst.fr> <53F5CD78.9030302@denx.de> Message-ID: <53F69C85.7030801@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 08/21/2014 06:44 PM, Stefano Babic wrote: > Hi Alexandre, > > On 21/08/2014 11:08, Alexandre Delove wrote: >> Hello >> >> I am trying to disable the memory management unit on my sabreLite board, but i don't find what i should do. I also want to change the mapping of the MMU, but i don't know where it is. >> > > MMU is off in U-Boot. It is turned on by kernel. Or what do you mind ? To ARM, if not defined CONFIG_SYS_DCACHE_OFF, dcache_enable->cache_enable(CR_C)->mmu_setup will enable mmu and build section mapping. U can try #define CONFIG_SYS_DCACHE_OFF if it is an ARM SoC board. mmu related code locates at arch/arm/lib/cache-cp15.c Regards, Peng. > > Best regards, > Stefano Babic >