Author Topic: qemu CPU emulator  (Read 5827 times)

coder101

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
qemu CPU emulator
« on: July 23, 2004, 12:57:56 am »
I came across this
QEMU is a slashdot post and I was wondering if anyone here uses this to make Zaurus binaries
SL-C860 from Brando, Micro Power PtoGo 240V adapter, SanDisk CF Low Power Wireless Lan, 256MB Lexar CF, 128MB Medion CF, 128MB Traveler SD, iPDA USB SyncCable, 7in1 Card Reader and Writer USB

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
qemu CPU emulator
« Reply #1 on: July 23, 2004, 06:15:29 am »
Unless it supports system emulation of ARM I find it of little use.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

amrein

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://
qemu CPU emulator
« Reply #2 on: July 23, 2004, 01:54:43 pm »
It's written that they support ARM emulation in User mode (e.g. you should be in Linux and you run a standard ARM kernel). 7110 and perhaps StrongARM and PXA elf binary are supported.

Of course, you should compile an ARM kernel with compatible config. Imageon 100 drivers won't work for example.
« Last Edit: July 23, 2004, 01:57:13 pm by amrein »

amrein

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://
qemu CPU emulator
« Reply #3 on: July 23, 2004, 02:04:42 pm »
This project is interesting too:

  http://www.skyeye.org/

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
qemu CPU emulator
« Reply #4 on: July 23, 2004, 09:31:13 pm »
Just because you can emulate the ARM CPU doesn't mean you can build Zaurus/ARM binaries. You will always need an ARM compiler, and that's what you get with the ARM cross-compiler on x86 anyway.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

amrein

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://
qemu CPU emulator
« Reply #5 on: July 24, 2004, 04:03:40 pm »
Of course. And if you want to cross-compile, it will always be faster on real hardware than in the emulator. Here is why OE or pdaXrom builder have been set.

A compilers network (I don't know how to call the use of multiple PC to compile) can be used to speed the compilation with emulators.

The interesting thing with emulator is that they permit:
_ to test your application safety
_ to compile packages (like rpm) without too much difficulties. Most Linux distro don't support ARM processors nor cross-compiling. I personnaly like the fact that "rpm --rebuild mypkg.src.rpm" build a source package but this could mess up if the package is not done with cross-compiling in mind. Mainly ./configure.
_ to quickly test distros and have an idea of their features and appearance.

OE or pdaXrom buildsystem are faster for cross-compiling.

It could be interesting for example to have an OE/OZ//OI/OY image to test before flashing the real one.
« Last Edit: July 24, 2004, 04:04:37 pm by amrein »

coder101

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
qemu CPU emulator
« Reply #6 on: July 26, 2004, 12:32:58 am »
I was talking about testing console apps, maybe SDL.
I doubt QT would work, but testing basic X apps should work, not that anyone would write apps now days that don't use a higher level widget set.
Just writing and testing, then a proper recompile for the Zaurus.

Example: Compiling up Apache 2.0.50 with php5 support, don't know if this can be done at the moment.  This would be considered a console app and could be tested inside this emulator
SL-C860 from Brando, Micro Power PtoGo 240V adapter, SanDisk CF Low Power Wireless Lan, 256MB Lexar CF, 128MB Medion CF, 128MB Traveler SD, iPDA USB SyncCable, 7in1 Card Reader and Writer USB

amrein

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://
qemu CPU emulator
« Reply #7 on: July 27, 2004, 09:36:15 am »
Trolltech QTE only need a standard kernel and a framebuffer.
See QEmu patch about framebuffer.