PSAS/ SoftwareBuild20050708

How to Build the FC Software 2005/07/08

Step 1: Get ready

  1. Get the c and java modules out of cvs (see ?AvionicsCVSAccess).
  2. Or, do a cvs update

Step 2: Build the rocket kernel, uncanny, the simulator, and other c bits

cd c/linux-2.4
make Make everything including the kernel and configure the kernel tree which includes the headers for uncanny
make linux-2.4.27-adeos/.config To configure the kernel tree which includes the headers for uncanny only (may not work, may need to do make)
sudo ln -s pwd/linux-2.4.27-adeos /usr/src/rocket-2.4.27 Make a sym link so that uncanny can find the kernel headers
cd ../uncanny
make Make uncanny
cd ..
make A top level make to get all the sequencer and whatnot bits

> find /usr -name 'libSomeFile.so'

Step 3: Build the java bits

cd ../java
ant jar Build the java stuff
java -jar dist/rocketview.jar run rocketview just to make sure it works
cp src/launchcontrol/main.conf . Copy over main.conf so changes you make aren't committed
ln -s src/launchcontrol/sched.conf . Always look at the latest sched.conf which gets updated by CVS every once in a while
java -jar dist/rocketview.jar lc Run launchcontrol

Step 4: Connect to the rocket

cd c/tools
=./wireless.sh eth where n is your orinoco card interface address (try running /sbin/ifconfig) and where m is some arbitrary large number like 57

Step 5: Copy stuff to the rocket

Step 6: Run stuff on the rocket.

Step 7: Put good code in a more permanent place

... and that's it. Whew!

logs are in /var/log/psas

-- ?TimWelch - 08 Jul 2005