Skip to contentSkip to conversation

ARM questions..

Qemu-devel Carl Holtje ;021;vcsg6; 2 participants 5 messages Feb 16, 2005 – Feb 17, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 10 lines · 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

#2 lore raw
Quoted 12 lines · Paul Brook
Quoted 10 lines · 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)?

Quoted 3 lines

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

#3 lore raw
Quoted 8 lines · On Thursday 17 February 2005 13:58, Carl Holtje ;021;vcsg6; wrote:
Quoted 3 lines · Paul Brook

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.

#4 lore raw
Quoted 10 lines · Paul Brook
Quoted 8 lines · On Thursday 17 February 2005 13:58, Carl Holtje ;021;vcsg6; wrote:
Quoted 3 lines · Paul Brook

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

Quoted 7 lines

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