qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] ARM questions..
@ 2005-02-16 18:14 Carl Holtje ;021;vcsg6;
  2005-02-16 18:58 ` Paul Brook
  0 siblings, 1 reply; 5+ messages in thread
From: Carl Holtje ;021;vcsg6; @ 2005-02-16 18:14 UTC (permalink / raw)
  To: qemu-devel

All-

A couple of questions about the ARM platform-

I'd like to run a binary from Platform A on an ARM system -- what
packages/files/whatnot do I need to comprise the interpreter requirement?
Is this something I can simply copy from Platform A to the ARM system (ie
are these libraries on the emulated side that are there for application
support and are emulated by qemu, as opposed to being compiled for the
ARM for direct-execution)?

Thanks!

Carl

- --

"There are 10 types of people in the world: Those who understand binary
and those that don't."

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] ARM questions..
  2005-02-16 18:14 [Qemu-devel] ARM questions Carl Holtje ;021;vcsg6;
@ 2005-02-16 18:58 ` Paul Brook
  2005-02-17 13:58   ` Carl Holtje ;021;vcsg6;
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Brook @ 2005-02-16 18:58 UTC (permalink / raw)
  To: qemu-devel

On Wednesday 16 February 2005 18:14, Carl Holtje ;021;vcsg6; wrote:
> All-
>
> A couple of questions about the ARM platform-
>
> I'd like to run a binary from Platform A on an ARM system -- what
> packages/files/whatnot do I need to comprise the interpreter requirement?
> Is this something I can simply copy from Platform A to the ARM system (ie
> are these libraries on the emulated side that are there for application
> support and are emulated by qemu, as opposed to being compiled for the
> ARM for direct-execution)?

The qemu arm emulation only supports linux user-mode emulation.
This means it runs arm-linux binaries unmodified. In addition to the binary 
itself you will need any shared libraries it requires.

It is possible (though not mandatory) to use an arm-linux chroot if you setup 
the linux binfmt_misc  to use qemu to run arm binaries.

Paul

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] ARM questions..
  2005-02-16 18:58 ` Paul Brook
@ 2005-02-17 13:58   ` Carl Holtje ;021;vcsg6;
  2005-02-17 14:29     ` Paul Brook
  0 siblings, 1 reply; 5+ messages in thread
From: Carl Holtje ;021;vcsg6; @ 2005-02-17 13:58 UTC (permalink / raw)
  To: qemu-devel

On Wed, 16 Feb 2005, Paul Brook wrote:

> On Wednesday 16 February 2005 18:14, Carl Holtje ;021;vcsg6; wrote:
> > All-
> >
> > A couple of questions about the ARM platform-
> >
> > I'd like to run a binary from Platform A on an ARM system -- what
> > packages/files/whatnot do I need to comprise the interpreter requirement?
> > Is this something I can simply copy from Platform A to the ARM system (ie
> > are these libraries on the emulated side that are there for application
> > support and are emulated by qemu, as opposed to being compiled for the
> > ARM for direct-execution)?
>
> The qemu arm emulation only supports linux user-mode emulation.
> This means it runs arm-linux binaries unmodified. In addition to the binary
> itself you will need any shared libraries it requires.

My target hardware is ARM, and I'm interested in running x86 binaries. I'm
not sure I conveyed this in my original post -- does your reply still
apply (copy over libraries and go)?

Thanks!

Carl

- --

"There are 10 types of people in the world: Those who understand binary
and those that don't."

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] ARM questions..
  2005-02-17 13:58   ` Carl Holtje ;021;vcsg6;
@ 2005-02-17 14:29     ` Paul Brook
  2005-02-17 19:12       ` Carl Holtje ;021;vcsg6;
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Brook @ 2005-02-17 14:29 UTC (permalink / raw)
  To: qemu-devel

On Thursday 17 February 2005 13:58, Carl Holtje ;021;vcsg6; wrote:
> On Wed, 16 Feb 2005, Paul Brook wrote:
> > The qemu arm emulation only supports linux user-mode emulation.
> > This means it runs arm-linux binaries unmodified. In addition to the
> > binary itself you will need any shared libraries it requires.
>
> My target hardware is ARM, and I'm interested in running x86 binaries. I'm
> not sure I conveyed this in my original post -- does your reply still
> apply (copy over libraries and go)?

Oh, I see. I thought you meant the other way around.
In that case qemu should[1] work the same as on any other host. ie. you can 
either use the user emulation as described above, or use the softmmu 
emulation to emulate a whole PC.

Paul

[1] I don't think arm hosts get as much testing as some others, so there may 
be more bugs than say x86 or ppc hosts.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] ARM questions..
  2005-02-17 14:29     ` Paul Brook
@ 2005-02-17 19:12       ` Carl Holtje ;021;vcsg6;
  0 siblings, 0 replies; 5+ messages in thread
From: Carl Holtje ;021;vcsg6; @ 2005-02-17 19:12 UTC (permalink / raw)
  To: qemu-devel

On Thu, 17 Feb 2005, Paul Brook wrote:

> On Thursday 17 February 2005 13:58, Carl Holtje ;021;vcsg6; wrote:
> > On Wed, 16 Feb 2005, Paul Brook wrote:
> > > The qemu arm emulation only supports linux user-mode emulation.
> > > This means it runs arm-linux binaries unmodified. In addition to the
> > > binary itself you will need any shared libraries it requires.
> >
> > My target hardware is ARM, and I'm interested in running x86 binaries. I'm
> > not sure I conveyed this in my original post -- does your reply still
> > apply (copy over libraries and go)?
>
> Oh, I see. I thought you meant the other way around.
> In that case qemu should[1] work the same as on any other host. ie. you can
> either use the user emulation as described above, or use the softmmu
> emulation to emulate a whole PC.
>
> [1] I don't think arm hosts get as much testing as some others, so there may
> be more bugs than say x86 or ppc hosts.

Does "whole PC" emulation work[1] on the ARM? That is to say that the BIOS
image sits on the to-be-emulated side, so the whole PC is being emulated
through qemu, not just the binaries?

Thanks!

Carl

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-17 19:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-16 18:14 [Qemu-devel] ARM questions Carl Holtje ;021;vcsg6;
2005-02-16 18:58 ` Paul Brook
2005-02-17 13:58   ` Carl Holtje ;021;vcsg6;
2005-02-17 14:29     ` Paul Brook
2005-02-17 19:12       ` Carl Holtje ;021;vcsg6;

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).