Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to emulate an ARM architecture under OSX 10.6 ("Snow Leopard")?

I wish to emulate an ARM architecture (I wish to compile software for my DNS-323 NAS drive, to be more precise) and I'm having a hard time.

First I tried installing Q, which is an OSX port of QEMU. It freezes when I try to launch it. Then I tried to download the source code for QEMU and apply a patch someone had written to compile QEMU under Leopard, but that isn't working either.

Does anyone have any suggestions?

like image 889
Gegtik Avatar asked Oct 08 '09 01:10

Gegtik


2 Answers

I was trying to get this running so I could check out the Raspberry PI OS under Mac OSX. I found this page:

http://cgi.cs.indiana.edu/~geobrown/stm32/Main/Simulation

The steps are:

  1. Install macports
  2. In a terminal, type: sudo port install qemu +target_arm

That's it!

like image 151
yeeking Avatar answered Nov 22 '22 15:11

yeeking


UPDATE: looks like SkyEye project is (almost) dead now. It's still available on sourceforge.

But qemu is better now. It can be installed from macports or brew:

brew install qemu

or

sudo port install qemu +target_arm

Try SkyEye. SkyEye is an Open Source Simulator, which simulates series ARM and other Processor. The goal of SkyEye is to provide an integrated simulation environment in Linux and Windows. But it can be build for Mac OS X too.

I can't find complete information on Mac build, but check this:

  • SkyEye simulator 1.0.0 released! (Supports MAC OS/X)
  • [Skyeye-developer] Skeyey on Mac OSX initial fix
  • Problems with Skyeye the ARM simulator on Mac OS X
  • Google :)
like image 36
zxcat Avatar answered Nov 22 '22 13:11

zxcat