* Powermac real-mode? setting?
@ 2005-12-16 8:53 Andrei Warkentin
2005-12-17 0:45 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Andrei Warkentin @ 2005-12-16 8:53 UTC (permalink / raw)
To: linuxppc-dev
Hello,
As far as I understand, linux expects to be started in virt-mode,
with MMU on. 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.
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Powermac real-mode? setting?
2005-12-16 8:53 Powermac real-mode? setting? Andrei Warkentin
@ 2005-12-17 0:45 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2005-12-17 0:45 UTC (permalink / raw)
To: Andrei Warkentin; +Cc: linuxppc-dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-17 0:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16 8:53 Powermac real-mode? setting? Andrei Warkentin
2005-12-17 0:45 ` Benjamin Herrenschmidt
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).