Hi all, there is a new rom file system (for soloboot) and tcpborphserver3
(copy to nfsroot/usr/local/sbin) for nfsboot in github (
https://github.com/ska-sa/roach2_nfs_uboot/)

There is an email detailing how to upload a new romfs but it's fairly
straight forward, set up a tftp server, use a terminal emulator like
minicom and boot into uboot. Then type "run tftproot". You can also use
"run newroot" and then y-modem the file across, so no need for tftp but
this takes a very long time!

tcpborphserver3 now supports borph upload. There are 2 ways of using this
command:
1. As Paul explained: you can use the upload_bof method in the FpgaClient
class in corr to upload a bof file to your ROACH. 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.
2. Use the katcp command "?uploadbof port filename".  The boffile can now
be sent to that port using socat or netcat or similiar.

Regards
Alec

On Tue, Feb 12, 2013 at 5:31 PM, Marc Welz <m...@ska.ac.za> wrote:

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

Reply via email to