Hi Zhang,

Did you look into your tcpbophserver versions as described at the end
of https://www.mail-archive.com/[email protected]/msg07428.html
?

That ROMFS you're installing from is 6 years old, and probably is no
longer compatible with casperfpga.

In any case, I've just uploaded a new filesystem which I tried out and
should work fine with casperfpga --
https://github.com/casper-astro/roach2_nfs_uboot . Let me know if you
have any issues with it.

Cheers
Jack

On Wed, 16 Jan 2019 at 05:28, zhang laiyu <[email protected]> wrote:
>
> Dear CASPER colleagues,
>
>         I can  uploading .bof file by telnet.but can not   upload  .pfg  file 
> to ROACH2 .  I had checked the maillists and found someone meet the same 
> problem like me before.He solved it by update file system and kernel. I 
> download  romfs and kernel from  https://github.com/ska-sa/roach2_nfs_uboot . 
> And undate romfs and kernel  as the mail guide ,but not solve it. The server 
> can connected with ROACH2, and when do  
> fpga.upload_to_ram_and_program(xxx.fpg) return a RuntimeError: 192.168.40.77: 
> no programming informs yet. Odd?
>
>         This was test using soloboot:
>
> >>> import casperfpga
> >>> fpga = casperfpga.CasperFpga('192.168.40.77')
> >>> fpga.is_connected()
> True
> >>> fpga.upload_to_ram_and_program('/home/zly/Documents/tut2/roach2_tut_tge.fpg')
> ERROR:casperfpga.transport_katcp:192.168.40.77: no programming informs yet. 
> Odd?
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "casperfpga/casperfpga.py", line 202, in upload_to_ram_and_program
>     filename, port, timeout, wait_complete)
>   File "casperfpga/transport_katcp.py", line 489, in upload_to_ram_and_program
>     'Odd?' % self.host)
> RuntimeError: 192.168.40.77: no programming informs yet. Odd?
>
> >>>
>
>     and when I do the test using netboot.The server can not connected the 
> ROACH2.  List:
>
>    >>> import casperfpga
> >>> fpga = casperfpga.CasperFpga('192.168.40.77')
> ERROR:casperfpga.transport_katcp:Protocol Version Error: Inform received from 
> server indicating a katcp protocol revision inconsistent with the previously 
> detected version. Disconnecting in disgust. Previous version: '4.0'. Inform 
> received: '#version-connect katcp-protocol 4.9-M'
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "casperfpga/casperfpga.py", line 132, in __init__
>     self.transport = transport_class(**kwargs)
>   File "casperfpga/transport_katcp.py", line 95, in __init__
>     self.connect()
>   File "casperfpga/transport_katcp.py", line 129, in connect
>     if self.ping():
>   File "casperfpga/transport_katcp.py", line 234, in ping
>     request_timeout=self._timeout)
>   File "casperfpga/transport_katcp.py", line 177, in katcprequest
>     (request.name, self.host, request, reply))
> casperfpga.transport_katcp.KatcpRequestFail: Request watchdog on host 
> 192.168.40.77 failed.
> Request: ?watchdog
> Reply: !watchdog fail Connection\_closed\_before\_reply\_was\_received
>
>
>      I download the casperfpga library from 
> https://github.com/casper-astro/casperfpga.git.  katcp version is 0.6.2 ,
>
>
>
>      what's wrong with my computer or ROACH2 board? how to solved it ?
>
>      Thanks!
>
>
>
>
>
>
> Cheers!
>
> >------------------------------------------------------------------------
> ZHANG Laiyu
> Phone(China)       010-88236415
> Cellphone(China)   13681385567
> E-mail:            [email protected]
> Address:           19B Yuquan Road,Shijingshan District,Beijing,China
> Department:        Center for Particle Astrophysics
> Office:            Astrophysics Building 205
>
> Institute of High Energy Physics, CAS
> web: http://www.ihep.cas.cn
>
> >------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "[email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to