Marc, We get the same error for the bof files shipped with the roach board.
On Mon, Jun 24, 2013 at 8:57 PM, Marc Welz <[email protected]> wrote: > Bad magic in file bof header ? That looks like a corrupt bof file ... > Is it really a bof file and not a bin or bit file ? > > On Mon, Jun 24, 2013 at 1:21 PM, Sarfraz Qureshi > <[email protected]> wrote: > > Hi Shanly, > > Thanks for the reply. We have tried doing this and seem to be getting the > > following error: > > > > #log info 187063 raw > > attempting\_to_\_program\_flash_comic_2013_Jun_21_0733.bof > > #log error 187069 raw bad\_magic\_in\_file\_bof\_header > > !progdev fail > > > > Also from within roach, on trying ./boffile: we get: cannot execute > binary > > file > > (please refer to > > http://www.mail-archive.com/[email protected]/msg04193.html). > > > > > > > > On Mon, Jun 24, 2013 at 6:05 PM, Shanly Rajan <[email protected]> wrote: > >> > >> Sarfraz > >> > >> You need to have tcpborphserver3 which is a server designed to control > >> ROACH2's. tcpborphserver3 requires a kernel with memory mapped device > driver > >> inorder to handle FPGA transactions. > >> > >> If you have successfully managed to netboot ROACH2, you should be able > to > >> now use katcp interface to talk to the FPGA. The supported list of KATCP > >> commands can be viewed here: > >> tcpborphserver3/README > >> > >> Bof files should be programmed by connecting to the roach2 using telnet > >> and running progdev: > >> > >> telnet roach-ip 7147 > >> ?progdev boffile > >> > >> I am in the process of completing a wikipage on "getting started with > >> ROACH2". You can check it out as soon as its finished. > >> > >> Regards > >> Shanly Rajan > >> > >> > >> On Mon, Jun 24, 2013 at 11:38 AM, Sarfraz Qureshi > >> <[email protected]> wrote: > >>> > >>> Hi Everyone, > >>> We are trying to move on to using memory maped kernel for our roach2, > >>> following the discussion on this > >>> thread: > http://www.mail-archive.com/[email protected]/msg04167.html > >>> (since we are also facing the same problem when executing bof files) > >>> We have downloaded the source files from: > >>> https://github.com/shanlyrajan/mmap_driver_devel > >>> > >>> Can someone please help us with the next step? Currently, we are > >>> netbooting the roach2 using the NFS filesystem. > >>> > >>> Regards, > >>> Sarfraz Qureshi > >> > >> > >> > >> > >> -- > >> Shanly Rajan > >> > >> SKA-SA > >> DBE Team > >> 021 506 7362 (O) > >> 072 783 2022 (M) > > > > >

