¹¹½¨»ù±¾µÄǶÈëʽLinux¸ùÎļþϵͳ
¹¹½¨»ù±¾µÄǶÈëʽLinux¸ùÎļþϵͳ
ÆäʵÔÚÈ¥Äê8Ô·ÝÎÒ×öϵͳÒÆֲʱ¾Í¹¹½¨ºÃÁËÒ»¸ö¿ÉÒÔÓõĸùÎļþϵͳ£¬µ«ÊÇÄÇʱÊǸú×űðÈ˵ġ¶LinuxÈ«ÏßÒÆÖ²Îĵµ¡·×öµÄ¡£ÓÐЩ¶«Î÷ÎÒÒ²²»Çå³þ£¬Ö»ÊǸú×Å×ö£¬×ö³öÀ´ÄÜÓþÍÁËÊÂÁË£¬Ã»ÓÐÉÆäÖеĹ淶£¬ÒÔ¼°ÎļþϵͳÖÐÄÄЩҪ£¬ÄÄЩ²»Òª¡£
³Ã׎ñÄê¹ýÄêµÄ¼¸Ìì¼ÙÆÚ£¬ÎÒÒÆÖ²ÖØÐÂÒÆÖ²ÁËU-Boot1.3.1ºÍLinux2.6.24µ½S3C2410¼°S3C2440ºó£¬ÎÒÏëºÃºÃµÄ¿´¿´ÓÐ
¹ØÎļþϵͳ¹¹½¨·½·¨ºÍ¹æ·¶£¬ÕûÀíÕûÀí¹¹½¨¸ùÎļþϵͳµÄÎĵµ¡£Ö®ºó£¬ÎÒÓÃÁ˽üÒ»ÖܵÄʱ¼ä£¬ÂýÂýÑо¿¡¶¹¹½¨Ç¶ÈëʽLinuxϵͳ¡·Õâ±¾ÊéÓйظùÎļþϵͳµÄ²¿
·Ö£¬ÒÔ¼°Ò»Ð©ÍøÉϵIJο¼×ÊÁÏ£¬²»¶ÏµØʵÑé¡£¹¹½¨ºÃÁËÒ»¸ö¾«¼òµÄ¸ùÎļþϵͳ£¬ÏÂÃæÎÒÖ»½éÉܹ¹½¨µÄ¹ý³ÌºÍ·½·¨£¬ÖÁÓÚÔÀíÎÒ¸ø³öÒÔϲο¼×ÊÁÏ£¬×Ô¼º¿´°É¡£
1¡¢ ¡¶LinuxϵͳÒÆÖ²¡·£º
Ò»¸ö¾µäµÄLinuxÒÆÖ²Îĵµ£¬¹²ÓÐ95Ò³µÄPDFÎĵµ£¬ÄÚÈÝÊ®·ÖÏêϸ£¬ÀïÃæÓиùÎļþϵͳµÄ´´½¨£¬»¹¶àµØ·½¶¼ÓÐÏÂÔØ£¨ÓеÄÍøÕ¾³Æ֮Ϊ¡¶LinuxϵͳȫÏßÒÆÖ²Îĵµ¡·µÈµÈ£©£¬ºÜÖµµÃ²Î¿¼¡£ÔÚÕâÀï¸ÐлÎĵµµÄ×÷ÕßÃÇ¡£
2¡¢ ¡¶¹¹½¨Ç¶ÈëʽLinuxϵͳ¡·
±Ø¿´£¡
ÀïÃæ¶ÔÎļþϵͳµÄ¹¹½¨½²µÄͦϸ¡£
3¡¢ ¡¶Filesystem Hierarchy Standard¡·
LinuxÎļþϵͳµÄ±ê×¼¹æ·¶¡£ÎÒÖ»¿´µ½Ó¢Îĵġ£
ÆäËûÔÙÓöµ½²»¶®µÄ¾Ígoogle£¬»ù±¾É϶¼ÊÇLinuxµÄÏà¹Ø֪ʶ£¬¶¼ÊÇÕҵõ½µÄ¡£
£¨1£©´´½¨¸ùÎļþϵͳµÄ»ù±¾Ä¿Â¼½á¹¹¡£
ÎÒ°ÑÕâ¸ö¹ý³Ì×ö³ÉÁËshell½Å±¾(ÎļþÃûΪmkroot
) £¬ºÜ·½±ã£¡
#
!
/
bin/
sh
echo "creatint rootfs dir......"
mkdir rootfs
cd rootfs
echo "making dir : bin dev etc lib proc sbin sys usr"
mkdir bin dev etc lib proc sbin sys usr #
±Ø±¸µÄ8¸öĿ¼
mkdir usr/
bin usr/
lib usr/
sbin lib/
modules
# Don't use mknod ,unless you run this Script as root !
# mknod -m 600 dev/console c 5 1
# mknod -m 666 dev/null c 1 3
echo
"making dir : mnt tmp var"
mkdir mnt tmp var
chmod 1777 tmp
mkdir mnt/etc mnt/jffs2 mnt/yaffs mnt/data mnt/temp
mkdir var/lib var/lock var/log var/ru
Ïà¹ØÎĵµ£º
Ò»¸ö·Ç³£ÓÐÓõÄÃüÁÖ÷ÒªÓÃÀ´ÌáÈ¡¸÷ÖÖ¸÷ÑùµÄÊý¾Ý¡£
cut -cchars file
È磺
-c5 ÌáÈ¡µÚ5¸ö×Ö·û
-c5- ÌáÈ¡µÚ5¸ö×Ö·ûÒÔºóµÄ×Ö·û
-c1,5,12 ÌáÈ¡¶à¸ö×Ö·û£¬Ö ......
ÔÚLinuxÖÐʹÓõç¿ÊÇÒ»¼þ·Ç³£ÈÝÒ×µÄÊÂÇé,ÏÂÃæÒÔFedora6ΪÀý½éÉÜ°²×°Ê¹Óò½Öè.
°²×°
££ÔÚ°²×°Ö®Ç°ÇëÏÈÈ·ÈÏ£¬×Ô¼ºµÄϵͳÖÐÊÇ·ñ°²×°ÁËwxGTK
Õâ¸ö°ü£º
££Ê¹ÓÃϵͳ×Ô´øµÄÔ´¼´¿É°²×°
# yum install wxGTK
££ÏÂÔØaMule²¢°²×°(´Ë´¦°²×°µÄÊÇFedorazod°æ±¾)
& ......
ÓÉÓÚÔÚ¿ª·¢A1200ÉϵÄÁ÷ýÌå²¥·ÅÆ÷£¬Ãâ²»Á˳¤ÆÚ²¥·ÅÊÓƵ£¬½øÐÐÎȶ¨ÐÔ²âÊÔ¡£¿ªÊ¼ÊÇͨ¹ýGPRS²¦ºÅÉÏÍø£¬µ«²¥·ÅÊÓƵ̫·ÑÁ÷Á¿ÁË£¬³ä¸ö50Ôª£¬¶¼¶¥²»×¡Ò»ÌìµÄ²âÊÔ¡£¿´µ½window mobileµÄÊÖ»ú¶¼¿ÉÒÔͨ¹ýPCÉÏÍø£¬Òò´ËÏëµ½moto linuxÊÖ»úÒ²¿ÉÒÔ¹²ÏíPCÉÏÍø£¬½ÚÊ¡Á÷Á¿·ÑÓᣴÓÀíÂÛÉϽ«ÊÇ¿ÉÐеģ¬ÒòΪmotoÊÖ»ú¿ÉÒÔ¿ªÆôUSB LAN£¬Í¨¹ýUSBÁ¬½Ó ......
ÈÈÐĵãÆÀ£ºÓ²ÅÌ°²×°fedoraµÄ¹æÔò¾ÍÏñÎÒÃǷdz£ÑÇ¿ËÎ÷µÄÕþ²ßÒ»Ñù£¬ ¸æËßÄã²»ÄÜ·¢ËÍyellow¶ÌÐÅ£¬ µ«¾ÍÊDz»¸æËßÄãyellowµÄ³ß¶ÈÊÇʲô£¬ ÄãÖ»ÄÜð×ÅÊÖ»úÍ£»úµÄΣÏÕ£¬²âÊÔÏÂÄÄЩ¶ÌО¿¾¹Éä»ÆÁË¡£ ͨ¹ý²»ÏÂÁ½Î»ÊýµÄÖØÆô£¬ ÃþË÷ÁËÒ»µãµã¹æÔò¡£ OK, ÎÒÏëLinux²»ÊÇgov, °²×°»¹ÊÇÓйæÔò¿ÉÑԵģ¬Ö»ÊÇÎÒÃÇ»¹Ã»ÓÐÕÒµ½Õâ¸öreadme? ´ï ......