<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:27:28 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[INSTRM-672] s/w tasks for 2019-06 JHU-LAM visit</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-672</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;Just a ticket to put all the s/w prep and changes required for the hardware work at LAM in mid 2019-06. Add to this Description if necessary: this should be a valid list.&lt;/p&gt;

&lt;p&gt;For new interlock board and gauges:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;b1 and r1 (and r2?) BIOSes need to be updated to split first serial port into two. This requires working serial console access to all BEEs.&lt;/li&gt;
	&lt;li&gt;Update to (at least) &lt;tt&gt;xcuActor&lt;/tt&gt; 1.9.3. This will include config changes to support the turbo moving to &lt;tt&gt;/dev/ttyS3&lt;/tt&gt;, as well as for the new gauges and interlock boards.&lt;/li&gt;
	&lt;li&gt;Modify the &lt;tt&gt;ics_ccdActor&lt;/tt&gt; configs to move the fee to &lt;tt&gt;/dev/ttyS2&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Update &lt;tt&gt;ics_actorkeys&lt;/tt&gt;: there are new keywords for interlock status and pressures.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For new temperature board:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Install &lt;tt&gt;ics_xcu_SMB&lt;/tt&gt; on the temperature board pis. Commands and keywords unchanged. The Pis are now standalone (no &lt;tt&gt;/software&lt;/tt&gt;), so no software needs to be installed at LAM. (&lt;b&gt;DONE&lt;/b&gt;)&lt;/li&gt;
	&lt;li&gt;At JHU: the boards should be delivered this week and Josh needs to provision and test them. (&lt;b&gt;DONE&lt;/b&gt;, including two spares for LAM)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;In general:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Update &lt;tt&gt;dnsmasq.d&lt;/tt&gt;: new temperature boards, gauge maintenance addresses. I&apos;m putting the MAC changes in a &lt;tt&gt;macs-id/forLAM.conf&lt;/tt&gt; file. To support the two spare temps boards (i.e. with known MAC addresses but unassigned IP addresses, the &lt;tt&gt;dnsmasq-site.lam&lt;/tt&gt; config needs to have &lt;tt&gt;known&lt;/tt&gt; and &lt;tt&gt;!known&lt;/tt&gt; &lt;tt&gt;dhcp-ranges&lt;/tt&gt;, like in the IDG and Subaru site configs. Just grab the stanza from &lt;tt&gt;dnsmasq-site.idg&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;Switch to &lt;tt&gt;/software/ics_launch&lt;/tt&gt;, probably. In any case, drop the turbo TCP shim.&lt;/li&gt;
	&lt;li&gt;Make sure image files end up in &lt;tt&gt;/data/pfs/&lt;/tt&gt; (for SM1 pre-ship)&lt;/li&gt;
	&lt;li&gt;Rename existing archiver database, create new one (this for SM1 pre-ship)&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;&lt;a name=&quot;Schedule&quot;&gt;&lt;/a&gt;Schedule&lt;/h2&gt;

&lt;p&gt;Pre-ship:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;make SMB OS image (&lt;b&gt;DONE&lt;/b&gt;, running at JHU)&lt;/li&gt;
	&lt;li&gt;tag SMB program (&lt;b&gt;DONE&lt;/b&gt;, running at JHU. 1.2.0 but might be updated.)&lt;/li&gt;
	&lt;li&gt;get BEE console access (&lt;b&gt;DONE&lt;/b&gt; LAM)&lt;/li&gt;
	&lt;li&gt;put the new PCM firmware image someplace nice. Sorry, has simply been put in the LAM &lt;tt&gt;/software/mhs/&lt;/tt&gt;.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Before power down:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;install &lt;tt&gt;tron_actorcore:2.0.3&lt;/tt&gt; and &lt;tt&gt;ics_xcuActor:1.9.5&lt;/tt&gt; &#8211; for the PCM update.&lt;/li&gt;
	&lt;li&gt;update the PCM firmware, to support the new gauges. This reboots the BEEs, so should be done at the last minute. Would be safe to do after the work, but is strange enough to want to do separately. Specifically:
  &lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;  setup ics_xcuActor
  oneCmd.py xcu_b1 pcm raw=~gr # Will return _some_ version.
  PCM_bootloader.py --debug --cam=b1 --hexfile=/software/mhs/PCM_main-20190517_02.hex
  oneCmd.py xcu_b1 pcm raw=~gr # Should show newer version.
  &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
	&lt;li&gt;reconfigure the BEE BIOSes to get four serial ports. Specifically:
  &lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;  # In one terminal:
  miniterm.py --raw socket://moxa-rack-1.pfs:4004
  # At LAM (only) b1 is on port 4004 and r1 is on 4003

  # In some other other terminal:
  ssh root@bee-b1 shutdown -r now

  # Start hitting F4 in miniterm window. 
  # Keep hitting it until a BIOS screen appears.
  
  # Under Advanced/Serial Port, configure CN7 for two ports (like CN8).
  # Under Advanced/RTD Specific, Disable aDIO IRQ
  # Under Exit, Save changes and exit.
  &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
	&lt;li&gt;Change the way PFS programs are started on the BEEs. Specifically:&lt;/li&gt;
&lt;/ol&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Remove anything interesting from &lt;tt&gt;/etc/rc.local&lt;/tt&gt;. Leave only &lt;tt&gt;exit 0&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;For both the root and pfs-data users, login to BEE and &lt;tt&gt;crontab -e&lt;/tt&gt;. At the bottom, add two lines:
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;SHELL=/bin/bash
@reboot /software/ics_launch/bin/launchFor.sh &amp;gt;&amp;gt; /tmp/${USER}boot.txt 2&amp;gt;&amp;amp;1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;  Note that at this point the BEEs will not be useful until &lt;tt&gt;/software/ics_launch&lt;/tt&gt; has been installed.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;During power down for the hardware updates (all at LAM):&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;update &lt;tt&gt;ics_dnsmasq&lt;/tt&gt; to support new temp boards. Specifically, incorporate the new host MACs listed in &lt;tt&gt;macs-id/forLAM.conf&lt;/tt&gt; and add the &lt;tt&gt;known&lt;/tt&gt; and &lt;tt&gt;!known&lt;/tt&gt; address ranges.&lt;/li&gt;
	&lt;li&gt;Install &lt;tt&gt;ics_xcu_rtdADIO:1.1.1&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;install new &lt;tt&gt;tron_actorcore&lt;/tt&gt;, &lt;tt&gt;ics_xcuActor&lt;/tt&gt;, &lt;tt&gt;ics_xcu_fpga&lt;/tt&gt;, &lt;tt&gt;ics_ccdActor&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;install &lt;tt&gt;/software/ics_launch&lt;/tt&gt;.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;After restart, before pumping &amp;amp; cooling:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&lt;tt&gt;xcu&lt;/tt&gt; and &lt;tt&gt;ccd&lt;/tt&gt; programs should autostart from &lt;tt&gt;/software/ics_launch&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;ping temps-&lt;span class=&quot;error&quot;&gt;&amp;#91;br&amp;#93;&lt;/span&gt;1&lt;/tt&gt; after powering them on. Sanity check.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;temps status&lt;/tt&gt;, &lt;tt&gt;turbo status&lt;/tt&gt;, &lt;tt&gt;gauge status&lt;/tt&gt;, &lt;tt&gt;fee status&lt;/tt&gt; should all work, showing that the new BEE serial port mappings, the new &lt;tt&gt;xcu&lt;/tt&gt; and &lt;tt&gt;ccd&lt;/tt&gt; device configs, and the new temperature boards and gauges work.&lt;/li&gt;
	&lt;li&gt;Test interlock boards and sensors. Document is in &lt;a href=&quot;http://example.com/&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/ics_xcuActor/blob/master/docs/PFS-SPS-PRU020100_Pumping_Control.rst&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="13608">INSTRM-672</key>
            <summary>s/w tasks for 2019-06 JHU-LAM visit</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="cloomis">cloomis</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                            <label>SM1</label>
                    </labels>
                <created>Wed, 5 Jun 2019 13:57:09 +0000</created>
                <updated>Wed, 3 Jul 2019 13:36:53 +0000</updated>
                            <resolved>Wed, 26 Jun 2019 16:01:27 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="15628" author="hassan" created="Wed, 5 Jun 2019 15:23:24 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt; to add a schedule as a comment to this ticket to determine what needs to be done before and during the week of 17th June.&lt;/p&gt;</comment>
                            <comment id="15696" author="hassan" created="Wed, 26 Jun 2019 16:01:27 +0000"  >&lt;p&gt;JHU-LAM visit completed last week, so ticket closed. Any remaining points will be raised as new tickets.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zx00qq:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="51">SM1-2019 H</customfieldvalue>
    <customfieldvalue id="53">SM1-2019 J</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>