FWIW, if you're using corr, you can just use the
myfpga.upload_and_program_bof('myboffile',60000) function to do this all
automatically, remotely, via ethernet. This lets you upload bitstreams from
your local machine to the ROACH2 (takes a second or two for a .bof.gz file on a
1Gbps connection), and then program the FPGA. This is a volatile call: if you
reset the ROACH board, the FPGA will be de-programed. The bitstream is not
stored on the ROACH board's flash, but only in DRAM.
Jason
On 12 Nov 2014, at 15:19, 牛晨辉 <[email protected]> wrote:
> Hi Marc,
> The mount command is very useful!
> And finally I got the bof file transported!
> /usr/bof # ls
> roach2_fengine_2013_Oct_14_1756.bof tutorial_1_wufq_2014_Jul_09_1120.bof
> Thanks for your Help !
> Peter
>
>
>
>
> 在 2014-11-12 21:37:28,"Marc Welz" <[email protected]> 写道:
>
>
> On Wed, Nov 12, 2014 at 1:19 PM, 牛晨辉 <[email protected]> wrote:
>
> Could you please tell me in details how to transfer files via nfs if I want
> connect Roach via the serial cable? I log in roach board use the minicom,well
> ,the roach does not have a ssh command.So I can't mount the server from Roach
> board to scp the bof file.
>
> on the roach, when logged into the serial console (or via the network, if you
> have started telnetd)
>
> # mount -t nfs -o nolock ip.of.your.server:/path/which/is/exported /mnt
> # cp /mnt/somebofile /bof
>
> That requires setting up NFS on a (unix/linux) server on the same network,
> which involves doing things with /etc/exports on the server - there should be
> examples online for that
>
> regards
>
> marc
>
>
>
>
>
> At 2014-11-12 17:18:50, "Marc Welz" <[email protected]> wrote:
> Hi
>
> There should be another command (?saveremote, ?upload or a similar name,
> depending on romfs revision) which should store things locally.
> Alternatively, you can
> connect via the serial cable, and then transfer files via nfs (mount an nfs
> server from the
> roach, use the -o nolock option) or using the busybox transfer tools (ftpget,
> etc) to /bof
>
> regards
>
> marc
>
> PS: Your mail is really quite strange - base64 encoded text ?
>
>
> On Tue, Nov 11, 2014 at 12:27 AM, 牛晨辉 <[email protected]> wrote:
> hi Marc,
> The boffile can send from netboot,but it will be diapeared when restrat the
> roach in soloboot.the roach only have a rom to save file,not a hard memory,so
> we need transfer the file each time as the roach start .
> Thanks for your help!
> Best Regards!
> peter
> 发自 Android 网易邮箱
>
>
> 在2014年11月10日 15:57 ,Marc Welz写道:
>
>
>
>
> On Fri, Nov 7, 2014 at 6:11 PM, 牛晨辉 <[email protected]> wrote:
>
> hi, all,
> I try a soloboot to install a roavh2.What should I do to transfer bof file
> from PC to Roach board?the upload command in telnet may a little slowly, it
> seems never completed,so i close it first.the second time i upload through
> telnet,it shows the port is used.
>
> Have you actually sent the bof file to the other port (using netcat or
> something similar ?). You
> need to close that port once you have finished sending the file
>
> regards
>
> marc
>
>
>
>
>
>
>
>