linuxÆô¶¯¹ý³Ì
±¾Ô´´ÎÄÕÂÊôÓÚ¡¶Linux´óÅï¡·²©¿Í£¬²©¿ÍµØַΪhttp://roclinux.cn¡£ÎÄÕÂ×÷ÕßΪrocrocket¡£
ΪÁË·ÀֹijЩÍøÕ¾µÄ¶ñÐÔתÔØ£¬ÌØÔÚÿƪÎÄÕÂÇ°¼ÓÈë´ËÐÅÏ¢£¬»¹Íû¶ÁÕßÌåÁ¡£
===
[ÕýÎÄ¿ªÊ¼]
Æô¶¯µÚÒ»²½££¼ÓÔØBIOS
µ±
Äã´ò¿ª¼ÆËã»úµçÔ´£¬¼ÆËã»ú»áÊ×ÏȼÓÔØBIOSÐÅÏ¢£¬BIOSÐÅÏ¢ÊÇÈç´ËµÄÖØÒª£¬ÒÔÖÁÓÚ¼ÆËã»ú±ØÐëÔÚ×ʼ¾ÍÕÒµ½Ëü¡£ÕâÊÇÒòΪBIOSÖаüº¬ÁËCPUµÄÏà¹Ø
ÐÅÏ¢¡¢É豸Æô¶¯Ë³ÐòÐÅÏ¢¡¢Ó²ÅÌÐÅÏ¢¡¢ÄÚ´æÐÅÏ¢¡¢Ê±ÖÓÐÅÏ¢¡¢PnPÌØÐԵȵȡ£ÔÚ´ËÖ®ºó£¬¼ÆËã»úÐÄÀï¾ÍÓÐÆ×ÁË£¬ÖªµÀÓ¦¸ÃÈ¥¶ÁÈ¡ÄĸöÓ²¼þÉ豸ÁË¡£
Æô¶¯µÚ¶þ²½££¶ÁÈ¡MBR
ÖÚËùÖÜÖª£¬Ó²ÅÌÉϵÚ0´ÅµÀµÚÒ»¸öÉÈÇø±»³ÆΪMBR£¬Ò²¾ÍÊÇMaster Boot Record£¬¼´Ö÷Òýµ¼¼Ç¼£¬ËüµÄ´óСÊÇ512×Ö½Ú£¬±ð¿´µØ·½²»´ó£¬¿ÉÀïÃæÈ´´æ·ÅÁËÔ¤Æô¶¯ÐÅÏ¢¡¢·ÖÇø±íÐÅÏ¢¡£
ϵͳÕÒµ½BIOSËùÖ¸¶¨µÄÓ²Å̵ÄMBRºó£¬¾Í»á½«Æ临ÖƵ½0×7c00µØÖ·ËùÔÚµÄÎïÀíÄÚ´æÖС£Æäʵ±»¸´ÖƵ½ÎïÀíÄÚ´æµÄÄÚÈݾÍÊÇBoot Loader£¬¶ø¾ßÌåµ½ÄãµÄµçÄÔ£¬ÄǾÍÊÇlilo»òÕßgrubÁË¡£
Æô¶¯µÚÈý²½££Boot Loader
Boot Loader ¾ÍÊÇÔÚ²Ù×÷ϵͳÄÚºËÔËÐÐ֮ǰÔËÐеÄÒ»¶ÎС³ÌÐò¡£Í¨¹ýÕâ¶ÎС³ÌÐò£¬ÎÒÃÇ¿ÉÒÔ³õʼ»¯Ó²¼þÉ豸¡¢½¨Á¢ÄÚ´æ¿Õ¼äµÄÓ³Éäͼ£¬´Ó¶ø½«ÏµÍ³µÄÈíÓ²¼þ»·¾³´øµ½Ò»¸öºÏÊʵÄ״̬£¬ÒÔ±ãΪ×îÖÕµ÷ÓòÙ×÷ϵͳÄÚºË×öºÃÒ»ÇÐ×¼±¸¡£
Boot LoaderÓÐÈô¸ÉÖÖ£¬ÆäÖÐGrub¡¢LiloºÍspfdiskÊdz£¼ûµÄLoader¡£
ÎÒÃÇÒÔGrubΪÀýÀ´½²½â°É£¬±Ï¾¹ÓÃliloºÍspfdiskµÄÈ˲¢²»¶à¡£
ϵͳ¶ÁÈ¡ÄÚ´æÖеÄgrubÅäÖÃÐÅÏ¢£¨Ò»°ãΪmenu.lst»ògrub.lst£©£¬²¢ÒÀÕÕ´ËÅäÖÃÐÅÏ¢À´Æô¶¯²»Í¬µÄ²Ù×÷ϵͳ¡£
Æô¶¯µÚËIJ½££¼ÓÔØÄÚºË
¸ù¾ÝgrubÉ趨µÄÄÚºËÓ³ÏñËùÔÚ·¾¶£¬ÏµÍ³¶ÁÈ¡ÄÚ´æÓ³Ïñ£¬²¢½øÐнâѹËõ²Ù×÷¡£´Ëʱ£¬ÆÁĻһ°ã»áÊä³ö“Uncompressing Linux”µÄÌáʾ¡£µ±½âѹËõÄÚºËÍê³Éºó£¬ÆÁÄ»Êä³ö“OK, booting the kernel”¡£
ϵͳ½«½âѹºóµÄÄں˷ÅÖÃÔÚÄÚ´æÖ®ÖУ¬²¢µ÷ÓÃstart_kernel()º¯ÊýÀ´Æô¶¯Ò»ÏµÁеijõʼ»¯º¯Êý²¢³õʼ»¯¸÷ÖÖÉ豸£¬Íê³ÉLinuxºËÐÄ»·¾³µÄ½¨Á¢¡£ÖÁ´Ë£¬LinuxÄÚºËÒѾ½¨Á¢ÆðÀ´ÁË£¬»ùÓÚLinuxµÄ³ÌÐòÓ¦¸Ã¿ÉÒÔÕý³£ÔËÐÐÁË¡£
Æô¶¯µÚÎå²½££Óû§²ãinitÒÀ¾ÝinittabÎļþÀ´É趨ÔËÐеȼ¶
Äں˱»¼ÓÔغ󣬵ÚÒ»¸öÔËÐеijÌÐò±ãÊÇ/sbin/init£¬¸ÃÎļþ»á¶ÁÈ¡/etc/inittabÎļþ£¬²¢ÒÀ¾Ý´ËÎļþÀ´½øÐгõʼ»¯¹¤×÷¡£
Æäʵ/etc/inittabÎļþ×îÖ÷ÒªµÄ×÷ÓþÍÊÇÉ趨LinuxµÄÔËÐеȼ¶£¬ÆäÉ趨ÐÎʽÊÇ“£ºid:5:initdefault:”£¬Õâ¾Í±íÃ÷LinuxÐèÒªÔËÐÐÔڵȼ¶5ÉÏ¡£LinuxµÄÔËÐеȼ¶É趨ÈçÏ£º
0£º¹Ø»ú
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
ÏȼòÒª½éÉÜÏÂddµÄ²ÎÊý£¬ºó±ßͨ¹ý¼¸¸öʵÀý½éÉÜddµÄÓ¦Ó㬲ο¼ÁËÆäËûÍøÓѵÄ×ÊÁÏ£¬ÔÚ´ËÒ»
²¢¸Ðл£¬Ë®Æ½ÓÐÏÞÎÄÖÐÓÐʲô´íÎóÇë´ó¼ÒÖ¸Õý¡£
dd ÊÇ Linux/UNIX ϵÄÒ»¸ö·Ç³£ÓÐÓõÄÃüÁ×÷ÓÃÊÇÓÃÖ¸¶¨´óСµÄ¿é¿½±´Ò»¸öÎļþ£¬²¢ÔÚ¿½±´
µÄͬʱ½øÐÐÖ¸¶¨µÄת»»¡£
1. ÃüÁî¼ò½é
dd µÄÖ÷ҪѡÏ
Ö¸¶¨Êý×ֵĵط½ÈôÒÔÏÂÁÐ×Ö·û½áβ³ËÒÔÏ ......
ÔÚÉÏһƪÎÄÕÂÖУ¬½éÉÜÁËÏ̵߳Ĵ´½¨ºÍÍ˳ö£¬ÒÔ¼°Ïà¹Øº¯ÊýµÄʹÓá£ÆäÖÐpthread_createº¯ÊýµÄµÚ¶þ¸ö²ÎÊý£¬ÊǹØÓÚÏß³ÌÊôÐÔµÄÉèÖã¬ÕâÒ²ÊǽñÌìËùÓн²ÊöµÄ¡£ÕâЩÊôÐÔÖ÷Òª°üÀ¨°î¶¨ÊôÐÔ¡¢·ÖÀëÊôÐÔ¡¢¶ÑÕ»µØÖ·¡¢¶ÑÕ»´óС¡¢ÓÅÏȼ¶¡£ÆäÖÐϵͳĬÈϵÄÊǷǰ¡¢·Ç·ÖÀ롢ȱʡ1MµÄ¶ÑÕ»¡¢Ó븸½ø³ÌͬÑù¼¶±ðµÄÓÅÏȼ¶¡£ÔÚpthread_createÖÐ ......
1. Ïà¹Øº¯Êý & ......