linux zImageÉú³É¹ý³ÌÏê½â
Äں˱àÒëÍê³Éºó»áÉú³ÉzImageÄں˾µÏñÎļþ¡£¹ØÓÚbootloader¼ÓÔØzImageµ½Äںˣ¬²¢ÇÒÌøתµ½zImage¿ªÊ¼µØÖ·ÔËÐÐzImageµÄ¹ý³Ì£¬ÏàÐÅ´ó¼Ò¶¼ºÜÈÝÒ×Àí½â¡£µ«¶ÔÓÚzImageÊÇÈçºÎ½âѹµÄ¹ý³Ì£¬¾Í²»ÊÇÄÇôºÃÀí½âÁË¡£±¾ÎĽ«½áºÏ²¿·Ö¹Ø¼ü´úÂ룬½²½âzImageµÄ½âѹ¹ý³Ì¡£
¡¡¡¡ÏÈ¿´¿´zImageµÄ×é³É°É¡£ÔÚÄں˱àÒëÍê³Éºó»áÔÚarch/arm/boot/ÏÂÉú³ÉzImage¡£
¡¡¡¡ÔÚarch/armboot/MakefileÖУº
$(obj)/zImage:¡¡$(obj)/compressed/vmlinux FORCE
¡¡¡¡¡¡¡¡¡¡¡¡¡¡ $(call if_changed,objcopy)
¡¡¡¡Óɴ˿ɼû£¬zImageµÄÊÇelf¸ñʽµÄarch/arm/boot/compressed/vmlinux¶þ½øÖÆ»¯µÃµ½µÄ
¡¡¡¡ÔÚarch/armboot/compressed/MakefileÖУº
$(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/$(HEAD) $(obj)/piggy.o
¡¡¡¡¡¡ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ $(addprefix $(obj)/, $(OBJS)) FORCE
¡¡¡¡¡¡ ¡¡¡¡¡¡ $(call if_changed,ld)
$(obj)/piggy.gz: $(obj)/../Image FORCE
¡¡¡¡¡¡ ¡¡¡¡¡¡ $(call if_changed,gzip)
$(obj)/piggy.o:¡¡$(obj)/piggy.gz FORCE
¡¡¡¡ÆäÖÐImageÊÇÓÉÄں˶¥²ãĿ¼ÏµÄvmlinux¶þ½øÖÆ»¯ºóµÃµ½µÄ¡£×¢Ò⣺arch/arm/boot/compressed/vmlinuxÊÇλÖÃÎ޹صģ¬Õâ¸öÓÐÖúÓÚÀí½âºóÃæµÄ´úÂë¡££¬Á´½ÓÑ¡ÏîÖÐÓиö –fpic²ÎÊý£º
¡¡¡¡EXTRA_CFLAGS¡¡:= -fpic¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡×ܽáÒ»ÏÂzImageµÄ×é³É£¬ËüÊÇÓÉÒ»¸öѹËõºóµÄÄÚºËpiggy.o£¬Á¬½ÓÉÏÒ»¶Î³õʼ»¯¼°½âѹ¹¦ÄܵĴúÂ루head.o misc.o£©,×é³ÉµÄ¡£
¡¡¡¡ÏÂÃæ¾ÍÒª¿´Äں˵ÄÆô¶¯ÁË£¬ÄÇôÄÚºËÊÇ´ÓʲôµØ·½¿ªÊ¼ÔËÐеÄÄØ£¿Õâ¸öµ±È»Òª¿´ldsÎļþÀ²¡£zImageµÄÉú³É¾ÀúÁËÁ½´Î´óµÄÁ´½Ó¹ý³Ì£ºÒ»´ÎÊǶ¥²ãvmlinuxµÄÉú³É£¬ÓÉarch/arm/boot/vmlinux.lds£¨Õâ¸öldsÎļþÊÇÓÉarch/arm/kernel/vmlinux.lds.SÉú³ÉµÄ£©¾ö¶¨£»ÁíÒ»´ÎÊÇarch/arm/boot/compressed/vmlinuxµÄÉú³É£¬ÊÇÓÉarch/arm/boot/compressed/vmlinux.lds£¨Õâ¸öldsÎļþÊÇÓÉarch/arm/boot/compressed/vmlinux.lds.inÉú³ÉµÄ£©¾ö¶¨¡£zImageµÄÈë¿ÚµãÓ¦¸ÃÓÉarch/arm/boot/compressed/vmlinux.lds¾ö¶¨¡£´ÓÖпÉÒÔ¿´³öÈë¿ÚµãΪ‘_start’
OUTPUT_ARCH(arm)
ENTRY(_start)
SECTIONS
{
¡¡. = 0;
¡¡_text = .;
¡¡.text : {
¡¡¡¡_start = .;
¡¡¡¡*(.start)
¡¡¡¡*(.text)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ ……
}
¡¡¡¡ÔÚarch/arm/boot/compressed/head.SÖÐÕÒµ½Èë¿Úµã.¡£
¡¡¡¡¿´¿´head.S»á×öЩʲôÑ
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
LinuxÎļþ²éÕÒÃüÁîfind,xargsÏêÊö
תÔØ×Ô http://www.cnblogs.com/starspace/archive/2008/10/20/1315384.html
×ܽ᣺zhy2111314
À´×Ô£ºLinuxSir.Org
ÕûÀí£º±±ÄÏÄϱ±
ÕªÒª£º ±¾ÎÄÊÇfind ÃüÁîµÄÏêϸ˵Ã÷£¬¿É¹óµÄÊÇÕë¶Ô²ÎÊý¾ÙÁ˺ܶàµÄʵÀý£¬´óÁ¿µÄÀýÖ¤£¬ÈóõѧÕ߸üΪÈÝÒ×Àí½â£»±¾ÎÄÊÇzhyflyÐÖÌùÔÚÂÛ̳ÖУ»Î ......
LinuxÏÂÒ²ÓлØÊÕÕ¾¹¦ÄÜ£¬µ«Ö»ÔÚGnomeµÈ×ÀÃæ»·¾³ÏÂÃæ¡£ÔÚÖÕ¶ËÏÂÃæÊÇÓÃrmÃüÁîÀ´É¾³ýÎļþ£¬¾ÍÊÇÖ±½Ó´ÓÓ²ÅÌÉÏɾ³ýÁË¡£ÒªÊÇÄãÒ»²»Ð¡ÐÄɾ´íÁËÎļþ£¬
Ö»ÄܲÉÓÃһЩ¼«Æ临ÔÓµÄÊý¾Ý»Ö¸´¹¤¾ßÀ´²¹¾È£¬¶øÇÒ»¹²»Ò»¶¨ÓÐЧ¡£ÎÒ¾ÍÓйýÕâÑùµÄ¾Àú£¬Ò»²»Ð¡ÐÄɾ´íÁËÎļþ£¬ÒÔÖ¼¸ÌìµÄ¹¤×÷³É¹ûÁ¢Âí»Ò·ÉÑÌÃð¡£ÕâÑùµÄÊÂÇé·¢
ÉúÒ»´Î¶¼Ì«¶àÁË¡£ÎÒÃÇ ......
Windows ÏÂÖ±½ÓÔËÐÐ LinuxµÄLive CD°æµÄ·½·¨
Ò»¸öżȻµÄ»ú»á,ÎÒ·¢ÏÖ.Live CD °æµÄLinux¿ÉÒÔ½èÖú qumeÔÚWindowsÏÂÖ±½ÓÔËÐÐ;·½·¨ÊÇÏÂÔØlinux-tr127 ÏÂÔصØÖ·http://www.orsoon.com/down.asp?id=1372&downid=8
ʵ
¼ÊÉÏÕâ¸öÈí¼þ°üÊÇÓÉtr127 ÓÃqumeÕâ¸öÐéÄâ»úÖÆ×÷µÄ¿ÉÔÚWindowsÏÂÔËÐеÄÐé ......