![]() ![]() |
Jan 29 2005, 06:11 PM
Post
#1
|
|
|
Group: Members Posts: 15 Joined: 29-January 05 Member No.: 6,346 |
Hi everyone!
I've been working in stealth mode on a software emulator for the ARM architecture. It runs on a PC (Linux only at present) and emulates the system features of the Sharp Zaurus SL-5500 platform. Currently I am able to run bare machine programs, vanilla Linux kernels, and OpenZaurus SL-5500 distributions. The emulator uses some fairly sophisticated simulation techniques so performance is very good. I am close to a real-time simulation of the SL-5500 on a fairly ordinary 2.6 GHz Pentium 4. It does a pretty good job with Zaurus Pacman for example! The emulator will be a commercial product, and I'm looking for volunteers for the beta test program. If you are interested, please check out the details over at http://www.virtera.com and become a site member if you'd like to give it a try. You will need to have access to an x86 Linux machine with a supported distro, and have some familiarity with installing from RPM, building Linux kernels and installing OpenZaurus to get started. Look forward to hearing from you! Cheers, Mark. |
|
|
|
Jan 30 2005, 04:44 AM
Post
#2
|
|
|
Group: Members Posts: 1,497 Joined: 12-November 03 From: Germany Member No.: 907 |
Very interesting work, I just applied for an account.
|
|
|
|
Jan 30 2005, 04:44 AM
Post
#3
|
|
|
Group: Members Posts: 1,497 Joined: 12-November 03 From: Germany Member No.: 907 |
(double posting)
|
|
|
|
Jan 30 2005, 09:31 AM
Post
#4
|
|
|
Group: Members Posts: 15 Joined: 29-January 05 Member No.: 6,346 |
Mickey - just approved your account. I was hoping that you'd register! I spent many hours debugging the boot of OpenZaurus on the emulator, and found a lot of invaluable insights from you in various forums and IRC logs!
There was one problem I remember in particular. The emulator would go into an infinite loop about 3.2 billion (yes billion) instructions into boot. This was well into init.d processing and the problem was in user space, not the kernel, making it that much harder to find out what was going on. Finally, I was able to grab all the sources, and build my own OpenZaurus distro using oemake (great stuff!) and turn on various debugging flags. It turned out that it was hanging inside some math routines used by SSH RSA key generation. I had a bug in the emulation of the ARM's 32-bit by 32-bit to 64-bit multiplies that prevented a math intensive loop from converging. After I fixed this one bug everything worked beautifully. I think that the emulator will be really useful for kernel and distro testing. It means you can try out all kinds of new stuff without worrying about bricking your Zaurus. I'll attach a couple of screen-shots below. These were taken using the GIMP just by grabbing the window running OpenZaurus. Mark.
Attached File(s)
|
|
|
|
Jan 30 2005, 10:47 AM
Post
#5
|
|
|
Group: Members Posts: 198 Joined: 17-January 04 Member No.: 1,475 |
Hey Mark!
Could you explain "commercial" ? I'm really not trying to start a flamewar, but the thing is, my gentoo system isn't supported by you, and if I get the source, there's a much better chance of getting it to run... Also, I couldn't find anything about the price, what is to be expected? Cheers Philipp |
|
|
|
Jan 30 2005, 11:25 AM
Post
#6
|
|
|
Group: Members Posts: 15 Joined: 29-January 05 Member No.: 6,346 |
Hi Philipp,
Commercial means that this is proprietary software, developed as an original work by Virtera Inc. as part of a commercial enterprise. Although we don't support gentoo at this time, there is a good chance that one of the supported distributions will just work. The main dependency is on the dynamic libraries supported by your distro. If there is a problem then I can work with you to solve it. We haven't disclosed pricing yet, but we will set appropriate price points for home users, and for business users. Mark. |
|
|
|
Feb 2 2005, 10:44 AM
Post
#7
|
|
![]() Group: Members Posts: 451 Joined: 27-November 03 From: Brisbane, Australia Member No.: 1,001 |
Just curious, is there a way in your software to change the rate of the cpu cycles it uses,.. as in slowing it down?
|
|
|
|
Feb 2 2005, 04:59 PM
Post
#8
|
|
|
Group: Members Posts: 1 Joined: 2-February 05 Member No.: 6,390 |
QUOTE(lpotter @ Feb 2 2005, 10:44 AM) Just curious, is there a way in your software to change the rate of the cpu cycles it uses,.. as in slowing it down? Hi there! Yes, there is a way to do this. You can specify the target MHz on the command line (such as --mhz 50) and also tell the emulator to synchronize clocks so that it will keep simulated time in sync with real wall-clock time. If your host machine is fast enough to hit the target MHz, then the clock synchronization logic dynamically inserts small delays to slow down the simulator to the specified rate. This is done using the Linux sleep system call so that spare cycles are returned to the host machine. This technique works really well and the delays are imperceptible to the user. This is actually quite an important feature as otherwise the simulation would run too fast in places. It makes the Zaurus clock tick at the right rate, and also makes playing games much more fun. You should even be able run one of the Zaurus packages that emulates another machine on the Zaurus emulator if you want! The most bizarre set-up I've had is setting at my lap-top PC running Windows and using VNC to display the remote desktop from a Linux virtual machine, that is provided by VMware hosted on a real Linux machine, and then run vm-arm-se inside that Linux virtual machine with display back out via VNC. Everything just works the way that it should. It would be kind of cool to then run something like a SNES emulator inside the emulated Zaurus inside the emulated Linux machine, displayed remotely to my Windows machine, but that just makes my head hurt too much! There is more more information in the User Guide, and there's some performance measurements too. If you create an account at www.virtera.com then you can download the User Guide from the "Documents Download" link and see for yourself. Feel free to ask for a beta trial if you are interested in trying it out. Cheers, Tezeee for Mark. |
|
|
|
Aug 13 2005, 04:00 AM
Post
#9
|
|
|
Group: Members Posts: 3 Joined: 13-August 05 Member No.: 7,845 |
Mark,
I would be very interested in porting the emulator to the Windows/PC architecture. As this is a commercial venture, I would be willing to sign whatever non-disclosure agreements would be required. I would also be willing to demonstrate my abilities prior to any significant investment of time or effort on your behalf. If interested, please contact me. - Rick C. Hodgin |
|
|
|
Aug 13 2005, 08:58 AM
Post
#10
|
|
|
Group: Members Posts: 15 Joined: 29-January 05 Member No.: 6,346 |
QUOTE(RickHodgin @ Aug 13 2005, 05:00 AM) Mark, I would be very interested in porting the emulator to the Windows/PC architecture. As this is a commercial venture, I would be willing to sign whatever non-disclosure agreements would be required. I would also be willing to demonstrate my abilities prior to any significant investment of time or effort on your behalf. If interested, please contact me. - Rick C. Hodgin Hi Rick, Can you send an e-mail to me so that we can discuss this off-line? You can reach me at support (at) virtera.com. Thanks! Mark. |
|
|
|
Aug 13 2005, 04:47 PM
Post
#11
|
|
|
Group: Members Posts: 3 Joined: 13-August 05 Member No.: 7,845 |
|
|
|
|
Aug 31 2005, 02:04 PM
Post
#12
|
|
|
Group: Members Posts: 298 Joined: 27-October 03 From: Greenfield, NH Member No.: 781 |
QUOTE(Mark @ Jan 30 2005, 02:11 AM) Hi everyone! I've been working in stealth mode on a software emulator for the ARM architecture. ...[snip]... - Clever! Any idea when the C1k might be emulated? (cheshire grin) |
|
|
|
Aug 31 2005, 06:04 PM
Post
#13
|
|
|
Group: Members Posts: 15 Joined: 29-January 05 Member No.: 6,346 |
QUOTE(Ragnorok @ Aug 31 2005, 03:04 PM) We're working on the C1000 version right now, and we'll get C3000 emulation without any additional work (we already support large CompactFlash memory cards). There's a reasonable amount of work involved, mostly PXA support plus the platform support code. We haven't decided on a release date yet, but when its reaches beta quality I'll post an announcement on oesf.org to round up some more beta testers. Cheers, Mark. |
|
|
|
Aug 31 2005, 06:16 PM
Post
#14
|
|
![]() Group: Members Posts: 332 Joined: 8-January 05 From: North East, USA Today Member No.: 6,159 |
Will the SL-6000 be supported, and in both portrait/landscape?
Will PC-based peripherals (COM port, mic, speaker, etc.) be mapped to the OS running in the emulator? Thanks, John |
|
|
|
Feb 12 2007, 06:14 AM
Post
#15
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
anyone interested should download it ASAP as it looks as if virtera is stopping this product... a great shame, I am wondering why they couldn't do a version to allow pocketPC developers and palm developers to work on a virtual device.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 11:31 AM |