Where is MMU enabled?
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 4 lines · Rick Brown
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
Quoted 5 lines
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 .
Quoted 15 lines
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 [email protected] Please read the FAQ at http://kernelnewbies.org/FAQ
Signature · 7 lines
Regards, Mohamed Thalib H -- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs