ARM
Jump to navigation
Jump to search
Compiling and Running Your First Program
- Contact syscom to have yourself added to the board group.
- Log into corn-syrup, it has the necessary toolchain for building programs to run on the TS-7800.
- Clone the bwio git repository from csclub.uwaterloo.ca:/srv/git/arm/ts7800-bwio.git:
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