I just dumped this info on the wiki on the ROACH 2 page since it seems very useful and didn't appear to be there already.
Glenn On Wed, Feb 13, 2013 at 2:21 PM, Alec Rust <alec.r...@ska.ac.za> wrote: > Hi John. Grab the latest versions from > https://github.com/ska-sa/roach2_nfs_uboot/. > > If you netboot: copy tcpborphserver3 to nfs_root_directory/usr/local/sbin. > Tcpbporphserver3 will load automatically when the roach boots. > If you soloboot (boot the root file system stored in flash), which is the > easiest please follow these instructions: > You need to update to the latest romfs which includes the new > tcpborphserver3. To update: > > ROACH2 Test machine set-up instructions: > https://docs.google.com/a/ska.ac.za/document/d/1tqw4C6uZ6EULl1OykTFL_vQTnK52UBr0aYqTg44E5wg/edit) > > 1. Set up a tftp and dhcp server (see the tftp section in the test machine > setup instructions). > 2. Create a symlink or rename the romfs image downloaded from github to > romfs e.g. "ln -s roach2-root-readdebug-2013-02-12.romfs romfs" in the tftp > directory. > 3. Connect to the roach via USB using a terminal emulator: In linux we use > minicom, please follow the minicom setup instructions in the document. > 4. Switch the roach on or reset and interrupt the boot process > 5. At the uboot prompt type: run tftproot > 6. This takes a long time! About 5 minutes. > 7. type "reset" and let the board boot linux > 8. Login using root (password is blank) > 9. rm /usr/.keep > 10. reboot -f > > If you do not which to run a dhcp and tftp server you can use "run newroot". > This macro starts a y-modem receiver, the file can now be sent using minicom > via y-modem protocol, but this takes a long time and you really need a dhcp > server unless you are going to set the roach ip address manually. You can > set the IP address by editing /etc/network/interfaces > > To measure temperatures, voltages and currents: > All sensors are available using kcp commands. You can telnet to the board to > run kcp commands (telnet board_ip 7147) or if you have access to the console > you can run the commands using the program kcpcmd ("kcpcmd sensor-list" note > that there is no ?) > ?sensor-list - lists all the sensors > ?sensor-value - lists all the current values > ?sensor-sampling sensor_name event - this will give updates when the sensor > changes. > > If anything is unclear please don't hesitate to ask. > > Regards > Alec > > On Wed, Feb 13, 2013 at 8:15 PM, Jason Castro <jcas...@nrao.edu> wrote: >> >> I recently got a ROACH2 from digicom and I'm trying to upload a bof file. >> My tcpborphserver does not support the KATCP command "upload_bof". I do >> have the command "upload" which will upload and run a bof file but when I >> read a register something crashes. According to the previous posts, I >> believe I need to update to tcpborphserver3. Can someone give me an idea of >> how to do this? Do I have to find the source then compile and install? >> Does someone have a how-to? >> >> Thanks, >> >> Jason Castro >> NRAO >> >> >> On 2/12/2013 3:14 PM, casper-requ...@lists.berkeley.edu wrote: >>> >>> Send casper mailing list submissions to >>> casper@lists.berkeley.edu >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> >>> https://calmail.berkeley.edu/manage/list/listinfo/casper@lists.berkeley.edu >>> >>> or, via email, send a message with subject or body 'help' to >>> casper-requ...@lists.berkeley.edu >>> >>> You can reach the person managing the list at >>> casper-ow...@lists.berkeley.edu >>> >>> When replying, please edit your Subject line so it is more specific >>> than "Re: Contents of casper digest..." >>> >>> >>> Today's Topics: >>> >>> 1. Re: Roach2 configuration and setup (Paul Prozesky) >>> 2. Re: Roach2 configuration and setup (Marc Welz) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Tue, 12 Feb 2013 15:26:11 +0200 >>> From: Paul Prozesky <paul.proze...@gmail.com> >>> Subject: Re: [casper] Roach2 configuration and setup >>> To: LIST CASPER <casper@lists.berkeley.edu> >>> Message-ID: >>> >>> <CAASPtuoUXfPBh==XarFqvSkS5d=+oymrdce3e9ircmy67jt...@mail.gmail.com> >>> Content-Type: text/plain; charset="iso-8859-1" >>> >>> Afternoon Guy >>> >>> Regarding question 3... if you're running tcpborphserver3 you can use the >>> upload_bof method in the FpgaClient class in corr to upload a bof file to >>> your ROACH. I just checked and it took about 12s to copy a boffile using >>> this. Once it's uploaded, though, it will skip uploading it unless you >>> force it to do so. Use progdev to program the device as usual. >>> >>> Regards >>> Paul >>> >>> >>> On 12 February 2013 00:32, Guy kenfack <guy.kenf...@gmail.com> wrote: >>> >>>> Hello, >>>> we received 2 roach2 boards from digicom (20th dec 2012).we managed to >>>> configure our minicom with centos6.2 final, and tty usb2. >>>> I've several questions about the advised version for the uboot and the >>>> tcborphserver3 >>>> u-boot versionof my boards: >>>> u-boot 2011.06-rc2-00000-gd422dc0-dirty(Nov 8 2012 - :16:04:14) >>>> #SN : Roach2.2 batch = D#6#10 >>>> #kernel : Linux roach 02 06 0A 3.4.0 - rc3+ >>>> Tcpborphserver3 >>>> 1/ >>>> a- how can I find the version of my romfs and also how can I find the >>>> version of my Tcpborphserver3 >>>> b- which version for the uboot and the tcborphserver3 should I use, >>>> should >>>> I keep the current version above ? >>>> where is it located? >>>> >>>> 2/ I heard that the configuration with the SD card is not yet working ? >>>> is it still the case ? >>>> >>>> 3/I want to load my boffiles, can I use ssh ? or should Iuse the telnet >>>> to tranfer my files ? >>>> How should I do If I want to keep my boffiles alive? I used to store >>>> them >>>> on the SD card, even when shutting down my roach board. Do I need to >>>> re-load or to copy my boffiles after switching on my roach2 boards? >>>> I read somewhere that it could be possible to upload from the python >>>> ?(I've never done it) >>>> How long does it take to the boffile to be copied ? before launching the >>>> fpgaprogdev() ? >>>> >>>> Thank you for your help, >>>> >>>> >>>> >>> -------------- next part -------------- >>> An HTML attachment scrubbed and removed. >>> HTML attachments are only available in MIME digests. >>> >>> ------------------------------ >>> >>> Message: 2 >>> Date: Tue, 12 Feb 2013 15:31:30 +0000 >>> From: Marc Welz <m...@ska.ac.za> >>> Subject: Re: [casper] Roach2 configuration and setup >>> To: Guy kenfack <guy.kenf...@gmail.com> >>> Cc: casper@lists.berkeley.edu >>> Message-ID: >>> >>> <cagrhwasfwdi5haxzo8h4jlsvq7hmf5ow_x7jkyafodzzilw...@mail.gmail.com> >>> Content-Type: text/plain; charset=ISO-8859-1 >>> >>> Hello >>> >>>> 1/ >>>> a- how can I find the version of my romfs and also how can I find the >>>> version of my Tcpborphserver3 >>> >>> if you telnet to port 7147, there should be a version string >>> for tcpborphserver3. The romfs contains a timestamp in its filesystem >>> label, but since it such a small system, you can pretty much use the >>> tcpborphserver3 version string as a proxy for it >>> >>>> b- which version for the uboot and the tcborphserver3 should I use, >>>> should I >>>> keep the current version above ? >>>> where is it located? >>> >>> The source is in git at github.com/ska-sa >>> >>>> 2/ I heard that the configuration with the SD card is not yet working ? >>>> is >>>> it still the case ? >>> >>> Yes. A roach2 has sufficient onboard flash to keep a number of >>> (optionally compressed) bof files there >>> without having to use external storage, so we not allocated anybody to >>> work on the MMC logic. Also note that MMC cards can be "interesting", see >>> http://www.bunniestudios.com/blog/?p=2297 >>> >>> So we recommend you soloboot, ie boot off the onboard flash. >>> >>>> 3/I want to load my boffiles, can I use ssh ? or should Iuse the telnet >>>> to >>>> tranfer my files ? >>>> How should I do If I want to keep my boffiles alive? I used to store >>>> them on >>>> the SD card, even when shutting down my roach board. Do I need to >>>> re-load or >>>> to copy my boffiles after switching on my roach2 boards? >>> >>> The content of /usr on the onboard flash is preserved, so the bof files >>> in >>> /usr/bof are retained. >>> >>>> I read somewhere that it could be possible to upload from the python >>>> ?(I've >>>> never done it) >>>> How long does it take to the boffile to be copied ? before launching the >>>> fpgaprogdev() ? >>> >>> I think Paul answered that (but note that you will need a pretty recent >>> version >>> of tcpborphserver3 to use the uploadbof request). >>> >>> If you are concerned about speed, you can transfer a bof file >>> beforehand (say using wget or ftpget or an nfs mountpoint) - then >>> the progdev is pretty quick, and you can then even arrange that the >>> file is programmed at startup (by adding a progdev command to >>> etc/tcpborphserver3.init) >>> >>> regards >>> >>> marc >>> >>> >>> >>> End of casper Digest, Vol 63, Issue 9 >>> ************************************* >> >> >> >