📄 extractbsp.html
字号:
<html><head><!-- /vobs/wpwr/docs/tornado/hutils/extractBsp.html - generated by refgen from extractBsp.sh --> <title> extractBsp </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>Tornado Reference : Tornado Utilities</i></a></p></blockquote><h1>extractBsp</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>extractBsp</strong> - extract a BSP from a VxWorks installation</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><p><pre>extractBsp -b <i>bspName</i> -s <i>vxworksDir</i> [-d <i>outfile</i>]</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This tool extracts all files that make up a specified BSP from a givenVxWorks installation and places them in a tar file.The tar file can then be installed into a VxWorks tree with installOption.<p>This tool provides a means of installing older BSPs in later releases ofVxWorks that support them. It is useful as an installation alternativefor those who need to install a previously released BSP into a new VxWorksrelease but cannot locate the original BSP distribution tape.<p></blockquote><h4>OPTIONS</h4><blockquote><p><p><dl><dt><b>-b</b> <i>bspName</i><dd>the name of the BSP as it appears in the <b>$<b>WIND_BASE</b>/target/config</b> directory.<p><dt><b>-s</b> <i>vxworksDir</i><dd>the base directory of the VxWorks installation from which you want to extract the BSP.<p><dt><b>-d</b> <i>outfile</i><dd> By default, the resulting tar file is placed in the current directory withthe name <b><i>bspName</i>_tar</b>. If <b>-d</b> is used and <i>outfile</i> is a directory,then the resulting tar file is created there and given the name<b><i>bspName</i>_tar</b>; otherwise the file is given the name <i>outfile</i>. </dl><p></blockquote><h4>EXAMPLE</h4><blockquote><p><p>The following example extracts an MVME147 BSP. The script is run from the newly installed VxWorks tree, <b>$<b>WIND_BASE</b>/target</b>, and extracts the BSPfrom the VxWorks 5.1.x tree, <b>/usr/vw.5.1</b>. The installOption script is then run to install the BSP in the $<b>WIND_BASE</b>/target directory.<pre> % cd $WIND_BASE/target % extractBsp -b mv147 -s /usr/vw.5.1 % installOption -f mv147_tar</pre></blockquote><h4>NOTE</h4><blockquote><p><p>While extractBsp correctly collects all the files that comprise a givenBSP, it may actually extract more than you need, depending on how manyBSPs are in the <i>vxworksDir</i> installation. This is because the scriptextracts all files found in <b>h/drv</b> and <b>src/drv</b>. For this reason,the preferred alternative is to install BSPs from the originaldistribution tape.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./extractBsp.html#top">extractBsp</a></b>, <b><a href="./installOption.html#top">installOption</a></b><p><p></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -