I am new to QEMU. I built a Linux kernel 4.14 and rootfs for MPC8308 (this
CPU has e300c3 ppc core with Yocto (thud version) and it works on real
hardware well.
When I run this command to run kernel with QEMU:
qemu-system-ppc -kernel vmlinux.bin -nographic
it prints this output and hangs up with
Thank you Thomas for your reply.
> You definitly need to select the right CPU type, too. So for your case,
> you'd need to add the "-cpu e300c3" command line switch
Also added this option but nothing changed and the command does not print
anything.
> But the CPU is only a part of the hardware, you
Dear qemu developers
I built an image for e5500 cpu with yocto and run with qemu ppce500 machine:
qemu-system-ppc64 -nographic -M ppce500 -cpu e5500 -kernel uImage -initrd
core-image-minimal.rootfs.ext2.gz -append 'root=/dev/ram rw'
It works well, but as the emulated guest is in idle state, in the
Hi Philippe, Thank for your email
I investigated your advice,
first checked the CPU's programmer's reference manual and it has wait for
interrupt instruction.
then to check what instructions are executing I run this command:
qemu-system-ppc64 -nographic -M ppce500 -cpu e5500 -kernel uImage
-sin
Thank a lot Peter and Philippe
On 9/19/21 20:46, Philippe Mathieu-Daudé wrote:
> In the "infinite loop exception" case, '-d int' might be sufficient,
> before using 'exec/cpu', since you'll see the exception raise over
> and over.
I tried -d int and see that a lot of exceptions are rising in idle