Author Topic: HowTo: QEMU  (Read 4090 times)

wendell

  • Newbie
  • *
  • Posts: 9
    • View Profile
HowTo: QEMU
« on: October 25, 2004, 11:17:32 pm »
Hello! I am working on getting QEMU (to run DOS apps) to actually work well on my C860. Is anyone out there actually doing this with success? I want to get VGA640x480 working with Cacko, and I don't mind putting together an unofficial how-to for others., as this seems to come up a lot.

I have bochs working, except there seems to be a slight libSDL problem... I haven't worked it out yet. it is just painfully slow.

The few folks that seem to have been able to do this, and post their information here seem to have fallen off the edge of the internet. The few binaries I can find of qemu are horribly out of date or broken.

Attempting to compile myself (simply changing the arcitecture in the ./configure file failed sort of badly).

I am also interesting in putting together a -nice- how-to for cross-compiling apps with a Debian host system and/or distcc for those builds that have to be done 'locally' on the zaurus. (Of particular interest to me is XMaxima, which I haven't got to work yet at all!)

Does anyone have any setups they'd care to share that I can put in the how-to for others?? Hopefully, this would get posted on ZUG permanently in some sane way so we stop two things: we stop getting people that ask the same questions every couple months and we stop the binaries from disappearing due to bitrot or disorganization.

Wendell

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
HowTo: QEMU
« Reply #1 on: October 26, 2004, 09:16:16 am »
I'm on the qemu dev list... but I haven't been following it closely.
Last time I was paying attention, it was said that no one was working on
arm support (ie: run on arm, not x86 emulating arm, which seems to work fine).

I'd love to have qemu running on the Z.
I have yet to see anyone really interested in working on this or any progress.

Scott

wendell

  • Newbie
  • *
  • Posts: 9
    • View Profile
HowTo: QEMU
« Reply #2 on: October 26, 2004, 06:22:41 pm »
Quote
I'm on the qemu dev list... but I haven't been following it closely.
Last time I was paying attention, it was said that no one was working on
arm support (ie: run on arm, not x86 emulating arm, which seems to work fine).
If there is enough interest, I will work on it. The last time I had to do something similar, I developed a linux kernel driver for the 2.0 / 2.2 series of kernels.

There were a hand full of people on this forum that seemed to get it to work, and work well, but the links in those messages aren't there anymore. No documentation!!! ARG. heh.

So, let me know.

Wendell

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
HowTo: QEMU
« Reply #3 on: October 27, 2004, 12:58:13 am »
I'm successfully use QEMU to run Linux native console applications on Z. There are a lot of nice programs not ported for arm still ...

Just yesterday I have used sfdisk to re-partitioning SD card.

I'm not sure QEMU could work in other, than "user mode" on arm.

suruaZ
« Last Edit: October 27, 2004, 11:33:42 am by suruaZ »
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB

wendell

  • Newbie
  • *
  • Posts: 9
    • View Profile
HowTo: QEMU
« Reply #4 on: October 27, 2004, 08:27:12 am »
Quote
I'm successfully use QEMU to run Linux native console applications on Z. There are a lot of nice programs not ported for arm still ...

Just yesterday I have used sfdisk to re-partitioning SD card.

I'm not shure QEMU could work in other, than "user mode" on arm.

suruaZ
Did you compile it natively? What version of the compiler did you use / what version of QEMU?

I would like to document that, even if it is just usermode i386 binaries. It is a start.

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
HowTo: QEMU
« Reply #5 on: October 27, 2004, 11:31:17 am »
Quote
Did you compile it natively? What version of the compiler did you use / what version of QEMU?

I took precompiled ARM binaries from this URL. Version 0.5.3. There are readme file with some information about how it was compiled.

Also I tried to compile the lates version of QEMU on ipaqs claster without succes.

suruaZ
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB

psycoman

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
    • http://www.tuxforum.com.br
HowTo: QEMU
« Reply #6 on: January 09, 2005, 06:02:15 pm »
Quote
Hello! I am working on getting QEMU (to run DOS apps) to actually work well on my C860. Is anyone out there actually doing this with success? I want to get VGA640x480 working with Cacko, and I don't mind putting together an unofficial how-to for others., as this seems to come up a lot.

I have bochs working, except there seems to be a slight libSDL problem... I haven't worked it out yet. it is just painfully slow.

The few folks that seem to have been able to do this, and post their information here seem to have fallen off the edge of the internet. The few binaries I can find of qemu are horribly out of date or broken.

Attempting to compile myself (simply changing the arcitecture in the ./configure file failed sort of badly).

I am also interesting in putting together a -nice- how-to for cross-compiling apps with a Debian host system and/or distcc for those builds that have to be done 'locally' on the zaurus. (Of particular interest to me is XMaxima, which I haven't got to work yet at all!)

Does anyone have any setups they'd care to share that I can put in the how-to for others?? Hopefully, this would get posted on ZUG permanently in some sane way so we stop two things: we stop getting people that ask the same questions every couple months and we stop the binaries from disappearing due to bitrot or disorganization.

Wendell
for DOS app is better dosbox not ?

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
HowTo: QEMU
« Reply #7 on: August 09, 2005, 06:54:10 pm »
more for curiosity than anything else, I'd like to know if anyone's got a recent version of qemu running?

meanwhile, the version of bochs on ELSIX is v2.1, not *old* but not exactly the latest 2.2.1!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
HowTo: QEMU
« Reply #8 on: August 27, 2005, 10:06:59 am »
I found a Japanese web site which contains a QEMU ipk:

http://tbox.jpn.org/wiki/linuzau/wiki.cgi?...eb%a5%c9%2fQEMU

I tried running the program, but it seems to have a dependency on libgcc_s.so.1 which is not installed on my Zaurus.

Once this hurdle is overcome, the program might need some of the ARM libraries included in the qemi-gnemul-0.5.1.tar.z file on Fabrice Bellard's web site.
« Last Edit: August 27, 2005, 01:27:26 pm by qx773 »

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
HowTo: QEMU
« Reply #9 on: August 28, 2005, 05:24:53 am »
i am successfully running Mathematica 5.1 for linux with the above QEMU (Linzau) on my c860 (Cacko 1.22)

tovarish