📄 c-start4.html
字号:
<td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout><dl class="margin"><dd><p class="Body"><a name="87808"> </a>If you choose not to use TSFS and you want to upload WindView data to a file, you must include another file system. No file system is included in VxWorks by default. For information on how to configure a file system such as NFS, see the <i class="title">VxWorks Network Programmer's Guide: File Access Applications </i>and <i class="title">Tornado User's Guide: Projects</i>. </p><dd><p class="Body"><a name="87841"> </a>If you choose not to use TSFS and you want to upload data to the view graph, you must have a socket facility defined. Sockets are discussed in the <i class="title">VxWorks Network Programmer's Guide: Networking APIs</i>. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="92604">Post-Mortem Analysis</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="88194"> </a>If you plan to use WindView to analyze causes of target failure, see <a href="c-xfer2.html#83954"><i class="title">Post-Mortem Mode</i></a> for additional configuration information. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="92226">Triggering</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="92227"> </a>In order to use the triggering function, you must select the configuration macro <b class="symbol_UC">INCLUDE_TRIGGERING</b>. </p><dd><p class="Body"><a name="92229"> </a>Triggering is not required for WindView, but it can be useful in collecting precisely the data you need and no more.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="88193">Rebuilding VxWorks and Rebooting Your Target</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="87798"> </a>After all products have been installed and configured, remake the <b class="command">vxWorks</b> image as described in <i class="title">Tornado User's Guide: Projects</i> and reboot your target with the new image. </p><dd><p class="Body"><a name="89309"> </a>Note that the VxWorks boot ROM does not need to be rebuilt unless you are using a VxWorks standalone ROM or unless you are configuring VxWorks and WindView for post-mortem analysis using a reserved memory partition. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="93203">2.4.3 Starting a Target Server</a></i></h4></font><dl class="margin"><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/note.gif"></td><td><hr><div class="CalloutCell"><a name="93698"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">NOTE: </font></b></a>In order to simplify troubleshooting, make sure that the basic host-target connection is working before you enable WindView. If you have not yet used Tornado with your target, follow the instructions in the <i class="title">Tornado User's Guide: Setup and Startup </i>before you try to use WindView. </div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout><dl class="margin"><dd><p class="Body"><a name="93213"> </a>To start WindView, you need to have a target running a VxWorks kernel configured for WindView and a target server connected to it. To configure your target server to support the WindView defaults (including TSFS), take the following steps:</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="93215">Configuring the Target Server for TSFS </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="93217"> </a>The default WindView configuration uses the Target Server File System, TSFS. For more information, see the <i class="title">VxWorks Programmer's Guide: Local File Systems</i>. In order to use TSFS, you need to give the target server certain information. </p></dl></dl><dl class="margin"><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="93218">Using Windows</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="93219"> </a>Select <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Target Server>Configure</font></b> from the main <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Tools</font></b> menu. In the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Configure Target Servers</font></b> dialog box (see <a href="c-start4.html#95119">Figure 2-8</a>), select <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Target Server File System</font></b> in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Change Property</font></b> drop-down combo box.</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="93232"> </a>Enter root path</li></ul></p><dl class="margin"><dd><div class="Indent"><a name="93233"> </a>Click the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Root</font></b> radio button and type the path to where you want your log file saved in the box. For example: </div><br><dl class="margin"><dd><pre class="Code3"><b><a name="93234">C:\WindView\logfiles <div class="frame"></pre><h4 class="EntityTitle"><a name="95119"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 2-8: Configuring the Target Server for TSFS on a Windows Host</font></a></h4><dl class="margin"><div class="Anchor"><a name="95124"> </a><img class="figure" border="0" src="images/c-start0.gif"></div></dl></div></a></b></pre></dl></dl><p class="listspace"><ul class="Bullet" type="disc"><li><a name="93235"> </a>Set read/write option</li></ul></p><dl class="margin"><dd><div class="Indent"><a name="93236"> </a>Click the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Read/Write</font></b> radio button to change the option from <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Read Only</font></b>. You should make this change only when you plan to run WindView; at other times we recommend that the TSFS option for your target server be read only. (For a discussion of security issues around write options, see the <i class="title">VxWorks Programmer's Guide: Local File Systems</i>). </div><br></dl></dl><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="93240">Using UNIX</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="93241"> </a>Select <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Target >Create</font></b> from the Tornado <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Launcher</font></b> menu. In the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Create Target Servers</font></b> window (see <a href="c-start4.html#93248">Figure 2-9</a>), fill in the appropriate boxes. <div class="frame"><h4 class="EntityTitle"><a name="93248"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 2-9: Configuring the Target Server for TSFS on a UNIX Host</font></a></h4><dl class="margin"><div class="Anchor"><a name="93257"> </a><img class="figure" border="0" src="images/c-starta1.gif"></div></dl></div></p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="93258"> </a>Enter root path</li></ul></p><dl class="margin"><dd><div class="Indent"><a name="93259"> </a>Type the path to where you want your log file saved in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Target Server File System root</font></b> box. For example: </div><br></dl><dl class="margin"><dd><pre class="Code2"><b><a name="93260">/usr/windview/logfiles </a></b></pre></dl><p class="listspace"><ul class="Bullet" type="disc"><li><a name="93261"> </a>Set read/write option</li></ul></p><dl class="margin"><dd><div class="Indent"><a name="93262"> </a>Click the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Read/Write</font></b> box to change the option from the default read only. You should make this change only when you plan to run WindView; at other times the TSFS option for your target server should be read only. (For a discussion of security issues around write options, see the <i class="title">VxWorks Programmer's Guide: Local File Systems</i>). </div><br></dl></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="93266">Launching the Target Server</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="93268"> </a>Select <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Launch</font></b>. Then select the name of your target server in the drop-down combo box in the main tool bar (Windows) or in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Target</font></b> list in the Tornado <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Launcher</font></b> window (UNIX). </p></dl></dl><a name="foot"><hr></a><p class="FootnoteNumberMarker">1: <span class="Footnote"><a name="92039"> </a>When <b class="symbol_UC">INCLUDE_WINDVIEW</b> is selected, several WindView initialization routines are called from <b class="routine"><i class="routine">usrRoot</i></b><b>( )</b> in <b class="file">usrConfig.c</b>. Be aware that if you customize <b class="file">usrConfig.c</b>, WindView initialization must happen <i class="emphasis">after</i> the kernel initialization; it cannot occur before.</span><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-start.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-start.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-start3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-starta5.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -