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
*************************************


Reply via email to