Author Topic: qemu on the Z  (Read 6210 times)

Zazz

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
qemu on the Z
« 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.

vishnja

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • http://
qemu on the Z
« Reply #1 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?
C860 with Cacko 1.21 \"Elena\" ROM,
pretec wlan cf, nokia bt cf, ratoc usb host cf, socket lan cf,
sandisk 512 cf/sd, kingston 256 cf

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
qemu on the Z
« Reply #2 on: April 27, 2004, 07:08:06 pm »
wow
nice!

Zazz

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
qemu on the Z
« Reply #3 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.

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
qemu on the Z
« Reply #4 on: April 27, 2004, 09:24:43 pm »
Cool!  Is that matlab?

alexei

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://
qemu on the Z
« Reply #5 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?
C3100 RC12

Zazz

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
qemu on the Z
« Reply #6 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.

BalroG

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
qemu on the Z
« Reply #7 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..
C860 on Default Sharp ROM(to change soon!)

Zazz

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
qemu on the Z
« Reply #8 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.

totoetlititi

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
qemu on the Z
« Reply #9 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 ?

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
qemu on the Z
« Reply #10 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.
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

totoetlititi

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
qemu on the Z
« Reply #11 on: May 05, 2004, 09:31:45 am »
What is the version of mathematica that Zazzz use ?

Zazz

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
qemu on the Z
« Reply #12 on: May 05, 2004, 09:47:58 am »
Quote
What is the version of mathematica that Zazzz use ?


version 5.0

totoetlititi

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
qemu on the Z
« Reply #13 on: May 05, 2004, 09:53:18 am »
but a linux version...

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
qemu on the Z
« Reply #14 on: November 03, 2004, 06:29:30 pm »
hey i cant access the website here anymore, anyone has the required binaries ?

tovarish