====Roach 2==== Jack Hickish gave me a Roach2 to try to test. ==Links== * Jack says this is the image to use: acme1:/srv/tftpboot/uboot-roach2/uImage-r2borph3 * [[https://casper.berkeley.edu/wiki/ROACH_NFS_guide]] * [[https://casper.berkeley.edu/wiki/Getting_Started_with_ROACH2]] * [[https://casper.berkeley.edu/wiki/ROACH-2_Revision_2]] * [[https://github.com/F5OEO/rpidatv]] ====The Roach board==== I pluged in USB to the port labeled "FTDI USB". On my MAC "screen /dev/tty.usbserial-FA1302 115200" started the terminal session. U-Boot 2011.06-rc2-00000-gd422dc0-dirty (Nov 08 2012 - 16:04:14) CPU: AMCC PowerPC 440EPx Rev. A at 533.333 MHz (PLB=133 OPB=66 EBC=66) No Security/Kasumi support Bootstrap Option C - Boot ROM Location EBC (16 bits) 32 kB I-Cache 32 kB D-Cache Board: ROACH2 I2C: ready DRAM: 512 MiB Flash: 128 MiB In: serial Out: serial Err: serial CPLD: 2.1 USB: Host(int phy) SN: ROACH2.2 batch=D#6#53 software fixups match MAC: 02:44:01:02:06:35 DTT: 1 is 26 C DTT: 2 is 24 C Net: ppc_4xx_eth0 So, I need to set up TFTP to get this to boot an OS. The Roach2 requires network boot and a TFTP server on that server. I set up the sonata1 server (10.1.49.80, sonata, polaris). apt-get install dnsmasq Then edited the /etc/dnsmasq.conf file wit these values: # Assign the ROACH an IP address manually, based on its MAC dhcp-host=02:44:01:02:06:35,10.1.49.171 # Have a DHCP address range for other things dhcp-range=10.1.49.0,static # Set the location of the ROACH's root filesystem on the NFS server. #dhcp-option=17,10.1.49.80:/srv/boot_roach2/etch dhcp-option=17,10.1.49.80:/srv/boot_roach2/squeeze_root.ppc # Set the boot filename for BOOTP, which is what the ROACH boots over dhcp-boot=uImage-r2borph3 # Enable dnsmasq's built-in TFTP server. Required for BOOTP. enable-tftp # Set the root directory for files availble via FTP. tftp-root=/srv/boot_roach2/boot # Set the DHCP server to authoritative mode (then keep away from other networks!) dhcp-authoritative #Specify which ethernet interface you use to connect to the ROACH (eth0, eth1, eth2 ...) interface=eth0 #May be useful if you have several ethernet interfaces bind-interfaces log-queries log-facility=/var/log/dnsmasq.log server=8.8.8.8 server=8.8.4.4 dhcp-option=option:ntp-server,198.137.202.56,198.137.202.56,74.120.81.219,97.127.86.125 Then to restart dnsmasq: sudo /etc/init.d/dnsmasq restart mount -o remount,rw / Also had to install NTP, as the instructions at [[https://casper.berkeley.edu/wiki/ROACH_NFS_guide]] ====The ADC boards==== Here is the basic hardware description: [[https://casper.berkeley.edu/wiki/ADC2x1000-8]] ====The 2GHz clock==== I was able pr procure a $35 ADF4351_PLL board, from China, and control it with my Raspberry Pi. Here is a picture of the board tuned to 2GHz. This will be used for the clock input of the ADC board. This requires a 10MHz reference signal. The controller program is at [[https://github.com/F5OEO/rpidatv]], called adf4351 To tune it to 2GHz: "./adf4351 2000.0 10000000" {{:img_2847_1_.jpg?600|}}