Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 ÒÔÉϲſÉÒÔÖ´ÐÐÒ»¸ö±È½ÏÍêÕûµÄϵͳ¡£
µ½µ×Ë­Õ¼ÁËÕâЩ¿Õ¼ä
¿´µ½ÕâÀ


Ïà¹ØÎĵµ£º

[תÔØ]Java°²×°ÅäÖã¨linux£©


°²×°java£º
´ò¿ªÖնˣ¬Ö´ÐÐÒÔÏÂÃüÁ»òʹÓÃAdept/ÐÂÁ¢µÃÈí¼þ¹ÜÀíÆ÷£¬ÔÚÆäÖзֱðËÑË÷"sun-java6-jre"ºÍ"sun-java6-jdk"²¢±ê¼Ç°²×°¡£
sudo apt-get install sun-java6-jre
Èç¹û¿Õ¼ä¸»Ô££¬½¨Òé°²×°Ò»¸öJDK¡£
sudo apt-get install sun-java6-jdk
Ìáʾ£º°²×°¹ý³ÌÖÐÐèÒªÄã»Ø´ðÊÇ·ñͬÒâʹÓÃЭÒ飨ÖÕ¶ËÖкìÀ¶É«µÄÌáʾ½çÃæ£ ......

LinuxÉ豸Çý¶¯³ÌÐòѧϰ֮»ù´¡Æª


LinuxÉ豸Çý¶¯³ÌÐòѧϰ±Ê¼ÇϵÁÐÎÄÕÂÔ­×÷ÕßÊÇ£ºTekkaman Ninja£¬Ëû²©¿ÍµØÖ·£º
http://blog.chinaunix.net/u1/34474/showart_404278.html
ÔÚ´ËÏòTekkaman Ninja±íʾ¸Ðл£¬Ð´³öÕâôºÃµÄÎÄÕ£¬Ê¹ÎÒÉÙ×ßÁ˺ܶàÍä·¡£
LinuxÉ豸Çý¶¯³ÌÐòѧϰ£¨0£©£­Hello, world£¡Ä£¿é
ÎÄÕÂÀ´Ô´£ºhttp://blog.chinaunix.net/u2/62910/showa ......

LinuxÉ豸Çý¶¯³ÌÐòѧϰ֮Êý¾ÝÀàÐÍÓëÄÚ´æ·ÖÅä


LinuxÉ豸Çý¶¯³ÌÐòѧϰ±Ê¼ÇϵÁÐÎÄÕÂÔ­×÷ÕßÊÇ£ºTekkaman Ninja£¬Ëû²©¿ÍµØÖ·£º
http://blog.chinaunix.net/u1/34474/showart_404278.html
ÔÚ´ËÏòTekkaman Ninja±íʾ¸Ðл£¬Ð´³öÕâôºÃµÄÎÄÕ£¬Ê¹ÎÒÉÙ×ßÁ˺ܶàÍä·¡£
ÓÉÓÚÇ°ÃæµÄѧϰÖÐÓÐÓõ½ µÚʮһÕ ÄÚºËÊý¾Ý½á¹¹ÀàÐÍ µÄ֪ʶ£¬ËùÒÔÎÒÏÈ¿´ÁË¡£ÒªµãÈçÏ£º
½«linux ÒÆÖ²µ½Ð ......

LinuxÉ豸Çý¶¯³ÌÐòѧϰ֮ÍâÉèͨÐÅ


ÔÚѧϰÓйØI/O×ÜÏßµÄÄÚÈÝʱ£¬×îºÃÏÈ¿´¿´Ïà¹ØµÄ֪ʶ£º´ÓPC×ÜÏßµ½ARMµÄÄÚ²¿×ÜÏß
I/O ¶Ë¿ÚºÍ I/O ÄÚ´æ
ÿÖÖÍâÉ趼ÊÇͨ¹ý¶Áд¼Ä´æÆ÷À´½øÐпØÖÆ¡£
ÔÚÓ²¼þ²ã£¬ÄÚ´æÇøºÍ I/O ÇøÓòûÓиÅÄîÉϵÄÇø±ð: ËüÃǶ¼ÊÇͨ¹ýÏòÔÚµØÖ·×ÜÏߺͿØÖÆ×ÜÏß·¢³öµçƽÐźÅÀ´½øÐзÃÎÊ£¬ÔÙͨ¹ýÊý¾Ý×ÜÏ߶ÁдÊý¾Ý¡£
ÒòΪÍâÉèÒªÓëI\O×ÜÏßÆ¥Å䣬¶ø´ó²¿·ÖÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ