ARM ÓëǶÈëʽlinuxµÄÈëÃŽ¨Òé
ÔÎijö´¦£ºhttp://blog.mcuol.com/User/hzami/Article/8116_1.htm
ÓÉÓںܶàÈË×ÜÎÊÕâ¸öÎÊÌ⣬ËùÒÔÕâÀï×öÒ»¸ö×ܽáÎĵµ¹©´ó¼Ò²Î¿¼¡£ÕâÀï±ØÐëÏÈ˵Ã÷£¬ÒÔϵIJ½Ö趼ÊÇÕë¶ÔLinuxϵͳµÄ£¬²¢²»ÃæÏòWinCE¡£Ò²ÐíÄã
»á×¢Òâµ½£¬ÏÖÔÚ×öǶÈëʽµÄÈËÖУ¬×ölinuxÑо¿µÄÈËÔ¶±È×öWinCEµÄÈ˶࣬ºÜ¶à²ú¼ÒÌṩµÄ×ÊÁÏÒ²ÊÇÒÔlinuxΪÖ÷¡£ÎÒÒ»Ö±ºÜÄÑÀí½â£¬ÆäʵWinCE
µÄ½çÃæ±ÈlinuxµÄ½çÃæºÃ¿´¶àÁË£¬Ê¹ÓÃÆðÀ´Ò²ºÜ·½±ã£¬¸üΪÖØÒªµÄÊÇ£¬WinCEµÄ¿ª·¢ºÍWindowsϵĿª·¢»ù±¾Ò»Ñù£¬Ñ§ÆðÀ´¼òµ¥µÃ¶à£¬µ«ÊÇѧ
linux»òÕßʹÓÃlinux×öǶÈëʽµÄÈ˾ÍÊÇÔ¶±ÈWinCE¶à¡£Ôںͺܶ๤×÷µÄÈ˽»Á÷ʱÎÒÁ˽⵽£¬ËûÃǹ«Ë¾´Óû¿¼ÂÇʹÓÃWinCE£¬ÒòΪ³É±¾¸ß£¬¶¼ÊÇʹ
ÓÃlinux½øÐпª·¢¡£ÎÒ¶ÁÑо¿ÉúµÄµÄʵÑéÊÒÖÐҲûÓÐʹÓÃWinCEµÄ£¬´ó¶¼Ñо¿linux£¬Ò²ÓÐÉÙ²¿·ÖÏîĿʹÓÃvxwork£¬µ«ÊǾÍûÓÐÌý˵¹ýʹÓÃ
WinCEµÄ£¬ÔÒò¾ÍÊÇ¿ªÔ´£¡µ±È»ÏÖÔÚWinCE6.0Ìý˵Ҳ¿ªÔ´£¬²»¹ýÔڳɱ¾ºÍ×ÊÔ´ÉÏlinuxÒѾÓÐÁËÎÞÈËÄܵ²µÄÓÅÊÆ¡£Óë´ËÏà¶ÔÓ¦µÄÊÇ£¬Ô½À´Ô½¶àµÄµç
×Ó³§ÉÌÒѾ¿ªÊ¼Ê¹ÓÃlinux¿ª·¢²úÆ·¡£¾Ù¸öÀý×Ó£¬Google½üÆÚ¿ª·¢µÄÖÇÄÜÊÖ»ú²Ù×÷ϵͳAndroidÆäʵ¾ÍÊÇʹÓÃlinux-2.6.23Äں˽øÐÐ
¸Ä½øµÃµ½µÄ¡£
µÚÒ»£¬Ñ§Ï°»ù±¾µÄÂã»ú±à³Ì¡£
¶ÔÓÚѧӲ¼þµÄÈ˶øÑÔ£¬±ØÐëÏȶÔÓ²¼þµÄ»ù±¾Ê¹Ó÷½·¨ÓиÐÐÔµÄÈÏʶ£¬¸ü±ØÐëÉî¿ÌÈÏʶ¸ÃÓ²¼þµÄ
¿ØÖÆ·½Ê½£¬Èç¹ûÒ»¿ªÊ¼¾Íѧlinuxϵͳ¡¢Ñ§ÒÆÖ²ÄÇôֻ»áÂíÉϾÍÏÝÈëÒ»¸öºÜÉîµÄäöÎС£ÎÒÔÚ¸Õ¸Õ¿ªÊ¼Ñ§ARMµÄʱºòÊÇÑ¡ÔñARM7£¨Ö÷ÒâÊǵ±Ê±ARM9»¹ºÜ
¹ó£©£¬Ñ§ARM7µÄʱºò»¹ÊDZ£³Ö×Åѧ51µ¥Æ¬»úµÄ˼ά£¬Ê¹ÓÃADSÈ¥±à³Ì£¬µÚÒ»¸öʵÑé¾ÍÊÇ¿ØÖÆled¡£Ñ§¹ýÒ»¶Îʱ¼äARMµÄÈ˶¼»áЦÕâÑùºÜ±¿£¬Êµ¼ÊÉÏÒ²²»
ÊÇ£¬ÎÒµ¹ÊǾõµÃÓÐÕâ¸ö¹ý³Ì»áºÃºÜ¶à£¬ÒòΪÎÞÂÛ×ö¶à¸´ÔÓµÄϵͳ×îÖÕ¶¼»áÂäʵµ½ÕâЩ×îµ×²ãµÄÓ²¼þ¿ØÖÆ£¬Òò´Ë¶ÔÕâЩӲ¼þµÄ¿ØÖÆÓÐÁ˸ÐÐÔµÄÈÏʶ¾ÍºÃºÜ¶àÁË
ѧ
Ï°Âã»úµÄ±à³ÌµÄͬʱҪºÃºÃÀí½âÕâ¸öÓ²¼þµÄ¹¹¼Ü¡¢¿ØÖÆÔÀí£¬ÕâЩÎÒ³ÆËûΪÀí½âÓ²¼þ¡£ËùνµÄÀí½âÓ²¼þ¾ÍÊÇ˵£¬Àí½âÕâ¸öÓ²¼þÊÇÔõô×éÖ¯Õâô¶à×ÊÔ´µÄ£¬ÕâЩ×ÊÔ´ÓÖ
ÊÇÔõôÓÉcpu¡¢Óɱà³Ì½øÐпØÖƵġ£±ÈÈç˵£¬s3c2410ÖÐÓÐADת»»Æ÷£¬ÓÐGPIO£¨Í¨ÓÃIO¿Ú£©£¬»¹ÓÐnandflash¿ØÖÆÆ÷£¬ÕâЩ¶«Î÷¶¼ÓÐһЩ
¼Ä´æÆ÷À´¿ØÖÆ£¬ÕâЩ¼Ä´æÆ÷¶¼ÓÐÒ»¸öµØÖ·£¬ÄÇôÕâЩµØÖ·ÊÇʲôÒâ˼£¿ÓÖÔõôͨ¹ý¼Ä´æÆ÷À´¿ØÖÆÕâЩÍâΧÉ豸µÄÔËת£¿»¹ÓУ¬norflashÄÚ²¿µÄÿһ¸öµ¥ÔªÔÚ
Õâ¸öоƬµÄÄÚ´æÖж¼ÓÐÒ»¸öÏàÓ¦µÄµØÖ·µ¥Ôª£¬ÄÇôÕâЩµØÖ·Óë¸Õ¸Õ˵µÄ¼Ä´æÆ÷µØÖ·ÓÖÓÐʲô¹Øϵ£¿ËûÃÇÊÇÒ»ÑùµÄÂ𣿶øÓënorflashÏà¶ÔÓ¦µÄ
nandflashÄÚ²¿
Ïà¹ØÎĵµ£º
½ñÌ죬°ÑwindowsÏµĹ¤³Ìµ¼Èëµ½ÁËLinuxÏÂeclipseÖУ¬ÓÉÓÚÒÔÇ°µÄ¹¤³Ì´úÂ룬¶¼ÊÇGBK±àÂëµÄ£¬¶øUbuntuĬÈÏÊDz»Ö§³ÖGBK±àÂëµÄ¡£ËùÒÔ£¬Ê×ÏÈÎÒÃÇÒªÏÈÈÃUbuntuÖ§³ÖGBK£¬·½·¨ÈçÏ£º
1.
ÐÞ¸Ä/var/lib/locales /supported.d/localÎļþ,ÔÚÎļþÖÐÌí¼Ó
z ......
ÔÎĵØÖ·£ºhttp://soft.yesky.com/os/lin/326/2237826.shtml
±¾ÎÄÏêϸµØ½éÉÜÁËÔÚ Linux 2.6.13 ÄÚºËÖÐÐÂÒýÈëµÄÎļþϵͳ±ä»¯Í¨Öª»úÖÆ inotify£¬²¢¾ÙÀý˵Ã÷ÁËËüµÄʹÓÃÓëµäÐÍÓ¦Óð¸Àý¡£
Ò»¡¢ÒýÑÔ
ÖÚËùÖÜÖª£¬Linux ×ÀÃæϵͳÓë MAC »ò Windows Ïà±ÈÓÐÐí¶à²»ÈçÈËÒâµÄµØ·½£¬ÎªÁ˸ÄÉÆÕâÖÖ×´¿ö£¬¿ªÔ´ÉçÇøÌá³öÓû§Ì¬ÐèÒªÄÚºËÌṩ ......
¿â´Ó±¾ÖÊÉÏÀ´ËµÊÇÒ»ÖÖ¿ÉÖ´ÐдúÂëµÄ¶þ½øÖƸñʽ£¬¿ÉÒÔ±»ÔØÈëÄÚ´æÖÐÖ´ÐС£¿â·Ö¾²Ì¬¿âºÍ¶¯Ì¬¿âÁ½ÖÖ¡£
¾²Ì¬¿âºÍ¶¯Ì¬¿âµÄÇø±ð
1. ¾²Ì¬º¯Êý¿â
ÕâÀà¿âµÄÃû×ÖÒ»°ãÊÇlibxxx.a£»ÀûÓþ²Ì¬º¯Êý¿â±àÒë³ÉµÄÎļþ±È½Ï´ó£¬ÒòΪÕû¸ö º¯Êý¿âµÄËùÓÐÊý¾Ý¶¼»á±»ÕûºÏ½øÄ¿±ê´úÂëÖУ¬ËûµÄÓŵã¾ÍÏÔ¶øÒ×¼ûÁË£¬¼´±àÒëºóµÄÖ ......
µ±Òª½¨Á¢Ï̵߳Èʱ£¬ÔÚLinuxÏ£¬ÓÃÎı¾±à¼£¬ÔÚ¼üÈë“g++ -lpthread”.......“¿ÉÒÔ°Ñ¿âpthreadÒýÈ딣¬±àÒëͨ¹ý¡£ÏÖÔÚÏëÓÃeclipse£¬µ«ÊÇĬÈÏÇé¿öÏ£¬ÒýÈë²»ÁËpthread¡£»á±¨“undefined reference to phread_create”µÈ´íÎó¡£
½â¾ö·½·¨£º¿ÉÒÔÔÚprojectÖкõ½properties
ÔÚÀïÃæµÄ&ldquo ......