Building the source

  # get the source obtain from 2009/03 trip
  cd /home/s2/gpc
  cp /home/sgir/public_html/software/2009-03-stargrasp_tarballs/gpc.tar .

  # make the host code
  > cd /home/s2/gpc/src
  > make clean
  > configure --prefix=/home/s2/gpc
  > make world

  # make the embedded code
  # The powerpc cross-compiler is located in the /apps directory on the computer.
    (obtained on 2009/03 trip to manoa). Archived in s2/ub

  > cd /home/s2/gpc/src-ppc405/u-boot
  > make mrproper                      # cleans out any old files
  > make                               # makes all the binaries


Booting the system - Assuming you are in the gpc/ directory

1. power. RPC is 128.171.110.204 czlrpc
	s2> telnet czlrpc
	username=lockhart
	password=

2. ucam's serial output
   s2> telnet sgdigi 2001

3. run grasp_reciever on hosts to reciev messages:
   s2>  ~/src/gpc-trunk/bin/grasp_receiver 55515

	OR better, filter using director:
	s2>  ~/src/gpc-trunk/bin/director -i5 -p ~/src/gpc-trunk/bin/grasp_receiver 55515

4. Boot stage 2
   s2> bin/grasp_boot 192.168.0.100 src-ppc405/u-boot/u-boot.srec

5. You can also telnet to sg controller:

   telnet sg 23 
   telnet sg 915

6. logic analyser: vncviewer 128.171.110.240 

QuickStart - host is 'sg'

Boot

 /home/s2/gpc/bin/grasp_boot sg /home/s2/gpc/src-ppc405/u-boot/u-boot.srec

Configure

/home/s2/gpc/bin/grasp_cmd sg clvset \
    ppg4=ecbb:cbb2:bb2e:65d8:5d97:38ba:6622:3154 \
    pg3=3c0f:c0f0:0f03:9024:0240:0406:d993:0124  \
	 pg4=1c1e:4020:0202:5044:0740:0006:6762:08a2 adc=0500 pipeline=3

 /home/s2/gpc/bin/grasp_cmd sg etype o 
 /home/s2/gpc/bin/grasp_cmd sg etime 200 
 /home/s2/gpc/bin/grasp_cmd sg clean 
 /home/s2/gpc/bin/grasp_cmd sg expose 
 /home/s2/gpc/bin/grasp_cmd sg readout dev=0 bpp=16

 OR: telnet sg 915

	clvset ppg4=ecbb:cbb2:bb2e:65d8:5d97:38ba:6622:3154 pg3=3c0f:c0f0:0f03:9024:0240:0406:d993:0124  pg4=1c1e:4020:0202:5044:0740:0006:6762:08a2 adc=0500 pipeline=3

	etype 0 
	etime 200 
	clean 
	expose 
	readout dev=0 bpp=16


Hardware Overview

The "include/config.h" has
	include 
The "include/config.mk" has
	ARCH  = ppc
	CPU   = ppc4xx
	BOARD = daq3u
	VENDOR = xilinx

1st stage Boots with:
 Board ID Register: 0x0002000F
 DAQ3U Chassis b1111 Slot b00
 DRAM:  256 M
 BRAM:   80 k assumed
 ffffbf04 to ffffd97c:  6 KB D-RAM U-Boot Data
 e0008000 to e000b037: 12 KB D-ROM U-Boot Data
 fffec000 to ffffbf04: 63 KB I-ROM U-Boot Text
 fffde600 to ffffe600: 128 KB D-RAM U-Boot Stack

2nd stage Boots with:
 0ffc9d80 to 10000000: 216 KB DDR reserved for expansion
 0ffc6000 to 0ffc9d80: 15 KB D-RAM U-Boot Data
 0ffb6398 to 0ffc5fa8: 63 KB D-ROM U-Boot Data
 0ff80000 to 0ffb6398: 216 KB I-ROM U-Boot Text
 0ff5fff0 to 0ff7fff0: 128 KB D-RAM U-Boot Stack
 00004000 to 0ff5fff0: 261487 KB malloc (DDR)

Startup