UbuntuÅäÖð²×°ARM Linux½»²æ±àÒë»·¾³ÍêÕûÁ÷³Ì
½ñÌ컨ÁËÒ»ÕûÌìµÄʱ¼äÀ´½â¾öinsight µÄ¶Ë¿ÚÎÞ·¨Ð޸ĵÄÎÊÌ⣬ËäÈ»Êǽâ¾öÁË£¬µ«ÊÇÒ²¸¶³öÁ˺ܴóµÄ´ú¼Û£¬»¨ÁËÒ»ÕûÌìʱ¼ä+»ÙµôÁËÒÔǰµÄϵͳ¡£ËùÒÔÀ´ÖØÐ°²×°ÅäÖÃarm linux½»²æ±àÒë»·¾³¡£Ë³±ã¼ÇÏÂ.....
1.ÐéÄâ»ú°²×°ubuntu9.10£¬Õâ¸öºÜ¼òµ¥Á˲»ÐèÀÛÊöÁË£¬°²×°Ç°vmware»áÈÃÄãÑ¡Ôñ»®·Ö¶à´óµÄÓ²ÅÌ£¬ÆäʵÕâ¸ö²¢²»»áÊÇÕæµÄÁ¢¼´·ÖÀë³öÄÇô´óµÄ¿Õ¼ä³öÀ´£¬¼´Ê¹ÄãĿǰֻʣÏÂ5g£¬ÄãÒ²¿ÉÒÔÒªÇó»®·Ö30g£¬ÄãÖ¸¶¨µÄÖ»ÊÇÒ»¸öÉÏÏÞÖµ£¬×îºÃÉèÖôóÒ»µã£¬ÒÔÃâÒÔºó²»¹»ÓÃÓÖÖØÐÂÅäÖá£ÐéÄâ»ú°²×°ºÃÁ˵ÚÒ»¼þÊÂ×ÔÈ»Êǰ²×°vmware toolÁË£¬È»ºó¾ÍÊÇÑ¡ÔñºÃubuntuµÄÈí¼þÔ´£¬ÖйúµÄcn99ºÜ²»´í£¬apt-get update¸üÐÂÏ£¬±ãÓÚÖ®ºó×°Èí¼þ£¬ÎÒÒ»°ãÖ±½ÓÓõÄrootÓû§£¬ÃâµÃÂé·³£¬ÉèÖÃrootÃÜÂë sudo passwd root£¬Ö®ºó¾Í¿ÉÒÔÇл»ÁË¡£
2.ubuntu×Ô´øµÄgcc°æ±¾±È½Ï¸ß£¬Óï·¨ÒªÇóºÜÑϸñ£¬»á¶ÔÎÒÃÇÒÔºó±àÒ밲װijЩÈí¼þºÜ²»Àû£¬ÒªÑ¡Ôñ4.2ÒÔϵģ¬ok£¬¾Í×°4.2°É£¬ÓÃubuntuµÄÃüÁî°²×°×ȫʡÊ£¬Èç¹ûÏÂÔØÔ´Âë±àÒë°²×°£¬»áÀÛËÀÈ˵Ä
apt-get gcc4.2
È»ºóÐÞ¸ÄÎÒÃÇĬÈϵÄgcc£¬gccÔÚ/usr/binÏÂÃæ£¬ËüÆäʵֻÊÇÒ»¸öÈíÁ´½Ó£¬É¾³ýÁË£¬È»ºóÖØÐÂÖ¸¶¨Ò»Ï¡£Çл»µ½/usr/binĿ¼£¬°²×°ºÃµÄgcc4.2¾ÍÔÚÕâÀ½¨Á¢ÈíÁ´½Ó
ln -s gcc-4.2 gcc
ÔËÐÐgcc -vÏ£¬ÊÇ·ñÏÔʾÕýÈ·¡£ºÇºÇ£¬ºÜ¼òµ¥À²
3.°²×°½»²æ±àÒëÆ÷£¬ÍøÉÏÈ¥ÏÂÔØÒ»¸öºÃµÄ½»²æ±àÒ빤¾ßÁ´°É£¬ÎÒÓõÄ3.4.1£¬Õâ¸ö¸ü¼òµ¥ÁË£¬½âѹ֮£¬È»ºó½«ÆäÖеÄarmÎļþ¼ÐÒÆ¶¯µ½ÄãÏë·ÅµÄµØ·½£¬Æ©Èç/usr/local/ Ï£¬ÔÙ½«ÆäbinÎļþ·¾¶/usr/local/arm/3.4.1/binÌí¼Ó½ø/etc/environment Ï£¬ÎÒÃǾͿÉÒÔÖ±½ÓʹÓÃarm-linux-gccÁË
4.°²×°insight£¬Ò²ÊǽñÌìµÄÖØµã£¬insightÊÇ»ùÓÚgdbµÄ£¬ËùÒÔgdbÐèÒªµÄ»·¾³ÊÇÒ»¶¨ÒªÓеģ¬ÐÂÁ¦µÂ°²×°libx11-dev libncurses5-devºÍlibc6-devÕâ3¸öÒÀÀµÎļþ£¬ÏȰ²×°ºÃ°¡£¬²»È»µÈ³ö´íÁËÔÙ°²×°ÐèÒªÖØÐ±àÒ룬Âé·³ËÀÁË¡£insight±àÒë֮ǰ£¬ÒªÐÞ¸ÄÏÂÔ´
Ïà¹ØÎĵµ£º
×÷ÕߣºÁõºéÌÎ,»ªÇåÔ¶¼ûǶÈëʽѧԺ½²Ê¦¡£
ËÄ¡¢ÔÚÄÚºËÀïдi2cÉ豸Çý¶¯µÄÁ½ÖÖ·½Ê½
ǰÎĽéÉÜÁËÀûÓÃ/dev/i2c-0ÔÚÓ¦ÓòãÍê³É¶Ôi2cÉ豸µÄ²Ù×÷£¬µ«ºÜ¶àʱºòÎÒÃÇ»¹ÊÇϰ¹ßΪi2cÉ豸ÔÚÄں˲ã±àдÇý¶¯³ÌÐò¡£Ä¿Ç°ÄÚºËÖ§³ÖÁ½ÖÖ±àдi2cÇý¶¯³ÌÐòµÄ·½Ê½¡£ÏÂÃæ·Ö±ð½éÉÜÕâÁ½ÖÖ·½Ê½µÄʵÏÖ¡£ÕâÀï·Ö±ð³ÆÕâÁ½ÖÖ·½Ê½Îª“Adapter·½Ê½£¨LEGAC ......
ÕâÊÇlinuxÖÐÒ»¸ö·Ç³£ÖØÒªÃüÁÇë´ó¼ÒÒ»¶¨ÒªÊìϤ¡£ËüµÄ¹¦ÄÜÊÇΪijһ¸öÎļþÔÚÁíÍâÒ»¸öλÖý¨Á¢Ò»¸öͬ²»µÄÁ´½Ó£¬Õâ¸öÃüÁî×î³£ÓõIJÎÊýÊÇ-s,¾ßÌåÓ÷¨ÊÇ£ºln -s Ô´Îļþ Ä¿±êÎļþ¡£
µ±
ÎÒÃÇÐèÒªÔÚ²»Í¬µÄĿ¼£¬Óõ½ÏàͬµÄÎļþʱ£¬ÎÒÃDz»ÐèÒªÔÚÿһ¸öÐèÒªµÄĿ¼Ï¶¼·ÅÒ»¸ö±ØÐëÏàͬµÄÎļþ£¬ÎÒÃÇÖ»ÒªÔÚij¸ö¹Ì¶¨µÄĿ¼£¬·ÅÉϸÃÎļþ£ ......
http://blog.csdn.net/lzysystem/archive/2009/03/05/3960853.aspx
http://www.linuxidc.com/Linux/2009-06/20390.htm
http://www.linuxdiyf.com/viewarticle.php?id=163893
http://blog.sina.com.cn/s/blog_4ed66efa0100gfjx.html### ......
1. find ÔÚÌØ¶¨µÄĿ¼ÏÂËÑË÷²¢ÏÔʾָ¶¨Ãû³ÆµÄÎļþºÍĿ¼
ËÑË÷Ò»¶Îʱ¼äÄÚ±»´æÈ¡/±ä¸üµÄÎļþ»òĿ¼
find /home -admin -10 Ê®·ÖÖÓÄÚ´æÈ¡µÄÎļþ»òĿ¼
find /home -atime -10 Ê®¸öСʱÄÚ´æÈ¡µÄÎļþ»òĿ¼
find /home -cmin -10 Ê®·ÖÖÓÄÚ¸ü¸Ä¹ýµÄÎļþ»òĿ¼
find /home -ctime +10 Ê®Ð¡Ê±Ç ......
topÃüÁîÓÃÀ´ÏÔʾϵͳµ±Ç°µÄ½ø³ÌºÍÆäËü×´¿ö£»ËüÊÇÒ»¸ö¶¯Ì¬ÏÔʾ¹ý³Ì£¬¼´Óû§¿Éͨ¹ý°´¼üÀ´²»¶ÏµÄˢе±Ç°µÄ״̬£¬Èç¹ûÔÚǰִ̨ÐÐÃüÁîËû»á¶Àռǰ̨¡£Ö±µ½Óû§ÖÕÖ¹¸Ã³ÌÐòΪֹ¡£±È½Ï׼ȷµÄ˵£¬topÃüÁîÌṩÁËʵʱ¶Ôϵͳ´¦ÀíÆ÷µÄ״̬¼àÊÓ¡£Ëü½«ÏÔʾCPU×îÃô¸ÐµÄÈÎÎñÁÐ±í¡£¸ÃÃüÁî¿ÉÒÔ°´CPUʹÓã¬ÄÚ´ÖʹÓ㬺ÍÖ´ÐÐʱ¼ä¶ÔÈÎÎñ½ø ......