The making of hello-world didn't go very well at all... Apparently I was missing libmpfr.so.1 which provides a library for multiple-precision floating-point computation with correct rounding which is efficient with well-defined semantics. I just had no idea where to find it. I checked the apt-file database with no luck. I Googled for it with no luck. I am currently waiting for an answer to my question on the mailing list.

Compiling Our Own Binaries

David Mills recommended the use of summon-arm-toolchain for working with ARM chips. The project provides a script that is run. I then took my office cup to the staff room, and went to fill it with tea!

Steal the Binaries from Contiki Instant 2.6

The quickest way to avoid this was to simply steal the CodeSourcery binaries from ContikiInstant2.6. They are offered here in tar-bzip2 format ContikiInstant CodeSourcery Files

From these files, put them somewhere where you can find them. My computer's previous failed attempts from the repository installs had put the files in /usr/arm so I decided to follow trend. I extracted the zip file and then moved the Sourcery_G++_Lite folder to become /usr/arm/none-eabi/. I then created symlinks from here to /usr/local/bin/ to the following files:

At this point, I was able to compile Contiki to a binary, but unable to flash the device. The computer was able to see the development board, but it wasn't presenting a USB Serial Port as the Contiki flasher tool expected.

Connecting?

While fiddling with the device to try and find out where to flash, I noticed that the device spawned /dev/ttyACM0. To this end, I connected to it with serialdump-linux -b115200 /dev/ttyACM0 and got the following my pressing buttons...

Dirty Attempt at Flashing

So I read through the make files to see what's going on. I run throught he flashing sequence and got the .bin file from objcopy (from the .mb851 file). From here, it's just a matter of actually flashing the file...