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

📄 gettingstarted3.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<a name="91327"><br></a><img border="0" alt="*" src="icons/note.gif">&nbsp;&nbsp;&nbsp;</td><td><div class="Note"><hr><b class="symbol_UC">NOTE: </b> The iq960rp BSP was designed to support the iq960rp board. However, if you apply a patch available from WRS, this BSP can support the iq960rd board as well as TrueFFS for Tornado. <hr></div></td></tr></table><dl class="margin"><p><ol class="List"><li value="1."><a name="91326"> </a>To <b class="file">config.h</b>, add the lines: </li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="90402">#define INCLUDE_TFFS #define INCLUDE_SHOW_ROUTINES       /* optional */ #define INCLUDE_DOSFS</a></b></pre></dl></dl><p><ol class="List"><li value="2."><a name="90406"> </a>Change the <b class="file">Makefile</b> as specified in <a href="gettingStarted2.html#85369"><i class="title">Changing the Makefile</i></a>. </li></ol></p><p><ol class="List"><li value="3."><a name="90407"> </a>Remake VxWorks. </li></ol></p><p><ol class="List"><li value="4."><a name="90408"> </a>Reboot the target. </li></ol></p><p><ol class="List"><li value="5."><a name="90409"> </a>At the target shell prompt, enter the following commands: </li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="90410"></b><tt class="output">-&gt; </tt><b>sysTffsFormat </b><tt class="output">-&gt; </tt><b>usrTffsConfig 0,0,"/RFA/"</a></b></pre></dl></dl></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84762">2.3.4  &nbsp;&nbsp;mv177 with a Board-Resident Flash Array </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="90952"> </a>The following instructions show you how to setup and instantiate a single TrueFFS device for a target using the mv177 BSP. The board-resident flash array is dedicated entirely to TrueFFS and so is formatted using <b class="routine"><i class="routine">tffsDevFormat</i></b><b>(&nbsp;)</b>. </p></dl><dl class="margin"><p><ol class="List"><li value="1."><a name="86721"> </a>To <b class="file">config.h</b>, add the lines: </li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="84766">#define&nbsp;INCLUDE_TFFS #define&nbsp;INCLUDE_SHOW_ROUTINES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;optional&nbsp;*/ #define&nbsp;INCLUDE_DOSFS</a></b></pre></dl></dl><p><ol class="List"><li value="2."><a name="86723"> </a>In <b class="file">sysLib.c</b>, change the <b class="symbol_UC">VM_STATE</b> of the ROM region from <b class="symbol_UC">WRITABLE_NOT</b> to <b class="symbol_UC">WRITEABLE</b>: </li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="84773">/*&nbsp;ROM&nbsp;*/ { (void&nbsp;*)&nbsp;ROM_BASE_ADRS, (void&nbsp;*)&nbsp;ROM_BASE_ADRS, 0x400000, VM_STATE_MASK_VALID&nbsp;|&nbsp;VM_STATE_MASK_WRITABLE|VM_STATE_MASK_CACHEABLE, VM_STATE_VALID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;VM_STATE_WRITABLE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|VM_STATE_CACHEABLE_NOT },</a></b></pre></dl></dl><p><ol class="List"><li value="3."><a name="86836"> </a>Change the <b class="file">Makefile</b> as specified in <a href="gettingStarted2.html#85369"><i class="title">Changing the Makefile</i></a>. </li></ol></p><p><ol class="List"><li value="4."><a name="86760"> </a>Remake VxWorks. </li></ol></p><p><ol class="List"><li value="5."><a name="86761"> </a>Reboot the target. </li></ol></p><p><ol class="List"><li value="6."><a name="86762"> </a>Insert a flash card in each PCMCIA socket. </li></ol></p><p><ol class="List"><li value="7."><a name="86766"> </a>At the target shell prompt, enter the following commands: </li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="84802"></b><tt class="output">-&gt;&nbsp;</tt><b>tffsDevFormat&nbsp;0,0 </b><tt class="output">-&gt;&nbsp;</tt><b>usrTffsConfig&nbsp;0,0,"/RFA/"</a></b></pre></dl></dl></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="88097">2.3.5  &nbsp;&nbsp;pid7t or pid7t_t with a Board-Resident Flash Array </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="90999"> </a>The following instructions show you how to setup and instantiate a TrueFFS device for a target using either the pid7t or pid7t_t BSP. The flash device, a board-resident flash array, is formatted using <b class="routine"><i class="routine">sysTffsFormat</i></b><b>(&nbsp;)</b>. This leaves room for a boot image. </p></dl><dl class="margin"><p><ol class="List"><li value="1."><a name="90244"> </a>To <b class="file">config.h</b>, add the lines: </li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="89924">#define INCLUDE_TFFS #define INCLUDE_SHOW_ROUTINES       /* optional */ #define INCLUDE_DOSFS</a></b></pre></dl></dl><p><ol class="List"><li value="2."><a name="90249"> </a>Change the <b class="file">Makefile</b> as specified in <a href="gettingStarted2.html#85369"><i class="title">Changing the Makefile</i></a>. </li></ol></p><p><ol class="List"><li value="3."><a name="90250"> </a>Remake VxWorks. </li></ol></p><p><ol class="List"><li value="4."><a name="90251"> </a>Reboot the target. </li></ol></p><p><ol class="List"><li value="5."><a name="90252"> </a>At the target shell prompt, enter the following commands: </li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="89932"></b><tt class="output">-&gt; </tt><b>sysTffsFormat  </b><tt class="output">-&gt; </tt><b>usrTffsConfig 0,0,"/RFA/"</a></b></pre></dl></dl></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="90416">2.3.6  &nbsp;&nbsp;ss5 with a Board-Resident Flash Array </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="91090"> </a>The following instructions show you how to setup and instantiate a TrueFFS device for a target using the ss5 BSP. This flash device, a board-resident flash array, is dedicated entirely to TrueFFS and so is formatted using <b class="routine"><i class="routine">tffsDevFormat</i></b><b>(&nbsp;)</b>. </p><dd><p class="Body"><a name="91024"> </a>In addition to the usual changes to <b class="file">config.h</b>, the instructions below require that you undefine <b class="symbol_UC">INCLUDE_D_CACHE_ENABLE</b>. TrueFFS is incompatible with data caching. Additionally, you must define <b class="symbol_UC">INCLUDE_FLASH</b>. This configures <b class="file">sysLib.c</b> to include special functions necessary to TrueFFS on the ss5 BSP. </p></dl><dl class="margin"><p><ol class="List"><li value="1."><a name="90419"> </a>To <b class="file">config.h</b>, add the lines: </li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="90420">#define INCLUDE_TFFS #define INCLUDE_SHOW_ROUTINES       /* optional */ #define INCLUDE_DOSFS #undef  INCLUDE_D_CACHE_ENABLE      /* disable data cache */ #define INCLUDE_FLASH               /* make flash writable */</a></b></pre></dl></dl><p><ol class="List"><li value="2."><a name="90427"> </a>Change the <b class="file">Makefile</b> as specified in <a href="gettingStarted2.html#85369"><i class="title">Changing the Makefile</i></a>. </li></ol></p><p><ol class="List"><li value="3."><a name="90428"> </a>Remake VxWorks. </li></ol></p><p><ol class="List"><li value="4."><a name="90429"> </a>Reboot the target. </li></ol></p><p><ol class="List"><li value="5."><a name="90430"> </a>At the target shell prompt, enter the following commands: </li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="90431"></b><tt class="output">-&gt; </tt><b>tffsDevFormat 0, 0 </b><tt class="output">-&gt; </tt><b>usrTffsConfig 0,0,"/RFA/"</a></b></pre></dl></dl></dl></dl><a name="foot"><hr></a><p class="FootnoteNumberMarker">1:&nbsp;<span class="Footnote"><a name="96174"> </a>The pc386 and pc486 BSPs support a socket interface driver not available to other BSPs. For more information, see <a href="gettingStarted4.html#95076"><i class="title">2.4&nbsp;Socket Layer Options for the pc386 and pc486 BSPs</i></a>. </span><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="gettingStarted.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="gettingStarted2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="gettingStarted4.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 + -