build_mac
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
build_mac [2011/08/10 17:57] – Example session that worked! danbuk | build_mac [2012/01/03 03:29] (current) – Added info box for macports darthrake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <note important> | ||
+ | ...otherwise Mac OS will break your r0ket file system. | ||
+ | **NEVER EVER access the r0ket with the finder.** | ||
+ | Always use only the terminal. | ||
+ | </ | ||
+ | |||
====== Build environment on Mac OS X ====== | ====== Build environment on Mac OS X ====== | ||
Line 15: | Line 21: | ||
=== Solution 2 === | === Solution 2 === | ||
+ | |||
+ | <note tip> | ||
+ | This " | ||
+ | < | ||
+ | arm-none-eabi-ld: | ||
+ | arm-none-eabi-ld: | ||
+ | </ | ||
* Install [[http:// | * Install [[http:// | ||
- | * Don't forget < | + | * Don't forget < |
* Install the port '' | * Install the port '' | ||
=== Solution 3 === | === Solution 3 === | ||
+ | * Currently not working (at least on Lion). Less pain: MacPorts | ||
* Install [[http:// | * Install [[http:// | ||
- | * Import the formulae for ppl, cloog-ppl and arm-none-eabi-gcc from [[https:// | + | * Import |
* Install the formula '' | * Install the formula '' | ||
Line 101: | Line 114: | ||
MacOSX, Lion, Up-to-date MacPorts - DanBUK | MacOSX, Lion, Up-to-date MacPorts - DanBUK | ||
< | < | ||
+ | sudo port sync | ||
+ | sudo port install arm-none-eabi-gcc | ||
git clone git:// | git clone git:// | ||
cd r0ket | cd r0ket | ||
git checkout c583ddc7e3b6ecc2cdb94fe0a0474d52bcbb220b | git checkout c583ddc7e3b6ecc2cdb94fe0a0474d52bcbb220b | ||
+ | cd firmware | ||
cp SECRETS SECRETS.release | cp SECRETS SECRETS.release | ||
# Edit SECRETS.release | # Edit SECRETS.release | ||
- | cd firmware | ||
./ | ./ | ||
make APP=initial | make APP=initial | ||
cp firmware.bin ../ | cp firmware.bin ../ | ||
cd ../release/ | cd ../release/ | ||
- | # ISP Mode | + | # ISP Mode - Power on whilst holding left on Joypad |
+ | # NB. This isn't always CRP DISABLED, could be CRP2 ENABLED | ||
mount | grep "CRP DISABLD" | mount | grep "CRP DISABLD" | ||
# / | # / | ||
Line 122: | Line 138: | ||
# If you want to start completely empty: | # If you want to start completely empty: | ||
# rm -Rf / | # rm -Rf / | ||
- | cp files/*.c0d / | + | cp files/* / |
- | cp files/*.int / | + | |
- | cp files/ | + | |
diskutil unmount "NO NAME" | diskutil unmount "NO NAME" | ||
# press button (joypad middle) | # press button (joypad middle) |
build_mac.1312991860.txt.gz · Last modified: 2011/08/10 17:57 by danbuk