Skip to contentSkip to conversation

MMU Mapping

U-Boot Alexandre Delove 3 participants 3 messages Aug 21, 2014 – Aug 22, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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.

Do you know which file i have to edit?

Sorry for my english, it's not my mother tongue.

Regards

Alexandre Delove

#2 lore raw

Hi Alexandre,

Quoted 4 lines · Alexandre Delove

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 ?

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#3 lore raw

Hi,

Quoted 9 lines · Stefano Babic

Hi Alexandre,

Quoted 4 lines · Alexandre Delove

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.

Quoted 4 lines

Best regards,
Stefano Babic