[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] qemu -cpu 7455 doesn't work
From: |
Jörg Sommer |
Subject: |
Re: [Qemu-ppc] qemu -cpu 7455 doesn't work |
Date: |
Mon, 5 Mar 2012 18:03:58 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Blue Swirl hat am Sat 03. Mar, 16:00 (+0000) geschrieben:
> On Thu, Mar 1, 2012 at 15:42, Jörg Sommer <address@hidden> wrote:
> > I don't get an Open Firmware prompt with this command:
> >
> > qemu-system-ppc -M mac99 -cpu 7455 -prom-env 'auto-boot?=false'
> >
> > With -cpu G4 or 7448 it works. My host CPU is a 7455 and I can't use -cpu
> > host with KVM. Is there something broken?
>
> Boot crashes when MMU is enabled in OpenBIOS
> (arch/ppc/qemu/init.c:527, setup_mmu()):
> mtmsr(mfmsr() | MSR_IR | MSR_DR);
>
> I suppose 7455 has a different MMU model compared to 7448 and the
> different setup needed has not been implemented in OpenBIOS yet.
It also happens when I use -kernel. Is OpenBIOS involved when a kernel
gets started directly?
# qemu-system-ppc -enable-kvm -M g3beige -cpu 7455 -k de -nographic
>> =============================================================
>> OpenBIOS 1.0 [Jan 8 2012 13:43]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> Unknown cpu (pvr 80010000), freezing!
QEMU 1.0 monitor - type 'help' for more information
(qemu) stop
(qemu) info cpus
* CPU #0: nip=0x00000000fff09330 thread_id=13276
(qemu) info registers
NIP fff09330 LR fff09330 CTR 00000000 XER 00000000
MSR 40000030 HID0 00000000 HF 00000000 idx 1
TB 00000000 00000000 DECR 00000000
GPR00 00000000fff09330 0000000007df7e90 0000000000000000 0000000000000026
GPR04 000000000000000d 0000000000000000 0000000000000000 0000000000000000
GPR08 0000000000000000 0000000000000004 0000000000000000 0000000007df7e90
GPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20 0000000000000000 00000000fff2ef70 00000000fff2ef5e 00000000fff2eede
GPR24 00000000fff2ef66 00000000fffb3630 0000000000000000 0000000000000000
GPR28 00000000fff2e656 00000000fff2f5e5 0000000008000000 00000000fff260e0
CR 42000042 [ G E - - - - G E ] RES ffffffff
FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR 00000000
SRR0 fff24c50 SRR1 40000030 PVR 80010302 VRSAVE 00000000
SPRG0 07e00000 SPRG1 07df7e10 SPRG2 22000042 SPRG3 00000000
SPRG4 00000000 SPRG5 00000000 SPRG6 00000000 SPRG7 00000000
SDR1 07e00000
(qemu) xp /4i 0x00000000fff09328
0xfff09328: addi r3,r3,-5738
0xfff0932c: bl 0xfff086e8
0xfff09330: b 0xfff09330
0xfff09334: lis r3,-13
(qemu) quit
> Perhaps you could try? ;-)
What should I try?
Bye, Jörg.
--
„Wer im Usenet gelesen werden will, sollte leserorientiert schreiben. Wer nur
für sich schreiben will, dem ist mit einem Tagebuch vielleicht besser
geholfen. Gelesen zu werden ist kein Recht, sondern ein Privileg.“
Thore Tams in <address@hidden>
signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP