From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Andrei Warkentin <andrey.warkentin@gmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Powermac real-mode? setting?
Date: Sat, 17 Dec 2005 11:45:24 +1100 [thread overview]
Message-ID: <1134780324.6102.21.camel@gaston> (raw)
In-Reply-To: <E6B18F88-0CD3-4832-8BB6-232580280009@gmail.com>
On Fri, 2005-12-16 at 02:53 -0600, Andrei Warkentin wrote:
> Hello,
>
> As far as I understand, linux expects to be started in virt-mode,
> with MMU on.
No, Linux doesn't care. All it expects is that if MMU is on, it will be
started with a 1:1 mapping. In fact, pSeries (and CHRP) generally boot
in real mode, as does BootX.
> Does anyone know if setting real-mode? to true will work correctly? I'm
> trying to get something in the way of a home-brew
> kernel going on an G4 OF 3.0-based machine, and was wondering if it
> was possible to start out with the MMU off.
I doubt Apple's OF 3.0 will boot at all in real mode :) It's not a
kernel problem per-se, it's Apple's OF who tend to really only work in
virtual mode nowadays.
There should be no problem however switching MMU off from within your
"home brew" kernel. Look at how the linux kernel does in head.S
> Thank you very much and have a nice day.
>
> Andrei Warkentin
> andrey.warkentin@gmail.com
> Cell: (+1) (847) 321-15-55
> Office: (+1) (312) 756-15-00 x614
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
prev parent reply other threads:[~2005-12-17 0:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-16 8:53 Powermac real-mode? setting? Andrei Warkentin
2005-12-17 0:45 ` Benjamin Herrenschmidt [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=1134780324.6102.21.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=andrey.warkentin@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
/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;
as well as URLs for NNTP newsgroup(s).