On Thu, Jun 13, 2013 at 12:13 AM, David MacMahon <dav...@astro.berkeley.edu>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. I would strongly encourage you to try the new approach of using a memory mapped kernel module for FPGA access. If you still want to use a BORPH enabled kernel for ROACH2, use the following link: https://github.com/ska-sa/borph_linux_devel > 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 > > > -- Shanly Rajan SKA-SA DBE Team 021 506 7362 (O) 072 783 2022 (M)