Hi Suraj, We are also facing the same problem with the execution of the bof files on our roach2. We tried to install katcp 0.3 (downgrading from 0.5) version as you did to see if it helps, however we still get the same error. Could you please elaborate more on the usage of telnet for programming the fpga? With telnet we issue the following command in our terminal: $telnet roach2 7147 after which we can see the fpga interface, we could see katcp working by issuing normal commands such as ?listbof or ?help now for programming fpga we use: ?progdev <name-of-bof>; Still we get the same error: "cannot execute binary file"; Are we doing it correctly? Also, can you program fpga just with katcp without telnet? If so, can you please help us?
Regards, Sarfraz Qureshi, IIT Indore On Sun, Jun 23, 2013 at 6:50 PM, Sarfraz Qureshi < [email protected]> wrote: > Hi Suraj, > This is Sarfraz from IIT Indore, > We are also facing the same problem with the execution of the bof files on > our roach2. We tried to install katcp 0.3 (downgrade from 0.5) version as > you did to see if it helps, however we still get the same error. Could you > please elaborate more on the usage of telnet for programming the fpga? With > telnet we issue the following command in our terminal: $telnet roach2 7147 > after which we can see the fpga interface, we could see katcp working by > issuing normal commands such as ?listbof or ?help > now for programming fpga we use: ?progdev <name-of-bof>; Still we get the > same error: "cannot execute binary file"; Are we doing it correctly? Also, > can you program fpga just with katcp without telnet? If so, can you please > help us? > > Regards, > Sarfraz Qureshi, > IIT Indore > > > > On Thu, Jun 13, 2013 at 8:15 AM, Suraj Gowda <[email protected]>wrote: > >> Hi Dave, >> Thanks for the info, I'm able to program the roach2 from both telnet and >> katcp. We did manage to waste some time on the katcp python version issue ( >> http://www.mail-archive.com/[email protected]/msg04067.html) as >> well. >> >> Does anyone know if there are there plans for a ROACH2 setup wiki page? >> Suraj >> >> >> On Wed, Jun 12, 2013 at 3:13 PM, David MacMahon < >> [email protected]> wrote: >> >>> Hi, Suraj, >>> >>> On Jun 12, 2013, at 2:59 PM, Suraj Gowda wrote: >>> >>> > Does anyone know what causes the error 'cannot execute binary file' >>> when trying to execute a bof file from the powerpc shell? This error >>> occurs with all bof files, including the test designs from github >>> >>> The bof files are not executable on ROACH2. Executable bof files >>> requires a BORPH enabled Linux kernel. ROACH2 uses a memory mapped kernel >>> module for talking to the FPGA rather than BORPH. It might have been less >>> confusing if we gave them an extension other than ".bof" even though they >>> do utilize a similar file format (ELF-based) as ROACH1 bof files. >>> >>> I think you must program the FPGA via tcpborphserver3. I am not aware >>> of a command line "progdev" utility that runs on the ROACH2's PPC without >>> using tcpborphserver3 (though it could be nice to have). I think the >>> mailing list archive will have some discussions on how to do this using >>> telnet or netcat or Python or Ruby. >>> >>> Hope this helps, >>> Dave >>> >>> >> >

