* [Qemu-devel] QEMU Target CPU support for PowerPC MPC8270
@ 2009-10-20 6:25 Johnny Giacomoni
2009-10-20 14:20 ` Lennart Sorensen
0 siblings, 1 reply; 2+ messages in thread
From: Johnny Giacomoni @ 2009-10-20 6:25 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 925 bytes --]
Hi everybody !
I currently work on Linux (Open SUSE) to emulate a CPU (MC8270, FreeScale).
I know that QEMU is designed to simulate Operating Systems, but I just want
to emulate a CPU. It seem to be possible with QEMU.
So, by seeing on http://www.qemu.org/status.html that PowerPC target is
testing, I wonder if it's not supported yet.
For example, I've created a HelloWorld program which has to be executed on a
PowerPC CPU. To reach this goal, I first cross-compiled it (thanks to
crosstools) with a powerpc-powerpc-linux-gnu TARGET. So, when I use qemu-ppc
-cpu MPC8270 it works, but just because it's running on Linux. I just want a
program being sure that it runs only on a PowerPC CPU.
Can I do that with QEMU ? How can I do ?
I looked on some forums (mainly those of qemu) but I didn't find my answer
-> http://qemu-forum.ipi.fi/viewforum.php?f=25
Can you help me please ?
Thanks. Have a nice day !
Jgiacomo
[-- Attachment #2: Type: text/html, Size: 1119 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] QEMU Target CPU support for PowerPC MPC8270
2009-10-20 6:25 [Qemu-devel] QEMU Target CPU support for PowerPC MPC8270 Johnny Giacomoni
@ 2009-10-20 14:20 ` Lennart Sorensen
0 siblings, 0 replies; 2+ messages in thread
From: Lennart Sorensen @ 2009-10-20 14:20 UTC (permalink / raw)
To: Johnny Giacomoni; +Cc: qemu-devel
On Tue, Oct 20, 2009 at 08:25:27AM +0200, Johnny Giacomoni wrote:
> Hi everybody !
>
> I currently work on Linux (Open SUSE) to emulate a CPU (MC8270, FreeScale).
>
> I know that QEMU is designed to simulate Operating Systems, but I just want
> to emulate a CPU. It seem to be possible with QEMU.
>
> So, by seeing on http://www.qemu.org/status.html that PowerPC target is
> testing, I wonder if it's not supported yet.
>
> For example, I've created a HelloWorld program which has to be executed on a
> PowerPC CPU. To reach this goal, I first cross-compiled it (thanks to
> crosstools) with a powerpc-powerpc-linux-gnu TARGET. So, when I use qemu-ppc
> -cpu MPC8270 it works, but just because it's running on Linux. I just want a
> program being sure that it runs only on a PowerPC CPU.
>
>
> Can I do that with QEMU ? How can I do ?
>
> I looked on some forums (mainly those of qemu) but I didn't find my answer
> -> http://qemu-forum.ipi.fi/viewforum.php?f=25
>
> Can you help me please ?
>
> Thanks. Have a nice day !
You could use qemu-system-ppc and emulate a powermac and install a ppc
linux distribution in it, and run your program there. That works fine.
--
Len Sorensen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-20 14:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-20 6:25 [Qemu-devel] QEMU Target CPU support for PowerPC MPC8270 Johnny Giacomoni
2009-10-20 14:20 ` Lennart Sorensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).