
22 Aug
2014
22 Aug
'14
3:27 a.m.
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