linuxѧϰָÄÏ
Ç°ÑÔ£¬Linux/Unix ÉçÇøµÄ°æ¿é²»ÈÈÄÖ£¬ÐÂÊÖÌ«¶à£¬¸ßÊÖ̫棬ż°Ñ×Ô¼ºÕ⼸ÄêµÄLinuxѧϰµÄ¹ý³Ì½²½²£¬Ï£ÍûÄܸø´ó¼ÒÓеã°ïÖú£¬
Òýµ¼³õѧÕßѧϰµÄ·½Ïò£¬ÉÙ×ßÍä·£¬Ê°빦±¶£¬Í¬Ê±Ò²ÊÇÅ×שÒýÓñ£¬Çë¹ýÀ´ÈËÈÈÁÒ·¢ÑÔ¡£
1. Ê×ÏÈÊìϤ Linux
½¨ÒéÔÚ Windows ÉÏ°²×° VMware Workstation 6.5.0(ÒÔϼò³ÆVM£©, ÏÂÔØÖÖ×ÓÔÚ http://www.verycd.comÉÏÕÒ¡£
°²×°ºÃ VM ºó£¬ÔÚVMÀï°²×° Linux Fedora core 4 »òÕß×îÐ嵀 Linux Fdrora 12, ÏÂÔØÍøÖ·£ºhttp://fedoraproject.org/get-fedora
ÔÚWinodws ÉÏÓÿªÔ´µÄ putty, »òÕß SecureCRT ͨ¹ýSSH·ÃÎÊVMÀïµÄ linux.
WinodwsºÍLinux¼äcopyÎļþ¿ÉÒÔͨ¹ý¿ªÔ´µÄ Winscp£¬»òÕßÔÚVMÀ↑ÆôÎļþ¹²Ïí£¬»òÕßÔÚlinuxÉÏ¿ªÆôSMB·þÎñ¡£
½¨ÒéÊìϤÎı¾½çÃæÉϳ£ÓÃµÄ shellÃüÁî¡£µ±È»linuxµÄͼÐνçÃæÒ²±È½ÏÓѺã¬ÔÚÎı¾½çÃæͨ¹ý startx ¿ÉÒÔ½øÈëGUI¡£
ÕâÀàÊ鼮̫¶àÁË£¬×Ô¼ºÈ¥ÕÒÁ½±¾¹úÍâ×÷ÕßдµÄlinuxÈëÃÅÊé¡£
2. ÔÚLinuxÉÏ£¬ÓÃC£¬C++×öÓ¦ÓóÌÐò¿ª·¢£¨·þÎñÆ÷³ÌÐò£¬¼´·ÇGUI³ÌÐò£©¡£
½¨Òé¿´¾µäµÄÊ顶Unix»·¾³¸ß¼¶±à³Ì¡·£¬W.Richard StevensÖø¡£ÍøÂç±à³Ì¿ÉÒÔ¿´¡¶TCP/IPÏê½â¡·Èý¾íÊé.
ѧϰMakefileµÄд·¨¡£
ÎÒÏ°¹ßÔÚlinuxÉÏÆôÓà smb ·þÎñ£¬ÔÚwindows xpÉÏÓà source insight ±à¼C¡¢C++´úÂ룬ͨ¹ýSecureCRT·ÃÎÊlinux, Ö´ÐÐmakeÃüÁ
Õû¸ö¹¤³Ì×Ô¶¯Éú³É¡£µ±È»Ò²ÓиßÊÖϲ»¶ÓÃVI, ÎÒÒ»°ã²»Ó㬳ý·ÇûÓпÉÒÔÑ¡ÔñµÄ±à¼Æ÷¡£
ÒªÊÇÓÐVCµÄ¿ª·¢¾Ñ飬ѧϰÆðÀ´ºÜ¿ì£¬¹À¼Æ2ÖܾÍÄÜÉÏÊÖ¡£
3. ½øÈë Linux Äں˿ª·¢¡£
Äں˿ª·¢µÄѧϰÄѶÈÒª±È Linux Ó¦ÓóÌÐò¿ª·¢´ó 3±¶×óÓÒ¡£»ù±¾ÉÏ£¬ÓÐÒ»ÄêµÄlinuxÓ¦Óÿª·¢¾Ñ飬¾Í¿ÉÒÔÖ÷¶¯½øÈëµ½linux Äں˿ª·¢¡£
±Ø¿´µÄÊé¼®£»¡¶Linux Device Drivers¡·£¬¡¶Understanding TheLinux Kernel¡·£¬¡¶Linux
Kernel Development¡·(·Ö±ð¼ò³ÆLDD£¬ULK£¬
LKD£©¡£LDD£¬ULK£¬ÎÒ´Ó׿ԽÍø»òÕßµ±µ±ÍøÂòÁËÖ½ÖÊ°æµÄ¡£µ±È»PDF¸ñʽµÄµç×Ó°æÒ²ÓУ¬´ó¼Ò¿ÉÒÔgoogle.
ѧϰ±àÒëÄÚºË,ÅäÖÃÄÚºË,ÓÃÐÂÄÚºËÆô¶¯ÏµÍ³.
ѧϰдÄÚºËÄ£¿é, Á˽âÄں˳£ÓõÄAPI¡£
¿ÉÒÔ·ÖÎöTCP/IPÐÒéÕ»£¬Íø¿¨Çý¶¯µÈµÈ¡£
ÀýÈçTCP/IPÐÒéÕ»£¬¾µäµÄÊ飺
W.Richard StevensÖø¡¶TCP/IPÏê½â¡·Èý¾íÊé.
RFCÎĵµ¡£
lwIP£¬Ò»¸ö¿ªÔ´µÄTCP/IPÐÒéÕ»£¬±ÈLinux×Ô¼ºµÄTCP/IPÐÒéÕ»Òª¼òµ¥¡£
¿ªÔ´µÄÐÒé·ÖÎö¹¤¾ß£ºwireshark¡£
ѧϰÍøÂç¼¼Êõ£¬¿ÉÒԲο¼ÎÒÔÚVC°æµÄÌù×Ó£ºhttp://topic.csdn.net/u/2
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
½ñÌìÖÕÓÚÄõ½moto¹Ù·½SDK£¬ÊÇfor A1200µÄ£¬°üÀ¨toolchianºÍEZX¿â¼°Í·Îļþ£¬¸ÃSDKÒ²ÊÊÓÃÓÚmoto E6. °´ÕÕ°²×°Ö¸µ¼Îĵµ°²×°ºÃSDK²¢Ö´Ðнű¾ÉèÖúû·¾³±äÁ¿ºó£¬Ê×ÏÈÊÇbuildÒ»¸ö×î¼òµ¥µÄsample³ÌÐòhello£¬ÒÔÑéÖ¤SDKÊÇ·ñ°²×°ÕýÈ·¡£ÔËÐÐqmakeÈ´³öÏÖÈçÏ´íÎó£º
~/workspace/devtools/moto-sdk/sample/gui/hello$ qmake hello.pro&n ......
Å£½ò×ÖµäÖжÔ"kernel"Ò»´ÊµÄ¶¨ÒåÊÇ£º"½ÏÈíµÄ¡¢Í¨³£ÊÇÒ»¸ö¼á¹û¿ÉʳÓõIJ¿·Ö¡£"µ±È»»¹ÓеڶþÖÖ¶¨Ò壺"ij¸ö¶«Î÷ºËÐÄ»òÕß×îÖØÒªµÄ²¿·Ö¡£"¶ÔLinuxÀ´Ëµ£¬ËüµÄKernelÎÞÒÉÊôÓÚµÚ¶þÖÖ½âÊÍ¡£ÈÃÎÒÃÇÀ´¿´¿´Õâ¸öÖØÒªµÄ¶«Î÷ÊÇÈçºÎ¹¤×÷µÄ£¬ÏÈ´ÓÒ»µãÀíÂÛ˵Æð¡£
¹ãÒåµØÀ´Ëµkernel¾ÍÊÇÒ»¸öÈí¼þ£¬ËüÔÚÓ²¼þºÍÔËÐÐÔÚ¼ÆËã»úÉϵÄÓ¦ÓóÌÐòÖ®¼äÌá¹ ......
¡¡¡¡Õâ¶Îʱ¼äÀÏÅöµ½ÓÐÈËÎʼ°¸÷¸öLinux°æ±¾µÄ±¾µØrootÃÜÂëÆƽⷽ·¨£¬ÎÒÕâÀï×Ô¼ºÒÔ¼°ÔÚÍøÂçÉÏËѼ¯ÁËЩ×ÊÁÏ£¬Ï£Íû¶Ô¿´µ½ÁËÕâÎÄÕ¶øÓÖÇ¡ºÃÓõõ½µÄ¼¼ÊõÈËÔ±Óеã°ïÖú£º
(Ò»)RedHat/CentOS/Fedora ϵͳÃÜÂëÆƽâ
¡¡¡¡1.ÔÚgrubÑ¡Ïî²Ëµ¥°´E½øÈë±à¼Ä£Ê½
¡¡¡¡2.±à¼kernel ÄÇÐÐ×îºó¼ÓÉÏ¿Õ¸ñS (»òÕß¿Õ¸ñSingle)
¡¡¡¡3.°´B£¬Æô¶¯µ ......
ARP (Address Resolution Protocol) ÊÇÓÃÀ´°ÑIPµØַת»¯³É»úÆ÷µÄÍø¿¨ÎïÀíµØÖ·£¨Ó²¼þµØÖ·£©¡£µ±Ò»Ì¨»úÆ÷ÒªÏòÁíÍâһ̨ÎïÀíÉÏÏàÁ¬µÄ»úÆ÷·¢ËÍIP°üµÄʱºò£¬ËüÒªÏȼì²éÒ»ÏÂ×Ô¼ºµÄARP»º´æ£¬ÊÔͼÕÒµ½¶Ô·½µÄÓ²¼þµØÖ·£¬Èç¹ûÕÒ²»µ½µÄ»°£¬°ÑÒª·¢Ë͵ÄIP°ü·ÅÈëµÈ´ý¶ÓÁÐÖУ¬½Ó×Å·¢³öÒ»¸öARPÇëÇ󡣵ȵ½ÊÕµ½ARPÓ¦´ðµÄʱºò£¬¹¹ÔìºÃÔÀ´ÕýÔڵȴ ......