* Where is MMU enabled?
@ 2009-11-09 18:02 Rick Brown
2009-11-10 0:58 ` hmthalib
0 siblings, 1 reply; 2+ messages in thread
From: Rick Brown @ 2009-11-09 18:02 UTC (permalink / raw)
To: kernelnewbies, linux-newbie
Hi List,
I am curious to know where is the MMU turned on in a Linux PPC system
- is it the u-boot or the linux kernel? Since enabling of MMU shall be
the point from where the CPU will have to generate virtual addresses -
I think it should be somewhere in the kernel. The reason is that all
the addresses that we give on the u-boot command line are physical
addresses and not virtual, right (Thus implying MMU is not turned
on?)?
Or is it that kernel always gets the control with MMU on on PPC systems?
How about other architectures?
Thanks,
Rick
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Where is MMU enabled?
2009-11-09 18:02 Where is MMU enabled? Rick Brown
@ 2009-11-10 0:58 ` hmthalib
0 siblings, 0 replies; 2+ messages in thread
From: hmthalib @ 2009-11-10 0:58 UTC (permalink / raw)
To: Rick Brown; +Cc: kernelnewbies, linux-newbie
Rick Brown wrote:
> Hi List,
>
> I am curious to know where is the MMU turned on in a Linux PPC system
> - is it the u-boot or the linux kernel?
It is Linux. u-boot uses the flat memory system.
Since enabling of MMU shall be
> the point from where the CPU will have to generate virtual addresses -
> I think it should be somewhere in the kernel. The reason is that all
> the addresses that we give on the u-boot command line are physical
> addresses and not virtual, right (Thus implying MMU is not turned
> on?)?
yes. MMU is not turned on in u-boot
compare the data sheet and head_32.S for powerpc arch to know how the
MMU is initialized .
>
> Or is it that kernel always gets the control with MMU on on PPC systems?
>
> How about other architectures?
>
> Thanks,
>
> Rick
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@nl.linux.org
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>
--
Regards,
Mohamed Thalib H
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-10 0:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09 18:02 Where is MMU enabled? Rick Brown
2009-11-10 0:58 ` hmthalib
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox