qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] system-ppcemb -M bamboo, troubles with RTC


From: nello martuscielli
Subject: Re: [Qemu-ppc] system-ppcemb -M bamboo, troubles with RTC
Date: Mon, 1 Jul 2013 03:29:02 +0200

On Sun, Jun 30, 2013 at 2:26 PM, Alexander Graf <address@hidden> wrote:
>
> Hi Nello,
>
> On 30.06.2013, at 12:01, nello martuscielli wrote:
>
> hi, i'm giving a try to have a working qemu-system-ppcemb -M bamboo but i've 
> some troubles how to set RTC . I'm using qemu-1.5.1 on a real PowerPC 32bit 
> machine (iBook G4).
>
>
> Phew. That must be terribly slow. I'd certainly recommend a recent x86 
> machine as the host if you want to actually work with your guest. Running on 
> a PPC host in TCG mode (emulation) doesn't really buy you anything.
>

hallo Alexander,

indeed it's quite slow. I hoped to use TCG and/or KVM but if i try to
build qemu-1.5.1 with --enable-tcg-interpreter i get:

[...]
 CC    hw/virtio/dataplane/vring.o
  GEN   ppc-softmmu/hmp-commands.h
  GEN   ppc-softmmu/qmp-commands-old.h
  GEN   ppc-softmmu/config-target.h
  CC    ppc-softmmu/exec.o
  CC    ppc-softmmu/translate-all.o
  CC    ppc-softmmu/cpu-exec.o
  CC    ppc-softmmu/tcg/tcg.o
In file included from /home/ports/Qemu/qemu/work/src/qemu-1.5.1/tcg/tcg.h:49:0,
                 from /home/ports/Qemu/qemu/work/src/qemu-1.5.1/tcg/tcg-op.h:24,
                 from /home/ports/Qemu/qemu/work/src/qemu-1.5.1/tcg/tcg.c:50:
/home/ports/Qemu/qemu/work/src/qemu-1.5.1/tcg/tci/tcg-target.h:174:20:
error: redefinition of 'flush_icache_range'
/home/ports/Qemu/qemu/work/src/qemu-1.5.1/include/qemu/cache-utils.h:18:20:
note: previous definition of 'flush_icache_range' was here
make[1]: *** [tcg/tcg.o] Error 1
make: *** [subdir-ppc-softmmu] Error 2

and when i try to use -enable-kvm running qemu-system-ppc i get:

[...]
KVM: invalid SPR write: 1013
mtspr: unknown spr 3f5
Couldn't emulate instruction 0x7c75fba6 (op 31 xop 467)
kvmppc_handle_exit: emulation at 700 failed (7c75fba6)

in my host dmesg and a kernel panic booting my guest.



> For my guest kernel i start from 44x/bamboo_defconfig .
>

.
_cut__
>
>
> There's a good chance we don't emulate an RTC on the bamboo board. At least I 
> don't find any reference to it on the device tree or in the machine model.
>

oh, my fault. I was thinking generic rtc was enabled also on qemu-ppc.

> However, patches are more than welcome :).
>

i'd like but i've no skill to help.



thanks again,
Nello
--
Power Mac G4 AGP 450MHz - CRUX PPC (32bit)



reply via email to

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