Connecting a FireFly node to a Gumstix board

First, cut the RX trace's connection to the level shifter chip. The level shifter chip is normally pulling the RX line and this needs to be released so that the FireFly board can override it.

Image(cut.jpg,400)

Next wire up the power and serial lines as shown below:

Image(gumstix-bottom.jpg,400)

Image(gumstix-top.jpg,400)

Finally, you might want to remove the serial console from ttyS0 since now the FireFly board is connected to it. Be sure you have an alternative way of communicating. For example set it to communicate using ttyS1 or have a network connection working. To disable the console on ttyS0, edit /etc/inittab and comment out:

::respawn:/sbin/getty -L ttyS0 115200 vt100

Sensor Andrew Gateway Testbed Setup Notes

1) gumstix build r1161 2) Add the following files:
  • avrdude
  • avrdude.conf
  • dump.sh
  • eeprom-config
  • ff-set-fuses
  • prg-node.sh
  • slipstream_server
3) Add Sensor Andrew User:
  • login as root
    adduser sauser
    
  • add permission for serial port etc (this is a total hack)
    vi /etc/passwd
    change:
    sauser:x:1001:1001:Linux User~,:/home/sauser:/bin/sh
    to
    sauser:x:1001:0:Linux User~,:/home/sauser:/bin/sh
    
4) remove serial console
  • edit /etc/inittab
  • comment out
    ::respawn:/sbin/getty -L ttyS0 115200 vt100
    
5) setup ssh
  • make .ssh dir on gumstix node
  • On desktop server run (if key doesn't already exist)
    ssh-keygen -t dsa -f .ssh/id_dsa
    // generates id_dsa and id_dsa.pub
    scp id_dsa.pub user@remote:~/.ssh/id_dsa.pub
    // copy the file to the .ssh dir of the gumstix
    
  • Set it up on the gumstix
    local> ssh user@remote
    remote> cd .ssh
    remote> cat id_dsa.pub >> authorized_keys
    remote> chmod 640 authorized_keys
    remote> rm id_dsa.pub
    remote> exit
    

cut.jpg - Cut RX trace on gumstix Console board (209.7 kB) Anthony Rowe, 10/19/2008 12:47 am

gumstix-bottom.jpg - Bottom View of Gumstix (418.5 kB) Anthony Rowe, 10/19/2008 12:47 am

gumstix-top.jpg - Top View of Gumstix (266.3 kB) Anthony Rowe, 10/19/2008 12:47 am