On 09/20/2012 03:51 PM, Programmingkid wrote:
On Sep 20, 2012, at 8:43 AM, Alexander Graf wrote:
On 20.09.2012, at 14:37, Programmingkid wrote:
Message: 7
Date: Thu, 20 Sep 2012 11:36:46 +0200
From: Alexander Graf <address@hidden>
To: Andreas Tobler <address@hidden>
Cc: The OpenBIOS Mailinglist <address@hidden>, qemu-ppc List
<address@hidden>,
Andreas F?rber <address@hidden>, Segher
Boessenkool <address@hidden>
Subject: Re: [Qemu-ppc] [OpenBIOS] FreeBSD
powerpc issue
Message-ID: <address@hidden>
Content-Type: text/plain; charset=iso-8859-1
On 31.08.2012, at 22:40, Andreas Tobler wrote:
On 27.08.12 23:51,
Alexander Graf wrote:
On 27.08.2012, at
13:43, Segher Boessenkool <address@hidden>
wrote:
How do I flush
the TLB?
]
Ah, I see. It depends.
QEMU doesn't provide any guarantees that the
TLB survives basically. We don't flush it
often for book3s, but it can still happen.
Maybe try to put a printf into the tlb flush
handler function?
Sorry for the delay, was
sick for the past days :(
You suggest to add some
printf's, am I right to do that in the
cputlb.c tlb_flush()? If not, where did you
mean to do that?
Yup. tlb_flush_page and/or tlb_flush.
And on a side note,
are/were there successful boot results from
other OS's than linux with qemu and OpenBIOS
on powerpc?
Phew. With a bunch of hacks I've had Mac OS X
booted into its kernel where it was happily
churning along until it realized that I'm trying
to run it on machine that was too old (g3 beige
support got dropped as early as 10.3 iirc).
You were able to make Mac OS X boot in Qemu! What
exactly is need to accomplish this? What version of
Mac OS X did you use?
I was using 10.3 or 10.4 and simply added some hack
to emulate forth sniplets in C. IIRC I even posted that
on the mailing list back then:
I imagine that we need to start emulating a newer
Mac than a Beige G3. Is the Mac99 target any better
than the Beige G3?
It's better, but incomplete :(. We don't have any good
targets atm. In fact, we might be best off implementing a
U4 based G5 machine, as that one's at least documented.
Alex
Thanks for the link. From what I read, a word called
unselect-dev is not yet implemented in OpenBIOS. Local variable
support is missing, and an endless loop involving isi and dsi
faults takes place.
From what I can tell, the unselect-dev word has been
implemented. Local variable support has been implemented (still
waiting for patch to be added). That leaves these isi and dsi
faults. Are they still a problem? Any direction on what to work
on next would be great.
I haven't really ran that code since then :).
I tried to boot Mac OS 10.4 on Qemu, but Qemu can't read the
DVD. Not sure if I did something wrong, or if DVD support isn't
implemented yet.
Phew. There were some fixes to the HFS+ code on the mailing list a
while ago. I honestly have no idea :)
Alex
|