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

📄 blackfin_pcmcia_compactflash_driver.html

📁 ADI 公司blackfin系列的用户使用文挡。
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head>  <title></title>  <link rel="stylesheet" media="screen" type="text/css" href="./style.css" />  <link rel="stylesheet" media="screen" type="text/css" href="./design.css" />  <link rel="stylesheet" media="print" type="text/css" href="./print.css" />  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><a href=start.html>start</a></br><div class="toc"><div class="tocheader toctoggle" id="toc__header">Table of Contents</div><div id="toc__inside"><ul class="toc"><li class="level1"><div class="li"><span class="li"><a href="#pcmcia_introduction" class="toc">PCMCIA Introduction</a></span></div></li><li class="level1"><div class="li"><span class="li"><a href="#enabling_kernel_pcmcia_support" class="toc">Enabling Kernel PCMCIA Support</a></span></div></li><li class="level1"><div class="li"><span class="li"><a href="#enabling_user_space_pcmcia_utilities" class="toc">Enabling User Space PCMCIA Utilities</a></span></div></li><li class="level1"><div class="li"><span class="li"><a href="#usage_examples" class="toc">Usage Examples</a></span></div><ul class="toc"><li class="level2"><div class="li"><span class="li"><a href="#inserting_a_card" class="toc">Inserting a Card</a></span></div></li><li class="level2"><div class="li"><span class="li"><a href="#identifying_a_card" class="toc">Identifying a Card</a></span></div></li><li class="level2"><div class="li"><span class="li"><a href="#checking_card_status" class="toc">Checking Card Status</a></span></div></li><li class="level2"><div class="li"><span class="li"><a href="#removing_a_card" class="toc">Removing a Card</a></span></div></li></ul></li><li class="level1"><div class="li"><span class="li"><a href="#driver_example_compactflash_ide_cards" class="toc">Driver Example CompactFlash IDE Cards</a></span></div><ul class="toc"><li class="level2"><div class="li"><span class="li"><a href="#adding_driver_support" class="toc">Adding Driver Support</a></span></div></li><li class="level2"><div class="li"><span class="li"><a href="#loading_the_kernel_module" class="toc">Loading the Kernel Module</a></span></div><ul class="toc"><li class="level3"><div class="li"><span class="li"><a href="#insert_the_card" class="toc">Insert the Card</a></span></div></li><li class="level3"><div class="li"><span class="li"><a href="#load_the_module" class="toc">Load the Module</a></span></div></li></ul></li></ul></li><li class="level1"><div class="li"><span class="li"><a href="#driver_example_802.11_compactflash_cards" class="toc">Driver Example 802.11 CompactFlash  Cards</a></span></div><ul class="toc"><li class="level2"><div class="li"><span class="li"><a href="#adding_driver_support1" class="toc">Adding Driver Support</a></span></div><ul class="toc"><li class="level3"><div class="li"><span class="li"><a href="#load_the_module1" class="toc">Load the Module</a></span></div></li></ul></li></ul></li></ul></div></div><h1><a name="pcmcia_introduction" id="pcmcia_introduction">PCMCIA Introduction</a></h1><div class="level1"><p><strong>PCMCIA</strong> is named after the  <strong>Personal Computer Memory Card International Association</strong>.</p><p><a href="http://www.pcmcia.org/" class="urlextern" title="http://www.pcmcia.org/"  rel="nofollow">http://www.pcmcia.org/</a></p><p>This driver as well as the <a href="compactflash_ide_ata_nand_flash_-_interface_card.html" class="wikilink1" title="compactflash_ide_ata_nand_flash_-_interface_card.html">CompactFlash / IDE ATA / NAND Flash - Interface Card</a> <br/> only implements 16-bit PCMCIA. 32-bit CardBus is not supported.  </p></div><!-- SECTION [5-316] --><h1><a name="enabling_kernel_pcmcia_support" id="enabling_kernel_pcmcia_support">Enabling Kernel PCMCIA Support</a></h1><div class="level1"><ul><li class="level1"><div class="li"> <strong>During kernel Configuration Enable</strong></div></li></ul><pre class="code">    Bus options (PCI, PCMCIA, EISA, MCA, ISA)  ---&gt;       PCCARD (PCMCIA/CardBus) support  ---&gt;&lt;*&gt; PCCard (PCMCIA/CardBus) support[ ]   Enable PCCARD debugging&lt;*&gt;   16-bit PCMCIA support[*]     Load CIS updates from userspace (EXPERIMENTAL)[*]     PCMCIA control ioctl (obsolete)---   PC-card bridges&lt;*&gt;   Blackfin CompactFlash PCMCIA Driver</pre><ul><li class="level1"><div class="li"> <strong>External Bus Interface Unit EBIU Configuration</strong></div></li></ul><p> <a href="media/ebiu_amgctl.png" class="media" target="_blank" title="ebiu_amgctl.png"><img src="media/ebiu_amgctl.png" class="media" alt="" /></a></p><p>    </p><ul><li class="level1"><div class="li"> <strong>Adjusting System Clock Speed</strong></div></li></ul><p> <a href="media/clock_settings.png" class="media" target="_blank" title="clock_settings.png"><img src="media/clock_settings.png" class="media" alt="" /></a></p><p>  </p></div><!-- SECTION [317-1159] --><h1><a name="enabling_user_space_pcmcia_utilities" id="enabling_user_space_pcmcia_utilities">Enabling User Space PCMCIA Utilities</a></h1><div class="level1"><pre class="code">     Miscellaneous Applications  ---&gt;       cp [*] pcmcia-cs (Card Services)</pre><p> </p><p><br/> <br/> <a href="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html" class="urlextern" title="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"  rel="nofollow">http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html</a><br/></p><p> </p><p> <strong>cardctl must be setuid root</strong> <br/> <br/> <em>root:~&gt; chown root:root /bin/cardctl /bin/cardmgr</em> </p></div><!-- SECTION [1160-2191] --><h1><a name="usage_examples" id="usage_examples">Usage Examples</a></h1><div class="level1"><p>When you compile the PCMCIA support into the kernel your kernel startup messages should contain flowing lines:</p><p>    </p></div><!-- SECTION [2192-2471] --><h2><a name="inserting_a_card" id="inserting_a_card">Inserting a Card</a></h2><div class="level2"><p> When a card is inserted 鈥

⌨️ 快捷键说明

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