That depends where the image lives.  If it is on an NFS mounted disk
somewhere, you have to install the new kernel and file system there.  If on
the flash, you have to install it on the flash.

THe latest stuff ought to be here (Marc is it so?)
https://casper.berkeley.edu/wiki/LatestVersions


To put it on NFS, here's some info...
https://casper.berkeley.edu/wiki/ROACH_NFS_guide

To put it on flash, try this:
https://casper.berkeley.edu/wiki/ROACH_kernel_uboot_update

It's been a while since I have done this, so...

Good luck!

You should browse the mailing list archive for more on how to do this.

John


On Fri, Aug 10, 2018 at 9:12 AM, Raimondo Concu <raimondo.co...@inaf.it>
wrote:

> Hi John,
>
> How do I update it?
>
> Thanks
> Raimondo
>
>
> Il Ven 10 Ago 2018, 17:48 John Ford <jmfor...@gmail.com> ha scritto:
>
>> Hi Raimondo,
>>
>> We saw this years ago at NRAO.  Marc is right about the solution.
>>
>> John
>>
>> On Fri, Aug 10, 2018 at 7:20 AM, Marc Welz <m...@ska.ac.za> wrote:
>>
>>> As per previous email: Either start it again, or upgrade it
>>>
>>> regards
>>>
>>> marc
>>>
>>>
>>> On Fri, Aug 10, 2018 at 12:45 PM, Concu, Raimondo
>>> <raimondo.co...@inaf.it> wrote:
>>> > Hi Mark,
>>> >
>>> > Hi everyone,
>>> >
>>> > maybe you're right
>>> >
>>> > when the problem happens
>>> >
>>> > and i restart tcpborphserver3, the problem disappears.
>>> >
>>> > and this is the output:
>>> >
>>> > root@192:~# ps -ALL | grep tcp
>>> >   820   820 ?        00:00:53 tcpborphserver3
>>> > root@192:~# kill 820
>>> > root@192:~#
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> > roach VMA close
>>> > roach release mem called
>>> >
>>> >
>>> >
>>> > Any suggestions?
>>> >
>>> > Thanks in advance
>>> > Raimondo
>>> >
>>> >
>>> > 2018-08-10 13:46 GMT+02:00 Marc Welz <m...@ska.ac.za>:
>>> >>
>>> >> Hello
>>> >>
>>> >>
>>> >> The "raw unable\_to\_map\_file\_/dev/roach/mem:\_Cannot\_allocate\_
>>> memory"
>>> >> is the interesting line. I suspect you are running a slightly older
>>> >> version of the filesystem or romfs which had a bug where it didn't
>>> >> unmap the previous image, and so suffered address space exhaustion
>>> >> after a dozen or so programs. The quick way to solve this is to reboot
>>> >> occasionally, the long term solution is to program a newer version of
>>> >> the romfs (in particular tcpborphserver)
>>> >>
>>> >> regards
>>> >>
>>> >> marc
>>> >>
>>> >>
>>> >> On Fri, Aug 10, 2018 at 10:17 AM, Concu, Raimondo
>>> >> <raimondo.co...@inaf.it> wrote:
>>> >> > Hi Everyone,
>>> >> >
>>> >> > I have a problem when programming the board after a certain number
>>> of
>>> >> > times
>>> >> > (30 - 60),
>>> >> >
>>> >> > as you can see in the following log:
>>> >> >
>>> >> > DEBUG:katcp:Starting thread Thread-1
>>> >> > 2018-08-10 11:04:15,203--client--DEBUG: Starting thread Thread-1
>>> >> > DEBUG:katcp:#version alpha-6-g0b8dd54
>>> >> > 2018-08-10 11:04:15,206--client--DEBUG: #version alpha-6-g0b8dd54
>>> >> > DEBUG:katcp:#build-state 2012-10-24T10:04:56
>>> >> > 2018-08-10 11:04:15,206--client--DEBUG: #build-state
>>> 2012-10-24T10:04:56
>>> >> > DEBUG:katcp:#version-connect katcp-library alpha-6-g0b8dd54
>>> >> > 2012-10-24T10:04:56
>>> >> > 2018-08-10 11:04:15,206--client--DEBUG: #version-connect
>>> katcp-library
>>> >> > alpha-6-g0b8dd54 2012-10-24T10:04:56
>>> >> > DEBUG:katcp:#version-connect katcp-protocol 4.9-M
>>> >> > 2018-08-10 11:04:15,207--client--DEBUG: #version-connect
>>> katcp-protocol
>>> >> > 4.9-M
>>> >> > DEBUG:katcp:#version-connect kernel 3.4.0-rc3+
>>> >> > #14\_Tue\_May\_29\_17:05:02\_SAST\_2012
>>> >> > 2018-08-10 11:04:15,207--client--DEBUG: #version-connect kernel
>>> >> > 3.4.0-rc3+
>>> >> > #14\_Tue\_May\_29\_17:05:02\_SAST\_2012
>>> >> > DEBUG:katcp:?progdev 1024.bof
>>> >> >
>>> >> > 2018-08-10 11:04:16,206--client--DEBUG: ?progdev 1024.bof
>>> >> >
>>> >> > DEBUG:katcp:#log info 1045321281687 raw
>>> >> > attempting\_to\_program\_1024.bof
>>> >> > 2018-08-10 11:04:16,646--client--DEBUG: #log info 1045321281687 raw
>>> >> > attempting\_to\_program\_1024.bof
>>> >> > DEBUG:katcp:#log info 1045321281695 raw
>>> >> >
>>> >> > attempting\_to\_program\_bitstream\_of\_19586188\_
>>> bytes\_to\_device\_/dev/roach/config
>>> >> > 2018-08-10 11:04:16,646--client--DEBUG: #log info 1045321281695 raw
>>> >> >
>>> >> > attempting\_to\_program\_bitstream\_of\_19586188\_
>>> bytes\_to\_device\_/dev/roach/config
>>> >> > DEBUG:katcp:#fpga loaded
>>> >> > 2018-08-10 11:04:16,647--client--DEBUG: #fpga loaded
>>> >> > DEBUG:katcp:#log error 1045321282122 raw
>>> >> > unable\_to\_map\_file\_/dev/roach/mem:\_Cannot\_allocate\_memory
>>> >> > 2018-08-10 11:04:16,647--client--DEBUG: #log error 1045321282122 raw
>>> >> > unable\_to\_map\_file\_/dev/roach/mem:\_Cannot\_allocate\_memory
>>> >> > DEBUG:katcp:#log error 1045321282125 raw
>>> >> > unable\_to\_program\_bit\_stream\_from\_1024.bof
>>> >> > 2018-08-10 11:04:16,647--client--DEBUG: #log error 1045321282125 raw
>>> >> > unable\_to\_program\_bit\_stream\_from\_1024.bof
>>> >> > DEBUG:katcp:!progdev fail
>>> >> > 2018-08-10 11:04:16,648--client--DEBUG: !progdev fail
>>> >> > ERROR:katcp:Request progdev failed.
>>> >> >   Request: ?progdev 1024.bof
>>> >> >   Reply: !progdev fail.
>>> >> > 2018-08-10 11:04:16,648--katcp_wrapper--ERROR: Request progdev
>>> failed.
>>> >> >   Request: ?progdev 1024.bof
>>> >> >   Reply: !progdev fail.
>>> >> > Traceback (most recent call last):
>>> >> >   File "sardara_1024.py", line 50, in <module>
>>> >> >     fpga.progdev(boffile)
>>> >> >   File "/usr/local/lib/python2.7/dist-packages/corr/katcp_
>>> wrapper.py",
>>> >> > line
>>> >> > 243, in progdev
>>> >> >     reply, informs = self._request("progdev", self._timeout,
>>> >> > parser.got_reply(boffile))
>>> >> >   File "/usr/local/lib/python2.7/dist-packages/corr/katcp_
>>> wrapper.py",
>>> >> > line
>>> >> > 198, in _request
>>> >> >     % (request.name, request, reply))
>>> >> > RuntimeError: Request progdev failed.
>>> >> >   Request: ?progdev 1024.bof
>>> >> >   Reply: !progdev fail.
>>> >> >
>>> >> >
>>> >> >
>>> >> > What is the problem?
>>> >> >
>>> >> > Thank to Everyone.
>>> >> >
>>> >> > Raimondo
>>> >> >
>>> >> >
>>> >> > --
>>> >> > You received this message because you are subscribed to the Google
>>> >> > Groups
>>> >> > "casper@lists.berkeley.edu" group.
>>> >> > To unsubscribe from this group and stop receiving emails from it,
>>> send
>>> >> > an
>>> >> > email to casper+unsubscr...@lists.berkeley.edu.
>>> >> > To post to this group, send email to casper@lists.berkeley.edu.
>>> >>
>>> >> --
>>> >> You received this message because you are subscribed to the Google
>>> Groups
>>> >> "casper@lists.berkeley.edu" group.
>>> >> To unsubscribe from this group and stop receiving emails from it,
>>> send an
>>> >> email to casper+unsubscr...@lists.berkeley.edu.
>>> >> To post to this group, send email to casper@lists.berkeley.edu.
>>> >
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> Groups
>>> > "casper@lists.berkeley.edu" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>> > email to casper+unsubscr...@lists.berkeley.edu.
>>> > To post to this group, send email to casper@lists.berkeley.edu.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "casper@lists.berkeley.edu" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to casper+unsubscr...@lists.berkeley.edu.
>>> To post to this group, send email to casper@lists.berkeley.edu.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "casper@lists.berkeley.edu" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to casper+unsubscr...@lists.berkeley.edu.
>> To post to this group, send email to casper@lists.berkeley.edu.
>>
> --
> You received this message because you are subscribed to the Google Groups "
> casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to casper+unsubscr...@lists.berkeley.edu.
> To post to this group, send email to casper@lists.berkeley.edu.
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.

Reply via email to