* [U-Boot] U-Boot's need for MMU
@ 2009-03-26 16:55 cmfairfa at rockwellcollins.com
2009-03-26 17:22 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: cmfairfa at rockwellcollins.com @ 2009-03-26 16:55 UTC (permalink / raw)
To: u-boot
Hi,
I am wondering what the ramifications of not using the MMU in U-Boot are?
I have an MPC8360 (e300 core) where it is capable of disabling the MMU via
the MSR[IR] and MSR[DR] bits.
Before disabling the MMU, I'm just wondering why U-Boot bothers to set up
the MMU on CPU's that providing disabling of the MMU.
PS
I'm not disabling the MMU just for kicks, there are/may be some
program-specific scenarios where I may need to use the option of disabling
the MMU.
Thanks.
Christopher M. Fairfax
Sr. Software Engineer
Rockwell Collins
+1 540-428-3344
+1 540-428-3301
cmfairfa at rockwellcollins.com
This message contains PRIVILEGED AND PROPRIETARY INFORMATION intended
solely for the use of the addressee(s) named above. Any disclosure,
distribution, copying or use of the information by others is strictly
prohibited. If you have received this message in error, please advise the
sender by immediate reply and delete the original message. Thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] U-Boot's need for MMU
2009-03-26 16:55 [U-Boot] U-Boot's need for MMU cmfairfa at rockwellcollins.com
@ 2009-03-26 17:22 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2009-03-26 17:22 UTC (permalink / raw)
To: u-boot
cmfairfa at rockwellcollins.com wrote:
> Hi,
> I am wondering what the ramifications of not using the MMU in U-Boot are?
> I have an MPC8360 (e300 core) where it is capable of disabling the MMU via
> the MSR[IR] and MSR[DR] bits.
>
> Before disabling the MMU, I'm just wondering why U-Boot bothers to set up
> the MMU on CPU's that providing disabling of the MMU.
A big one is that you can't have certain regions be cached (memory) and
others uncached (I/O) -- you'll need to turn the D-cache off altogether.
And even then I'm not sure what happens to the guarded bit when the MMU
is off.
> I'm not disabling the MMU just for kicks, there are/may be some
> program-specific scenarios where I may need to use the option of disabling
> the MMU.
Such as? One should generally lead with the reason they want to do
something, and only afterwards ask "why not". :-)
-Scott
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-26 17:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26 16:55 [U-Boot] U-Boot's need for MMU cmfairfa at rockwellcollins.com
2009-03-26 17:22 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox