ARM

From CSCWiki
Revision as of 23:20, 13 March 2011 by A2brenna (talk | contribs) (Initial page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Compiling and Running Your First Program

git clone csclub.uwaterloo.ca:/srv/git/arm/ts7800-bwio.git
  • Build bwio.:
make CC=arm-linux-gnueabi-gcc
  • Log in to caffeine and create a directory for yourself in /srv/tftp/ARM.:
mkdir /srv/tftp/ARM/$USER
  • Copy bin/iotest from your clone of the bwio git repository to your newly created directory in

caffeine:/srv/tftp/ARM.:

scp bin/iotest caffeine:/srv/tftp/ARM/$USER
  • Run become_board to attach to the TS-7800 screen session.
become_board
  • Reboot the board by switching to screen window 1 and pressing Enter.
  • Switch to screen window 0. At the TS-8000> boot prompt enter:
tftp ARM/$USER/iotest
bootelf