Hi Kuma, I'd suggest using the most recent versions of that tutorial -- https://github.com/casper-astro/tutorials_devel/tree/master/roach2/tut_tge -- as Cedric says these use casperfpga. There's always a risk that your ROACH2 tcpborphserver might not be new enough to support this. A new version of the ROAC2 OS (including casperfpga-compliant tcpborphserver) is linked here -- https://github.com/casper-astro/roach2_nfs_uboot . There are also basic config files to enable you to netboot your ROACH2 if that is what you wish to do.
If you really need an old corr-compatible tut2, the 2012 tutorials release should work -- https://github.com/casper-astro/tutorials_devel/tree/v2012/tut2 Cheers Jack On Fri, 5 Aug 2022 at 08:28, Bartholemew Kuma <[email protected]> wrote: > Hi Cedric, > > I checked and I don't have /bin/env. > [image: 85_4.png] > I did not install casperfpga, using corr, so this file should not run > either. > > BW! > Kuma > 在2022年8月5日星期五 UTC+8 15:06:01<cedric.viou> 写道: > >> Hello, >> >> Regarding "bad interpreter", either /bin/env is not present on your >> system (can you type: "ls /bin/env" and get "/bin/env"), or you have a >> typo inthe first line of your script. >> >> You could probably start your script with "python roach2_tut_tge.py" to >> begin with. >> >> Can you post the first lines of your roach2_tut_tge.py script, please? >> >> >> Regarding 'gbeX.linkup', I can't tell for sure, but I believe you could >> have more luck starting the tutorials with the more recent casperfpga lib >> [1]. >> >> Best regards, >> >> Cedric >> >> [1] https://github.com/casper-astro/casperfpga >> >> >> >> Le 05/08/2022 à 08:53, Bartholemew Kuma a écrit : >> >> Hello everyone, >> >> I'm working on the Roach tutorial 2. >> import corr >> fpga=corr.katcp_wrapper.FpgaClient('roach03',7147) >> fpga.prodev('tut2.bof') >> fpga.listdev() >> ````````` >> At this point I plugged in the cable, after a few seconds, input: >> fpga.listdev() >> >> No 'gbeX.linkup' >> >> Another problem, I typing./tu2.py in the tutorial,unable to run this file. >> Is there anyone who can help me? >> [image: 85_2.png] >> [image: 85_1.png] >> Regards, >> Kuma >> >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/25ae010c-97da-4c1d-bbfc-c573184e6babn%40lists.berkeley.edu >> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/25ae010c-97da-4c1d-bbfc-c573184e6babn%40lists.berkeley.edu?utm_medium=email&utm_source=footer> >> . >> >> -- >> Cedric Viou <[email protected]> >> >> Ingénieur de recherche >> >> Station de Radioastronomie de Nançay, >> Observatoire de Paris, PSL Research University, CNRS, Univ. Orléans, OSUC, >> 18330 Nançay, Francehttp://www.obs-nancay.fr/ >> >> phone : +33 (0) 248 51 8609 >> fax : +33 (0) 248 51 8318 >> www.openstreetmap.org/?mlat=47.381848&mlon=2.194415&zoom=18 >> >> -- > 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 view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/3d6383a0-4f9d-478d-8316-e873126993c7n%40lists.berkeley.edu > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/3d6383a0-4f9d-478d-8316-e873126993c7n%40lists.berkeley.edu?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKS%3DPH2eu%3Dig5KWKsJb6WU3WG%2B0PWVZPLs6POzTzqwtTLfg%40mail.gmail.com.

