HomeProducts9260 QuickStart Guide9260 QuickStart Guide9260 Getting Started

9260 Getting Started

Setting up the Snapper 9260 Quick Start Kit

  1. Unpack the board, and confirm that the Snapper 9260 module is fully inserted into the SO-DIMM connector on the Quick Start Kit, and pushed down until the metal tabs on the SO-DIMM connector have latched.
  2. Plug a null modem cable into the J3 DB9 connector, and into the host PC.
  3. Plug an ethernet cable into J5, and either into a switch connected to the PC, or via a cross-over ethernet cable directly into the host PC.
  4. Start a serial terminal program, and attach it to the host PC serial port, at 115200 8N1.
  5. Plug in the power jack to a suitable power supply.
  6. Once the Snapper 9260 unit has finished booting, a login prompt will be displayed
    snapper login: 
  7. Login as root (no password will be required).
  8. Type busybox to get an idea of what software is available
root@snapper:~$ busybox
BusyBox v1.10.1 (2009-02-03 09:12:12 NZDT) multi-call binary
Copyright (C) 1998-2007 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.

Usage: busybox [function] [arguments]...
   or: function [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as!

Currently defined functions:
        [, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk,
        basename, brctl, bunzip2, bzcat, bzip2, cal, cat, catv, chattr,
        chgrp, chmod, chown, chpasswd, chpst, chroot, chrt, chvt, cksum,
        clear, cmp, comm, cp, cpio, crond, crontab, cryptpw, cut, date,
        dc, dd, deallocvt, delgroup, deluser, df, dhcprelay, diff, dirname,
        dmesg, dnsd, dos2unix, du, dumpkmap, dumpleases, echo, ed, egrep,
        eject, env, envdir, envuidgid, ether-wake, expand, expr, fakeidentd,
        false, fbset, fdflush, fdformat, fdisk, fetchmail, fgrep, find,
        fold, free, freeramdisk, fsck, fsck.minix, ftpget, ftpput, fuser,
        getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump,
        hostid, hostname, httpd, hwclock, id, ifconfig, ifdown, ifenslave,
        ifup, inetd, init, insmod, install, ip, ipaddr, ipcalc, ipcrm,
        ipcs, iplink, iproute, iprule, iptunnel, kbd_mode, kill, killall,
        killall5, klogd, last, length, less, linux32, linux64, linuxrc,
        ln, loadfont, loadkmap, logger, login, logname, logread, losetup,
        lpd, lpq, lpr, ls, lsattr, lsmod, lzmacat, makedevs, md5sum,
        mdev, mesg, microcom, mkdir, mkfifo, mkfs.minix, mknod, mkswap,
        mktemp, modprobe, more, mount, mountpoint, mt, mv, nameif, nc,
        netstat, nice, nmeter, nohup, nslookup, od, openvt, passwd, patch,
        pgrep, pidof, ping, ping6, pipe_progress, pivot_root, pkill,
        poweroff, printenv, printf, ps, pscan, pwd, raidautorun, rdate,
        readahead, readlink, readprofile, realpath, reboot, renice, reset,
        resize, rm, rmdir, rmmod, route, rpm, rpm2cpio, run-parts, runlevel,
        runsv, runsvdir, rx, script, sed, sendmail, seq, setarch, setconsole,
        setkeycodes, setlogcons, setsid, setuidgid, sh, sha1sum, slattach,
        sleep, softlimit, sort, split, start-stop-daemon, stat, strings,
        stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root,
        sync, sysctl, syslogd, tac, tail, tar, taskset, tcpsvd, tee,
        telnet, telnetd, test, tftp, tftpd, time, top, touch, tr, traceroute,
        true, tty, ttysize, udhcpc, udhcpd, udpsvd, umount, uname, uncompress,
        unexpand, uniq, unix2dos, unlzma, unzip, uptime, usleep, uudecode,
        uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which,
        who, whoami, xargs, yes, zcat, zcip

Building the 'Hello World' software

  • Install the GNU GCC Toolchain
  • Create a new file on the host PC called helloworld.c containing the following
#include <stdio.h>

int main (int argc, char *argv[])
{
    printf ("Hello world\n");
    return 0;
}
  • Compile this program using the following command line
arm-none-linux-gnueabi-gcc -o helloworld helloworld.c -g -Wall -pipe
  • Configure the ethernet device on the Snapper 9260 appropriately for your network
ifconfig eth0 192.168.2.168
  • Download the file from your host PC (assumes you have an FTP server available)
wget ftp://192.168.2.2/path/to/helloworld
  • Execute the Hello World program
root@snapper:~$ ./helloworld
Hello World
root@snapper:~$
 

Applications

rs1

rs_2

rs_3

rs_4