 |
Squawk Build for SPOT
THESE DIRECTIONS ARE NOT COMPLETE OR KNOWN TO WORK. CRUCIAL CODE MAY BE MISSING
This is REALLY sparse info, but there should be a trail of bread crumbs here to follow. It would be very helpful to note errors and suggestion improvements
Missing Pieces
These parts don't seem to be in public svn yet:
- squawk-builder-plugins (adds cross-compiler support for arm and sets up build properties)
We also need directions to get a proper arm toolchain. We are using unmodified gcc version 4.2.1 and newlib 1.15.0.
Installing
a. First, you'll need the tools to build Squawk on your development platform (Windows, Solaris, Mac, etc.) You should be able to do a full desktop build of Squawk before going further. See BuildingSquawk for instructions.
Preparing
- Get SPOT code by entering https://spots-core-libraries.dev.java.net/svn/spots-core-libraries/trunk in the URL box in the SVN window that appears when right-clicking on a folder that you want to be squawk SVN root.
- There are a lot of directories here. Some basic ones for an ARM port are:
- arm-bootloader (basic bootloader for ARM9)
- arm-library (c code for interrupt handling, SPI, etc. that gets linked into the Squawk executable)
Building/Running
kind of premature to talk about running
Hints For Building New ARM Ports
Source code that mentions "9200" is ARM9 specific, while "eb40a" refers to our earlier ARM7 version of SPOT. Large portions of the code in spots-core-libraries as well as other code not yet on svn deals with the Sun SPOT device or SDK itself, such as the radio, or building the SDK and docs, or security. This can be ignored for a basic ARM port.
Forum Resources
Sunspot Forum Thread
-- Main.derek_white - 09 Jul 2008
|