Openmoko under QEMU on MacOSX
From Openmoko
Line 3: | Line 3: | ||
I try to put here my notes on setting up OpenMoko environment (Qemu and MokoMakefile) on Mac OS X. | I try to put here my notes on setting up OpenMoko environment (Qemu and MokoMakefile) on Mac OS X. | ||
− | + | = Introduction = | |
− | + | Some time ago I ask if anyone has ever set up OpenMoko environment on MacOS X. No one has answered that he did but several people were interested. So I deceided to wrote some directions on how to do that. | |
− | + | ||
− | + | ||
− | I | + | As for now I was not successful but I am still trying ;) |
− | + | ||
− | + | = Setting up environment = | |
− | + | == Prequisites == | |
− | + | Install fink and darwinports (both have neccesary packages) | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | Follow instructions on: | |
− | + | http://www.openembedded.org/wiki/BuildOnOSX | |
+ | to set up OE environment. | ||
− | + | You can get mentioned packages using darwinports: | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | <pre> | ||
+ | sudo port install quilt | ||
+ | sudo port install py-psyco | ||
+ | sudo port install cogito | ||
</pre> | </pre> | ||
− | + | Then get Q[kju] project: http://www.kju-app.org/proj/wiki/CompilingQ into /Volumes/OE/Q but do not compile it yet (run only "prepare the sources"). This will be needed for compiling Neo1973 emulator. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
Set up environment as described in MokoMakefile: | Set up environment as described in MokoMakefile: | ||
<pre> | <pre> | ||
− | |||
− | |||
− | |||
− | |||
cd /Volumes/OE | cd /Volumes/OE | ||
mkdir moko; cd moko | mkdir moko; cd moko | ||
Line 70: | Line 37: | ||
make setup | make setup | ||
+ | </pre> | ||
+ | = Making developers image = | ||
+ | |||
+ | <pre> | ||
+ | make openmoko-devel-image | ||
</pre> | </pre> | ||
− | + | ||
+ | = Patching qemu-neo1973 = | ||
The main idea is to get patches for gcc-4.x from Q project and apply it to qemu-neo1973 branch. I'm still working on it. | The main idea is to get patches for gcc-4.x from Q project and apply it to qemu-neo1973 branch. I'm still working on it. | ||
− | + | = Building emulator = | |
TODO | TODO | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 19:41, 11 July 2007
Warning: this is draft!
I try to put here my notes on setting up OpenMoko environment (Qemu and MokoMakefile) on Mac OS X.
Contents |
Introduction
Some time ago I ask if anyone has ever set up OpenMoko environment on MacOS X. No one has answered that he did but several people were interested. So I deceided to wrote some directions on how to do that.
As for now I was not successful but I am still trying ;)
Setting up environment
Prequisites
Install fink and darwinports (both have neccesary packages)
Follow instructions on: http://www.openembedded.org/wiki/BuildOnOSX to set up OE environment.
You can get mentioned packages using darwinports:
sudo port install quilt sudo port install py-psyco sudo port install cogito
Then get Q[kju] project: http://www.kju-app.org/proj/wiki/CompilingQ into /Volumes/OE/Q but do not compile it yet (run only "prepare the sources"). This will be needed for compiling Neo1973 emulator.
Set up environment as described in MokoMakefile:
cd /Volumes/OE mkdir moko; cd moko wget http://www.rwhitby.net/files/openmoko/Makefile make setup
Making developers image
make openmoko-devel-image
Patching qemu-neo1973
The main idea is to get patches for gcc-4.x from Q project and apply it to qemu-neo1973 branch. I'm still working on it.
Building emulator
TODO