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

×öÒ»¸ö×îСµÄLinux KernelÄÚºË

×öÒ»¸ö×îСµÄLinux kernel
2004-04-23 15:18 pm
À´×Ô£ºLinuxÎĵµ
ÏÖÔØ£ºWww.8s8s.coM
µØÖ·£ºÎÞÃû
Linux ÄÜÓжàСÄØ ? ÿһ¸ö×ö embedded ϵͳµÄÈ˶¼°ÑС¿´³ÉµÚÒ»ÒªÎñ£¬ÆäʵÕâÊDz»¶ÔµÄ¡£Èç¹ûÎÒÃǶÔϵͳµÄºÃ»µºÍ´óС×÷ͼ£¬ËüÓ¦¸Ã³¤µÃÏñ
|
|----
|
| -----
|
| --------
| ---
|-----------------------
Сµ±È»²»»á±È½Ï»µ£¬µ«²»Ò»¶¨±È½ÏºÃ¡£Èç¹ûϵͳʹÓà 4MB ºÍ 5MB ûÓм۸ñ»òÐÔÄÜÉϵIJî±ð£¬ÄÇ 4MB ºÍ 5MB ÊÇÒ»ÑùºÃµÄ¡£
µ½µ×ÓжàС
·Ï»°ËµÁËÒ»¶Ñ£¬Äǵ½µ× Linux ÓжàСÄØ? ºÃ°É£¬¸÷λÕâôÓÐСţ¶ÙµÄ¾«Éñ¡£ÎÒÒ²Ö»ºÃÏë°ì·¨ÉúÒ»¸ö´ð°¸³öÀ´ÁË¡£
Ê×ÏÈÎÒ±ØÐëÉùÃ÷£¬ÎҵIJ»Ò»¶¨×îС¡£²»ÒªËµÎÒÔÚÆÛÆ­ÊÀÈË£¬ÄãµÄºËÐıÈÎÒС¡£ÎÒÎÞÒâ±È½Ï£¬ÎÒµÄÊý¾ÝÖ»ÊǸø´ó¼ÒÒ»¸ö²Î¿¼¶ø¼º¡£²»¹ýÎÒ»¶Ó­´ó¼ÒÌá³ö×Ô¼ºµÄÐĵ㬸æËß´ó¼ÒÔõôÑù×ö³ö¸üСµÄºËÐÄ¡£
ÎÒʹÓõÄÊÇ Mandrake ÄÚ¸¶µÄ 2.2.15£¬ÎÒûÓÐÐÞ¸ÄÈκÎÒ»ÐгÌÐòÂ룬ÍêÈ«Ö»¿¿ÐÞ¸Ä×é̬µµµÃµ½ÕâЩÊý¾Ý¡£
Ê×ÏÈ£¬Ê¹Óà make xconfig °ÑËùÓпÉÒÔÄõôµÄÑ¡ÏÄõá£
²»Òª floppy
²»Òª SMP,MTRR
²»Òª networking,SCSI
°ÑËùÓÐµÄ block device ÒƳý£¬Ö»ÁôÏ old IDE device
°ÑËùÓÐµÄ character device ÒƳý
°ÑËùÓÐµÄ filesystem ÒƳý£¬Ö»ÁôÏ minix
²»Òª sound Ö§Ô®
ÏàÐÅÎÒ£¬ÎÒ¼º¾­°ÑËùÓеÄÑ¡ÏÒƳýÁË¡£ÕâÑù×öÖ®ºó£¬Îҵõ½ÁËÒ»¸ö 188K µÄºËÐÄ¡£
»¹²»¹»Ð¡Âð? OK£¬ÔÙ¼ÓÉÏÒ»ÕУ¬Çë°ÑÏÂÁжþ¸öµµ°¸ÖÐµÄ -O3,-O2 Óà -Os È¡´ú¡£
./Makefile
./arch/i386/kernel/Makefile
ÕâÑùÒ»À´£¬Õû¸öºËÐÄˮСÁË 9K£¬³ÉΪ 179K¡£
²»¹ýÕâ¸öºËÐÄ¿ÖźÜÄÑ·¢»Ó Linux µÄ¹¦ÄÜ£¬Òò´ËÎÒ¾ö¶¨°ÑÍøÂç¼Ó»ØÈ¥¡£°Ñ General ÖÐµÄ network support ¼Ó»ØÈ¥£¬ÖØбàÒ룬ºËÐıä³É 189 K¡£10K »»¸ö TCP/IP stack£¬ËƺõÊǺÜÉÏËãµÄÉúÒâ¡£
²»¹ýÓÐ stack ûÓÐ driver Ò²ÊÇã¯È»£¬ËùÒÔÎÒ°Ñ embedded board ³£ÓÃµÄ RTL8139 µÄ driver ¼Ó»ØÈ¥£¬195K¡£
Èç¹ûÄãÐèÒª DOS µµ°¸ÏµÍ³£¬ÄÇ´óС³ÉΪ 213K¡£Èç¹û minix Óà ext2 »»´ú£¬Ôò´óС³É³¤ÖÁ 222K¡£
²»¹ý´ó¼ÒҪעÒ⣬ÄÇÀïµÄ´óСָµÄÊǺËÐĵµµÄ´óС¡£ÄǺÍËùÐèÒªµÄËæÈ¡¼ÇÒäÌåÊǶþ»ØÊ¡£Õâ¸öÊý×Ö´ú±íµÄÒâÒåÊÇÄãÐèÒª¶àСµÄ ROM À´´æ·ÅÄãµÄºËÐÄ¡£
Linux ËùÐèµÄ¼ÇÒäÌå´óÔ¼ÔÚ 600~800 K Ö®¼ä¡£1MB ¿ÉÄÜ¿ÉÒÔ¿ª»úÁË£¬µ«¿ÉÄܲ»Ì«ÓÐÓá£ÒòΪ¿ÉÄÜÁ¬ÔØÈë C ³ÌÐò¿â¶¼ÓÐÀ§ÄÑ¡£2MB Ó¦¸Ã¾Í¿ÉÒÔ×öµãÊÂÁË£¬µ«¿ÉÄÜÒªµ½ 4MB ÒÔÉϲſÉÒÔÖ´ÐÐÒ»¸ö±È½ÏÍêÕûµÄϵͳ¡£
µ½µ×Ë­Õ¼ÁËÕâЩ¿Õ¼ä
¿´µ½ÕâÀ


Ïà¹ØÎĵµ£º

Linux(Ubuntu)ÉèÖû·¾³±äÁ¿

½ñÌìÓÖѧÁË»·¾³±äÁ¿µÄÉèÖ㬸ÐÊܱȽÏÉîһЩ£¬Ê×ÏÈ°ÑÎÒ´ÓÍøÉÏ¿´µ½µÄÖªµÀºÍ´ó¼Ò·ÖÏíһϡ£
»·¾³±äÁ¿ÊǺÍShell½ôÃÜÏà¹ØµÄ£¬Óû§µÇ ¼ϵͳºó¾ÍÆô¶¯ÁËÒ»¸öShell¡£¶ÔÓÚLinuxÀ´ËµÒ»°ãÊÇbash£¬µ«Ò²¿ÉÒÔÖØÐÂÉ趨»òÇл»µ½ÆäËüµÄ Shell¡£¶ÔÓÚUNIX£¬¿ÉÄÜÊÇCShelll¡£»·¾³±äÁ¿ÊÇͨ¹ýShellÃüÁîÀ´ÉèÖõģ¬ÉèÖúõĻ·¾³±äÁ¿ÓÖ¿ÉÒÔ±»ËùÓе±Ç° ......

Linux »ã±àÓïÑÔ¿ª·¢Ö¸ÄÏ

http://blog.chinaunix.net/u2/62910/showart_1090856.html
Linux »ã±àÓïÑÔ¿ª·¢Ö¸ÄÏ
»ã±àÓïÑÔµÄÓŵãÊÇËٶȿ죬¿ÉÒÔÖ±½Ó¶ÔÓ²¼þ½øÐвÙ×÷£¬Õâ¶ÔÖîÈçͼÐδ¦ÀíµÈ¹Ø¼üÓ¦ÓÃÊǷdz£ÖØÒªµÄ¡£Linux ÊÇÒ»¸öÓà C ÓïÑÔ¿ª·¢µÄ²Ù×÷ϵͳ£¬ÕâʹµÃºÜ¶à³ÌÐòÔ±¿ªÊ¼Íü¼ÇÔÚ Linux Öл¹¿ÉÒÔÖ±½ÓʹÓûã±àÕâÒ»µ×²ãÓïÑÔÀ´ÓÅ»¯³ÌÐòµÄÐÔÄÜ¡£±¾ÎÄΪÄÇÐ©Ô ......

linuxѧϰ ÔËÐÐʱȷ¶¨³ÌÐò³ö´íµÄλÖÃ

       Ê×ÏÈ£¬ÔÚ±àÒë³ÌÐòʱ£¬Ôö¼Ó-gÑ¡ÏʹִÐÐÎļþ°üº¬·ûºÅÐÅÏ¢¡£Æä´Î£¬ÔÚ³ÌÐò¿ªÊ¼ÔËÐÐʱ£¬µ÷ÓÃapiº¯ÊýÉèÖÃÐźŴ¦Àíº¯Êý(Èçsignal(), sigaction()µÈ)£¬ÓÃÀ´´¦Àí¸÷ÖÖÐźš£ÀýÈç³ÌÐò·¢Éú”³ý0´íÎó”ʱ£¬¾Í»á·¢³öÒ»ÖÖÐźš£×îºó£¬Íê³ÉÒ»¸öº¯Êý¶ÑÕ»Êä³öº¯Êý¡£ÓÃbacktrack()»ñÈ¡º¯Êýµ ......

LinuxÉ豸Çý¶¯³ÌÐòѧϰ֮É豸ģÐͶþ


LinuxÉ豸Çý¶¯³ÌÐòѧϰ±Ê¼ÇϵÁÐÎÄÕÂÔ­×÷ÕßÊÇ£ºTekkaman Ninja£¬Ëû²©¿ÍµØÖ·£º
http://blog.chinaunix.net/u1/34474/showart_404278.html
ÔÚ´ËÏòTekkaman Ninja±íʾ¸Ðл£¬Ð´³öÕâôºÃµÄÎÄÕ£¬Ê¹ÎÒÉÙ×ßÁ˺ܶàÍä·¡£
ͨ¹ýÒ»¸öÉ豸ÔÚÄÚºËÖÐÉúÃüÖÜÆڵĸ÷¸ö½×¶Î£¬¿ÉÒÔ¸üºÃµØÀí½âLinuxÉ豸ģÐÍ¡£ÎÒ½«Í¨¹ý·ÖÎölddbusºÍsculldµÄÔ ......

ÔÚlinux±àÔñproc³ö´í½â¾ö°ì·¨

³ö´íÐÅÏ¢
proc PARSE=FULL DBAccess.pc
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
System default option values taken from: /home/oracle/app/product/9.2.0/precomp/admin/pcscfg.cfg
Error at line 34, column 11 in file /usr/include/stdio.h
# include <stddef.h> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ