Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Linux 2.6ÏÂSPIÉ豸ģÐÍ


Linux 2.6ÏÂSPIÉ豸ģÐÍ
--------»ùÓÚAT91RM9200·ÖÎö
       Atmel¹«Ë¾µÄARM ATϵÁУ¬ÆäSPIÇý¶¯ÔÚkernel 2.6.23ÀïÒѾ­°üº¬¡£Èç¹ûÄã´òÁËat91-patch²¹¶¡µÄ»°£¬ÔòÔÚÄÚºËÅäÖÃʱҪСÐÄ¡£ÔÚDevice Drivers---- > Character devices ---- >È¡ÏûÑ¡ÖÐSPI Driver(legacy) for at91rm9200 processor ¡£Í¬Ê±Device Drivers---- >SPI Support ---- > Ñ¡ÖÐSPI Support ,Atmel SPI Controler,ͬʱѡÖÐ User mode SPI device driver support ¡£
SPI Driver(legacy) for at91rm9200 processorÊDZ£ÁôÑ¡ÏΪÁ˼æÈÝÒÔÇ°°æ±¾¡£Èç¹ûͬʱѡÖÐSPI Driver(legacy) for at91rm9200 processor£¬ÔòÔÚ/sysÀïÎÞ·¨×¢²áÀàspidev£¬Ò²¾ÍÎÞ·¨½«É豸ºÍÇý¶¯ÁªÏµÔÚÒ»Æð¡£ÓëÏÖÓÐatmel spiÇý¶¯·¢Éú³åÍ»¡£
 
¸÷Ñ¡Ïî¶ÔÓ¦µÄ±àÒëÇé¿öÈçÏ£º
       [*]SPI support ---- Config_SPI  ¿ªÆôSPI¹¦ÄÜ
       [*]Debug support for SPI drivers ---- config SPI_DEBUG   ¿ªÆôSPI debugµ÷ÊÔ
       ----SPI Master Controller Drivers ---- depends on SPI_MASTER  Éú³Éspi.o
       <*>Atmel SPI Controller ---- config SPI_ATMEL Éú³Éatmel_spi.o
       <*>Bitbanging SPI master ---- config SPI_BITBANG Éú³Éspi_bitbang.o
       <*>AT91RM9200 Bitbang SPI Master  ---- CONFIG_SPI_AT91  spi_at91_bitbang.o
       ---- SPI Protocol Masters ---- depends on SPI_MASTER
      < >SPI EEPROMs from most vendors ---- config SPI_AT25 Éú³Éat25.o
       <*>User mode SPI device driver support ---- config SPI_SPIDEV Éú³Éspidev.o
×ÜÏß
×¢²áSPI×ÜÏß
#spi.c
       struct bus_type spi_bus_type = {
       .name             = "spi",   // spi×ÜÏßÃû³Æ
       .dev_attrs   


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

Linux / Unix ÏÂÎļþɾ³ý¡¢¾ä±ú Óë¿Õ¼äÊÍ·ÅÎÊÌâ

×òÌìÔÚÒ»¸ö¿Í»§»·¾³£¬ÓÉÓÚ¿Õ¼ä½ôÕÅ£¬É¾³ýÁËÒ»¸öÎļþ£¬Óöµ½ÁËÎļþ¾ä±úÓë¿Õ¼äÊͷŵÄÎÊÌ⣬¼Ç¼һÏ¡£
ÔÚϵͳÉÏ£¬ÁÙʱ±í¿Õ¼äÀ©Õ¹µ½ÁË32G£¬ÎÒн¨ÁËÒ»¸öÁÙʱ±í¿Õ¼ä
£¬²¢Çл»ÁËÊý¾Ý¿âÉèÖãº[oracle@corde tdb]$ ls -sort
total 35101212
   51264 -rw-r-----  1 oracle    52429312 Oct 20 08 ......

ǶÈëʽlinuxÉÕд(Ò»)—BootLoaderµÄ²Ã¼ôºÍ±àÒë


Ò»¡¢BootLoaderµÄ¸ÅÄî
   BootLoaderÊÇϵͳ¼ÓµçÆôÔËÐеĵÚÒ»¶ÎÈí¼þ´úÂ룮»ØÒäÒ»ÏÂPCµÄÌåϵ½á¹¹ÎÒÃÇ¿ÉÒÔÖªµÀ£¬PC»úÖеÄÒýµ¼¼ÓÔسÌÐòÓÉBIOS£¨Æä±¾ÖʾÍÊÇÒ»¶Î¹Ì¼þ³ÌÐò£©ºÍλÓÚÓ²ÅÌMBRÖеÄÒýµ¼³ÌÐòÒ»Æð×é³É¡£BIOSÔÚÍê³ÉÓ²¼þ¼ì²âºÍ×ÊÔ´·ÖÅäºó£¬½«Ó²ÅÌMBRÖеÄÒýµ¼³ÌÐò¶Áµ½ÏµÍ³µÄRAMÖУ¬È»ºó½«¿ØÖÆȨ½»¸øÒýµ¼³ÌÐò¡£Òý ......

Linux MTD¼¼Êõ¼ò½é

MTD(memory technology deviceÄÚ´æ¼¼ÊõÉ豸)ÊÇÓÃÓÚ·ÃÎÊmemoryÉ豸£¨ROM¡¢flash£©µÄLinuxµÄ×Óϵͳ¡£MTDµÄÖ÷ҪĿµÄÊÇΪÁËʹеÄmemoryÉ豸µÄÇý¶¯¸ü¼Ó¼òµ¥£¬Îª´ËËüÔÚÓ²¼þºÍÉϲãÖ®¼äÌṩÁËÒ»¸ö³éÏóµÄ½Ó¿Ú¡£MTDµÄËùÓÐÔ´´úÂëÔÚ/drivers/mtd×ÓĿ¼Ï¡£ÎÒ½«CFI½Ó¿ÚµÄMTDÉ豸·ÖΪËIJ㣨´ÓÉ豸½ÚµãÖ±µ½µ×²ãÓ²¼þÇý¶¯£©£¬ÕâËIJã´ÓÉϵ½Ï ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ