[U-Boot] MMU Mapping

Peng Fan van.freenix at gmail.com
Fri Aug 22 03:27:33 CEST 2014


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
> 


More information about the U-Boot mailing list