c-start5.html

来自「vxworks相关论文」· HTML 代码 · 共 984 行 · 第 1/3 页

HTML
984
字号
</td><td width="10">&nbsp;</td><td colspan=2 rowspan=1><div class="CellBody"><a name="88831"> </a>Modify memory at location <i class="textVariable">adrs</i> (hex). The system prompts for modifications to memory, starting at the specified address. It prints each address, and the current 16-bit value at that address, in turn. You can respond in one of several ways:</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="88835"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="88837"> </a><kbd>ENTER</kbd></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="88839"> </a>Do not change that address, but continue prompting at the next address.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="88841"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="88843"> </a><i class="textVariable">number</i></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="88845"> </a>Set the 16-bit contents to <i class="textVariable">number</i>.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="88847"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="88849"> </a><b class="command">.</b> (dot)</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="88851"> </a>Do not change that address, and quit.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="88853"> </a><b class="command">f</b> <i class="textVariable">adrs</i><b class="command">,</b> <i class="textVariable">nbytes</i><b class="command">,</b> <i class="textVariable">value</i></div></td><td width="10">&nbsp;</td><td colspan=2 rowspan=1><div class="CellBody"><a name="88855"> </a>Fill <i class="textVariable">nbytes</i> of memory, starting at <i class="textVariable">adrs</i> with <i class="textVariable">value</i>.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="88859"> </a><b class="command">t</b> <i class="textVariable">adrs1</i><b class="command">,</b> <i class="textVariable">adrs2</i><b class="command">,</b> <i class="textVariable">nbytes</i></div></td><td width="10">&nbsp;</td><td colspan=2 rowspan=1><div class="CellBody"><a name="88861"> </a>Copy <i class="textVariable">nbytes</i> of memory, starting at <i class="textVariable">adrs1</i>, to <i class="textVariable">adrs2</i>.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="88865"> </a><b class="command">s</b> [ <b class="command">0</b> | <b class="command">1</b> ]</div></td><td width="10">&nbsp;</td><td colspan=2 rowspan=1><div class="CellBody"><a name="88867"> </a>Turn the CPU system controller <kbd>ON</kbd> (<b class="command">1</b>) or <kbd>OFF</kbd> (<b class="command">0</b>) (only on boards where the system controller can be enabled by software).</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="88871"> </a><b class="command">e</b></div></td><td width="10">&nbsp;</td><td colspan=2 rowspan=1><div class="CellBody"><a name="88873"> </a>Display a synopsis of the last occurring VxWorks exception.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="88877"> </a><b class="command">n</b> <i class="textVariable">netif</i></div></td><td width="10">&nbsp;</td><td colspan=2 rowspan=1><div class="CellBody"><a name="88880"> </a>Display the address of the network interface device <i class="textVariable">netif</i>.</div></td><td width="10">&nbsp;</td></tr><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p></p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84962">2.5.4  &nbsp;&nbsp;Description of Boot Parameters</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84963"> </a>Each of the boot parameters is described below, with reference to the example in <a href="c-start5.html#84882"><i class="title">2.5.2&nbsp;Entering New Boot Parameters</i></a>. The letters in parentheses after some parameters indicate how to specify the parameters in the command-line boot procedure described in <a href="c-start5.html#85056"><i class="title">2.5.6&nbsp;Alternate Boot Methods</i></a>.</p></dl><dl class="margin"><dd><div class="Item"><a name="84970"> </a><b class="symbol_lc">boot device</b></div><dl class="margin"><dd><div class="Indent"><a name="87362"> </a>The type of device to boot from. This must be one of the drivers included in the boot ROMs (for example, <b class="symbol_lc">enp</b> for a CMC controller). Due to limited space in the boot ROMs, only a few drivers can be included. A list of included drivers is displayed at the bottom of the help screen (type <b class="command">?</b> or <b class="command">h</b>).</div><br></dl><dd><div class="Item"><a name="84972"> </a><b class="symbol_lc">processor number</b></div><dl class="margin"><dd><div class="Indent"><a name="87364"> </a>A unique identifier for the target in systems with multiple targets on a backplane (zero in the example). The first CPU must be processor number 0 (zero).</div><br></dl><dd><div class="Item"><a name="84973"> </a><b class="symbol_lc">host name</b></div><dl class="margin"><dd><div class="Indent"><a name="87366"> </a>The name of the host machine to boot from. This is the name by which the host is known to VxWorks; it need not be the name used by the host itself. (The host name is <b class="symbol_lc">mars</b> in the example of <a href="c-start5.html#84882"><i class="title">2.5.2&nbsp;Entering New Boot Parameters</i></a>.) </div><br></dl><dd><div class="Item"><a name="84977"> </a><b class="symbol_lc">file name</b></div><dl class="margin"><dd><div class="Indent"><a name="87368"> </a>The full pathname of the VxWorks object module to be booted (<b>c:\tornado\</b><b class="file">target\config\</b><i class="textVariable">bspname</i><b class="file">\vxWorks</b> in the example). This pathname is also reported to the host when you start a target server, so that it can locate the host-resident image of VxWorks.<sup><a href="#foot"><b class="FootnoteMarker">2</b></a></sup></div><br></dl><dd><div class="Item"><a name="84985"> </a><b class="symbol_lc">inet&nbsp;on&nbsp;ethernet&nbsp;(e)</b></div><dl class="margin"><dd><div class="Indent"><a name="87370"> </a>The Internet address of a target system with an Ethernet interface (90.0.0.50 in the example).</div><br></dl><dd><div class="Item"><a name="84986"> </a><b class="symbol_lc">inet&nbsp;on&nbsp;backplane&nbsp;(b)</b></div><dl class="margin"><dd><div class="Indent"><a name="87372"> </a>The Internet address of a target system with a backplane interface (blank in the example).</div><br></dl><dd><div class="Item"><a name="84988"> </a><b class="symbol_lc">host inet (h)</b></div><dl class="margin"><dd><div class="Indent"><a name="87374"> </a>The Internet address of the host to boot from (90.0.0.1 in the example).</div><br></dl><dd><div class="Item"><a name="84989"> </a><b class="symbol_lc">gateway inet (g)</b></div><dl class="margin"><dd><div class="Indent"><a name="87376"> </a>The Internet address of a gateway node if the host is not on the same network as the target (blank in the example).</div><br></dl><dd><div class="Item"><a name="84990"> </a><b class="symbol_lc">user (u)</b></div><dl class="margin"><dd><div class="Indent"><a name="87378"> </a>The user name that VxWorks uses to access the host (<b class="symbol_lc">fred</b> in the example); that user must have permission to read the VxWorks boot-image file. VxWorks must have access to this user's FTP signon, with the FTP password provided below.</div><br></dl><dd><div class="Item"><a name="84995"> </a><b class="symbol_lc">ftp password (pw)</b></div><dl class="margin"><dd><div class="Indent"><a name="87380"> </a>The "user" password. This field is not required by the boot program, but you must supply it to boot over the network from a Windows host. (If you do not supply this password, the boot ROM attempts to load the run-time system image using a protocol based on the UNIX <b class="command">rsh</b> utility, which is not available for Windows hosts.) </div><br></dl><dd><div class="Item"><a name="84996"> </a><b class="symbol_lc">flags (f)</b></div><dl class="margin"><dd><div class="Indent"><a name="87382"> </a>Configuration options specified as a numeric value that is the sum of the values of selected option bits defined below. (This field is zero in the example because no special boot options were selected.)<p class="table"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87391"> </a><b class="symbol_lc">0x01</b></p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87393"> </a>=</p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87395"> </a>Do not enable the system controller, even if the processor number is 0. (This option is board specific; refer to your target documentation.)</p></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87397"> </a><b class="symbol_lc">0x02</b></p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87399"> </a>=</p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87401"> </a>Load all VxWorks symbols, instead of just globals.</p></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87403"> </a><b class="symbol_lc">0x04</b></p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87405"> </a>=</p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87407"> </a>Do not auto-boot.</p></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87409"> </a><b class="symbol_lc">0x08</b></p></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="87411"> </a>=</p>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?