User Tools

Site Tools


roach2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
roach2 [2018/02/08 22:31] jrsetiroach2 [2023/10/28 18:36] (current) – external edit 127.0.0.1
Line 3: Line 3:
 Jack Hickish gave me a Roach2 to try to test. Jack Hickish gave me a Roach2 to try to test.
  
-===Links===+==Links==
  
   * Jack says this is the image to use: acme1:/srv/tftpboot/uboot-roach2/uImage-r2borph3   * 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/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.  I pluged in USB to the port labeled "FTDI USB". On my MAC "screen /dev/tty.usbserial-FA1302 115200" started the terminal session. 
Line 37: Line 42:
   apt-get install dnsmasq   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|}} 
roach2.1518129084.txt.gz · Last modified: 2023/10/28 18:36 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki