export PATH=$HOME/arm-cs-tools/bin:$PATH
arm-none-eabi-ld -nostartfiles -T loadable.ld -o mp0ng.elf mp0ng.o -lc -L/opt/local/arm-none-eabi/lib/ arm-none-eabi-ld: mp0ng.elf section `.text' will not fit in region `sram' arm-none-eabi-ld: region `sram' overflowed by 148 bytes
sudo port sync
arm-none-eabi-gcc
: sudo port install arm-none-eabi-gcc
Bring the r0ket into ISP-Mode: e.g. by using Method 1 (up to 30 seconds, but works always)
Mac OS X will show a “CRP DISABLD” USB device.
cp firmware.bin /Volumes/CRP\ DISABLD/
Note: Copying the firmware.bin over to the device in the Mac OS X Finder does not work.
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/
See main Build article (scoll to the bottom), or:
Bring the r0ket into ISP-Mode: e.g. by using Method 1 (up to 30 seconds, but works always)
If you want to start from scratch:
rm /Volumes/CRP2\ ENABLD/*
Install the “initial” formatting firmware:
cd firmware make APP=initial cp firmware.bin /Volumes/CRP\ DISABLD/firmware.bin
The Data Flash will be formatted. Now the r0ket will present a flash file system called “NO NAME” over USB. Install the l0dables:
cd l0dable make cp *.c0d /Volumes/NO\ NAME/ cp *.int /Volumes/NO\ NAME/ cp *.nik /Volumes/NO\ NAME/ cd ..
Now install the Camp firmware (“final”):
make APP=final cp firmware.bin /Volumes/CRP2\ ENABLD/firmware.bin
MacOSX, Lion, Up-to-date MacPorts - DanBUK
sudo port sync sudo port install arm-none-eabi-gcc git clone git://github.com/r0ket/r0ket.git cd r0ket git checkout c583ddc7e3b6ecc2cdb94fe0a0474d52bcbb220b cd firmware cp SECRETS SECRETS.release # Edit SECRETS.release ./release-all make APP=initial cp firmware.bin ../release/initial.bin cd ../release/ # ISP Mode - Power on whilst holding left on Joypad # NB. This isn't always CRP DISABLED, could be CRP2 ENABLED mount | grep "CRP DISABLD" # /dev/disk3 32Ki 32Ki 0Bi 100% /Volumes/CRP DISABLD cp initial.bin /Volumes/CRP\ DISABLD/firmware.bin diskutil unmount "CRP DISABLD" # power off # power on mount | grep "NO NAME" # /dev/disk3 on /Volumes/NO NAME (msdos, local, nodev, nosuid, noowners) # If you want to start completely empty: # rm -Rf /Volumes/NO\ NAME/* cp files/* /Volumes/NO\ NAME/ diskutil unmount "NO NAME" # press button (joypad middle) mount | grep "CRP2 ENABLD" # /dev/disk3 on /Volumes/CRP2 ENABLD (msdos, local, nodev, nosuid, noowners) cp final.bin /Volumes/CRP2\ ENABLD/firmware.bin diskutil eject "CRP2 ENABLD" # power off # power on # Enjoy!