OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: Zazz on April 27, 2004, 05:35:21 pm

Title: qemu on the Z
Post by: Zazz on April 27, 2004, 05:35:21 pm
I got qemu to compile for arm host and i386 user mode (it runs i386 linux binaries on the Z but does not emulate a complete PC).
Some definitely non-trivial programs run just fine (only a little slow) so it looks quite promising.

You can download the qemu-i386 binary and further comments from here (http://zaurus.zapto.org/zazz/qemu/).
Title: qemu on the Z
Post by: vishnja on April 27, 2004, 05:54:50 pm
Hi Zazz, this looks great!
What programs did you try already and how do they look on the Z?
Title: qemu on the Z
Post by: ScottYelich on April 27, 2004, 07:08:06 pm
wow
nice!
Title: qemu on the Z
Post by: Zazz on April 27, 2004, 07:28:48 pm
Here is a screenshot to show that I was serious about running non-trivial applications...  This is also pushing it to limits what the poor little Z can do, it is close to needing more ram or swap.
Title: qemu on the Z
Post by: DrWowe on April 27, 2004, 09:24:43 pm
Cool!  Is that matlab?
Title: qemu on the Z
Post by: alexei on May 03, 2004, 08:14:02 pm
Wow!

Is mathematica at all usable or is it too slow on the Z?  Which Z do you have?
Title: qemu on the Z
Post by: Zazz on May 03, 2004, 08:23:02 pm
Quote
Is mathematica at all usable or is it too slow on the Z?  Which Z do you have?


Floating point calculations are painfully slow but symbolic manipulations (things like Simplify, Expand, Integrate etc) are perfectly usable. I have a C860.
Title: qemu on the Z
Post by: BalroG on May 04, 2004, 06:29:20 am
WOW Zazz, that is impressive!

1.) OK, excuse the newbie, but what is \"qemu\"?
2.) On which kernels does this work? (I will be installing new Cacko - still waiting for my C860)
3.) Where oh where does one find the Mathematica binary, is it Commercial or GPL?

That is one of the more impressive things I have seen on a Z yet..
Title: qemu on the Z
Post by: Zazz on May 04, 2004, 08:28:35 am
Quote
1.) OK, excuse the newbie, but what is \"qemu\"?  
2.) On which kernels does this work? (I will be installing new Cacko - still waiting for my C860)
3.) Where oh where does one find the Mathematica binary, is it Commercial or GPL?


1) Qemu is a cpu emulator (like bochs, only about two orders of magnitude faster). There is a version which emulates a complete PC which does not (yet) work on the arm architecture and a version which runs i386 linux binaries only which works.

2) The static binary I compiled should run on anything with an xscale cpu. The binary with shared libs needs a libc version compatible with the one from pdaXrom 1.0.5.

3) It is commercial (and our campus has a site license). I guess it\'s the whole point of qemu to run commercial binaries. If you had the source code you would port it to arm directly.

Two more updates:

i) Wine still does not work (I\'m not trying too hard though).

ii) I got binfmt_misc to work and I figured out the -L switch, so now I can run i386 binaries seamlessly by simply invoking them like any other executable.
Title: qemu on the Z
Post by: totoetlititi on May 05, 2004, 02:31:26 am
Very Great !!!
I \'m trying this on my sl5500, but it does\'nt work...
Is it no compatible with an arm processor ?
How know, if a program i386 is compatible ?
Do you have an example of a free program i386, which should work ?
Title: qemu on the Z
Post by: omega on May 05, 2004, 04:50:13 am
totoetlititi,  A program is i386 compatible if you can run it on your pentium or AMD... i386 is INTEL 386... so anything newer than that. If you look at a site like www.rpmfind.net you will see lots of i386 programs. Still awaiting my C860, so i will try it out myself then.
Title: qemu on the Z
Post by: totoetlititi on May 05, 2004, 09:31:45 am
What is the version of mathematica that Zazzz use ?
Title: qemu on the Z
Post by: Zazz on May 05, 2004, 09:47:58 am
Quote
What is the version of mathematica that Zazzz use ?


version 5.0
Title: qemu on the Z
Post by: totoetlititi on May 05, 2004, 09:53:18 am
but a linux version...
Title: qemu on the Z
Post by: tovarish on November 03, 2004, 06:29:30 pm
hey i cant access the website here anymore, anyone has the required binaries ?

tovarish
Title: qemu on the Z
Post by: suruaZ on November 04, 2004, 01:22:38 am
Unfortunately I'm unable to access http://zaurus.zapto.org/zazz/qemu/ (http://zaurus.zapto.org/zazz/qemu/) URL.

What version of QEMU it is?

I use the old one (0.5.3) compiled by Zazz too. Very nice program.

suruaZ
Title: qemu on the Z
Post by: tovarish on November 05, 2004, 05:28:30 pm
do you have that one for me, i cant find QEMU anywhere

tovarish
Title: qemu on the Z
Post by: suruaZ on November 07, 2004, 10:04:34 am
Quote
do you have that one for me, i cant find QEMU anywhere

Sure, here they are:
Dynamicaly linked (http://www.geocities.com/kai_cezar/qemu-0.5.3-armhost-i386user.zip) and Staticaly linked (http://www.geocities.com/kai_cezar/qemu-i386-static.gz)

Both was compiled by Zazz and work fine for me.

suruaZ
Title: qemu on the Z
Post by: tovarish on November 08, 2004, 09:06:53 am
thanks a lot,

tovarish