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

📄 gettingstarted1.html

📁 vxworks相关论文
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Getting Started    </title></head><body bgcolor="FFFFFF"><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="gettingStarted.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="gettingStarted2.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="83609">2.1  &nbsp;&nbsp;Introduction </a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="92040"> </a>This chapter tells you how to configure TrueFFS for Tornado and include it in VxWorks. For information on creating new socket component drivers and MTDs, see <a href="binding.html#84152"><i class="title">3.&nbsp;Writing Socket Component Drivers and MTDs</i></a>. </p><dd><p class="Body"><a name="94303"> </a>To include TrueFFS for Tornado in a VxWorks image, you must edit <b class="file">config.h</b> and define <b class="symbol_UC">INCLUDE_TFFS</b>. This configures the VxWorks initialization code to call <b class="routine"><i class="routine">tffsDrv</i></b><b>(&nbsp;)</b>, the utility that sets up all the structures and global variables needed to manage TrueFFS. This call also registers socket component drivers for all the flash devices attached to your target. At link time, resolving the symbols associated with <b class="routine"><i class="routine">tffsDrv</i></b><b>(&nbsp;)</b> should pull all necessary TrueFFS software modules into the VxWorks image. </p><dd><p class="Body"><a name="92075"> </a>To support TrueFFS, each BSP must include a <b class="file">sysTffs.c</b> file. It is this file that pulls together all the layers of TrueFFS (translation, socket, and MTD) and binds them with VxWorks. Because of this central role, <b class="file">sysTffs.c</b> is the file you must edit to configure which MTDs and translation layer modules are included in TrueFFS. In addition, if your target includes a memory management unit (an MMU), you will need to edit the <b class="symbol_lc">sysPhysMemDesc[&nbsp;]</b> array defined in <b class="file">sysLib.c</b>. </p><dd><p class="Body"><a name="92077"> </a>After rebuilding the VxWorks image and rebooting the target, you should have access to all the functionality necessary to format flash, create a TrueFFS block device, and bind that block device to dosFs. </p></dl></dl><a name="foot"><hr></a><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="gettingStarted.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="gettingStarted2.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 + -