public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: hmthalib <h.thalib@gmail.com>
To: Rick Brown <rick.brown.3@gmail.com>
Cc: kernelnewbies <kernelnewbies@nl.linux.org>, linux-newbie@vger.kernel.org
Subject: Re: Where is MMU enabled?
Date: Tue, 10 Nov 2009 06:28:25 +0530	[thread overview]
Message-ID: <4AF8BAB1.6040502@gmail.com> (raw)
In-Reply-To: <7783925d0911091002r7ca75de8ia292eaba81e748fe@mail.gmail.com>

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

      reply	other threads:[~2009-11-10  0:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09 18:02 Where is MMU enabled? Rick Brown
2009-11-10  0:58 ` hmthalib [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AF8BAB1.6040502@gmail.com \
    --to=h.thalib@gmail.com \
    --cc=hmthalib@gmail.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-newbie@vger.kernel.org \
    --cc=rick.brown.3@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox