⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c-booting2.html

📁 vxWorks网络协议驱动开发用户手册写协议栈时的好指引
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<div class="CellBody"><a name="86242"> </a><b class="symbol_lc">0x04 </b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86244"> </a>Prevents autoboot.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86246"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86248"> </a><b class="symbol_lc">0x08</b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86250"> </a>Enables quick autoboot (no countdown).</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86252"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86254"> </a><b class="symbol_lc">0x20</b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86256"> </a>Disables login security.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86258"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86260"> </a><b class="symbol_lc">0x40</b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86262"> </a>Specifies automatic configuration using BOOTP or DHCP. VxWorks tries first to use a DHCP client. If the boot ROM does not include the DHCP client, then the target uses the BOOTP client to retrieve information. </div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86264"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86266"> </a><b class="symbol_lc">0x80</b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86268"> </a>Tells the target to use TFTP to get VxWorks image. Otherwise, the target uses either RSH or FTP. The target uses FTP if you enter a non-empty value for the <b class="symbol_lc">passwd</b> parameter. Otherwise, the target uses RSH. </div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86270"> </a></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86272"> </a><b class="symbol_lc">0x100 </b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86275"> </a>Makes target<b class="symbol_lc"> </b>register as a Proxy ARP client. </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="86107">13.2.4  &nbsp;&nbsp;Boot Parameters Returned from DHCP or BOOTP</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84516"> </a>If the 0x40 bit in the <b class="symbol_lc">flags</b> parameter is set, the boot program uses either DHCP or BOOTP client to retrieve the following parameters: <b>(&nbsp;)</b> (from which the boot program also derives a value for <b class="symbol_lc">bad</b>), <b class="symbol_lc">had</b>, <b class="symbol_lc">gad</b>, and <b class="symbol_lc">bootFile</b>.<sup><a href="#foot"><b class="FootnoteMarker">4</b></a></sup> See <a href="c-booting2.html#86119">Table&nbsp;13-2</a>. <p class="table"><h4 class="EntityTitle"><a name="86119"><font face="Helvetica, sans-serif" size="-1" class="sans">Table 13-2:&nbsp;&nbsp;Boot Parameters Returned from DHCP or BOOTP </font></a></h4><table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="86123"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Parameter Name from <br><b class="symbol_UC">BOOT_PARAMS</b></font></b></div></th><td width="10">&nbsp;</td><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="86125"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Parameter Name from <b class="command">p</b> Command Listing <br>(followed by description)</font></b></div></th><td width="10">&nbsp;</td></tr><tr><td colspan="20"><hr class="tablerule2"></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86128"> </a><b class="symbol_lc">ead</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86509"> </a><b class="symbol_lc">inet on ethernet (e) </b></div><div class="CellBody"><a name="86132"> </a>This value is the Internet address of this target on the Ethernet or, if you are booting from SLIP, the local end of a SLIP connection. You can also specify a subnet mask (as described in <a href="c-network.html#"><i class="title">Subnet Configuration</i></a>). If <b class="symbol_lc">ead</b> is empty, the target does not attach the Ethernet interface. This is acceptable if the target is booting over the backplane. </div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86138"> </a><b class="symbol_lc">bad</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86140"> </a><b class="symbol_lc">inet on backplane (b)</b></div><div class="CellBody"><a name="86142"> </a>Actually, neither BOOTP nor DHCP supply this value directly, the backplane Internet address. If this parameter contains a non-empty value, the target attaches the backplane interface. Typically, the boot program uses sequential and proxy default addressing conventions to derive a <b class="symbol_lc">bad</b> value from the <b class="symbol_lc">ead</b> parameter (which BOOTP can provide) and the CPU number. However, the use of sequential addressing makes booting from the shared-memory backplane incompatible with DHCP. This parameter should be empty if no shared-memory network is required. To specify a subnet mask for <b class="symbol_lc">bad</b>, see <a href="c-network.html#"><i class="title">Subnet Configuration</i></a>).</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86148"> </a><b class="symbol_lc">had</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86150"> </a><b class="symbol_lc">host inet (h)</b></div><div class="CellBody"><a name="86152"> </a>The Internet address of the host from which to retrieve the boot file. </div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86155"> </a><b class="symbol_lc">gad</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86157"> </a><b class="symbol_lc">gateway inet (g)</b></div><div class="CellBody"><a name="86158"> </a>The Internet address of the gateway through which to boot if the host is not on the same network as the target. If <b class="symbol_lc">gad</b> has a non-empty value, a routing entry is added indicating that the address is a gateway to the network of the specified boot host. </div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="86161"> </a><b class="symbol_lc">bootFile</b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="86163"> </a><b class="symbol_lc">file name</b></div><div class="CellBody"><a name="86164"> </a>The full path name of the file containing the VxWorks run-time image.</div></td><td width="10">&nbsp;</td></tr><tr><td colspan="20">

⌨️ 快捷键说明

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