public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peng Fan <van.freenix@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] MMU Mapping
Date: Fri, 22 Aug 2014 09:27:33 +0800	[thread overview]
Message-ID: <53F69C85.7030801@gmail.com> (raw)
In-Reply-To: <53F5CD78.9030302@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
> 

      reply	other threads:[~2014-08-22  1:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1147516840.12179908.1408611845402.JavaMail.zimbra@enst.fr>
2014-08-21  9:08 ` [U-Boot] MMU Mapping Alexandre Delove
2014-08-21 10:44   ` Stefano Babic
2014-08-22  1:27     ` Peng Fan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53F69C85.7030801@gmail.com \
    --to=van.freenix@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox