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

