[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [HelenOS-devel] Regression in ppc-softmmu when running He

From: Mark Cave-Ayland
Subject: Re: [Qemu-ppc] [HelenOS-devel] Regression in ppc-softmmu when running HelenOS
Date: Sat, 17 Mar 2012 18:09:42 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20120207 Icedove/3.0.11

On 17/03/12 17:28, Martin Sucha wrote:

Hi Martin,

Hello Mark,

On Friday 16 March 2012 00:03:21 Mark Cave-Ayland wrote:
Please find attached the latest version of my patch which seems to have
the same behaviour as git master, except that it now also boots HelenOS.
This is based upon the PowerISA reference link you pointed me towards.
I've also clarified the comments to make it clearer where the masks have
been calculated from, plus modified it so (I hope) it will also work on

Any feedback/review/testing greatly appreciated.
Using (a slightly modified version of) your qemu-ppc-v3.patch:
-+    new_msr = env->msr&  ~0xed36ULL&  ~((target_ulong)1<<  MSR_HVB);
++    new_msr = env->msr&  ~0xed36ULL&  ~((target_ulong) MSR_HVB);

Ah I see - the MSR_HVB constant is already shifted. Good catch!

And using a patch to HelenOS, I'm able to run HelenOS mainline without a
change to OpenBIOS on ppc32. I see the clock issue Jakub mentioned, but
otherwise I can use the HelenOS user space graphical console normally.

Attached both patches.

Note that for older versions of HelenOS (such as the 0.4.2 ISO I used for testing), you can force the bit-depth back to 8 to allow it to boot by adding "-g 800x600x8" on the QEMU command line.

I also see from your patch that VISUAL_RGB_5_5_5_BE is also specified for a bit-depth of 16: however once again HelenOS refuses to boot with "-g 800x600x16" specified on the QEMU command line so perhaps this is not a correct assumption?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]