build_mac
This is an old revision of the document!
Table of Contents
Build environment on Mac OS X
0. Work in Progress / First Trial
This page will hopefully soon explain how to setup the build environment on a Mac. As of now, the setup has not yet been completely tried out / documented.
1. Compiler
The CodeSourcery G++ package provides a GNU cross-compiler toolchain for ARM, but needs to be built first from source code.
- This explains how to build the tool chain on a Mac: jsnyder / arm-eabi-toolchain
- Note: This builds release: …
Other options: Ubuntu Linux in a VirtualBox
4. Deploy
Bring the r0ket into ISP-Mode: e.g. by using Method 1 (up to 30 seconds, but works always)
- Power off r0ket
- Press and hold button “Left”
- Connect r0ket via USB
Mac OS X will show a “CRP DISABLD” USB device.
Using the Ubunto Terminal in a VirtualBox:
Share the directory “CRP DISABLD” on the Mac OS X host with VirtualBox, e.g. using the name r0flash - it will be available on the Ubuntu guest at /media/sf_r0flash.
Copy the file firmware.bin to that directory:
cp firmware.bin /media/sf_r0flash/
Using the Mac OS X Terminal:
cp firmware.bin /Volumes/CRP\ DISABLD/
Note: Copying the firmware.bin over to the device in the Mac OS X Finder does not work.
build_mac.1312234587.txt.gz · Last modified: by mh
