blob: a08d03d8d37ba1527a5320fa52c94cfe80b0b6d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
qemu-system-ppc -cpu G2leGP3 crashes
qemu crashes when running qemu-system-ppc -cpu G2leGP3 :
qemu-system-ppc -cpu G2leGP3
Error: Trying to register SPR 1013 (3f5) twice !
qemu-system-ppc -version
QEMU emulator version 2.0.50, Copyright (c) 2003-2008 Fabrice Bellard
On 5/19/2014 1:16 PM, Brandon Williams wrote:
> Public bug reported:
>
> qemu crashes when running qemu-system-ppc -cpu G2leGP3 :
>
> qemu-system-ppc -cpu G2leGP3
> Error: Trying to register SPR 1013 (3f5) twice !
>
> qemu-system-ppc -version
> QEMU emulator version 2.0.50, Copyright (c) 2003-2008 Fabrice Bellard
>
> ** Affects: qemu
> Importance: Undecided
> Status: New
>
This was introduced in this commit:
2bc173224adc0fc318f2bd6fcf65dfdbc7d51123 is the first bad commit
commit 2bc173224adc0fc318f2bd6fcf65dfdbc7d51123
Author: Fabien Chouteau <email address hidden>
Date: Wed Apr 3 04:03:38 2013 +0000
PPC: Add breakpoint registers for 603 and e300
Signed-off-by: Fabien Chouteau <email address hidden>
I removed the redundant registrations from the gen_spr_G2 function and it is not longer throwing that error. However, now I just get a black QEMU screen. Any suggestions on the best way to debug this?
"qemu-system-ppc -cpu G2leGP3 -d int" gives me:
Raise exception at fff085a0 => 0000004e (40000)
I think the G2leGP3 CPU has been fixed with this commit here:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=3ade1a055c9ac6c351
and it also seems to work fine when you use the "-M prep" machine type.
|