linuxÄÚºËÉý¼¶²½Öè
1¡£ÏÂÔØ2.6.9µÄÄÚºË
2¡£ÔÚ/usr/srcĿ¼Ï½âѹÄÚºË
tar zvxf /ÏÂÔصÄ·¾¶/linux-2.6.0.tar.gz
3¡£ÅäÖÃ
# make mrproper
# make menuconfig
make mrproper ÊÇÇåÀí´úÂëÊ÷µÄ¶¯×÷£¬±£Ö¤Ô´´úÂëÊǸɾ»µÄ
4.±àÒë
make
5¡£°²×°
make modules_install
make install
¿´À´2¡£6µÄ±àÒëȷʵ±ÈÒÔÇ°·½±ã¶àÁË£¬ÒÔÇ°µÄmake bzImage make modulesµÈ²½Ö趼ÔÚmakeÒ»²½¶¼¸ã¶¨£¬ÒÔÇ°»¹Òªcp Äں˺ÍSystem.map£¬ÐÞ¸ÄGrub.confµÄ²½Ö裬ͳͳmake install¸ã¶¨£¬·½±ã°É
Èç¹ûÄã·ÅÐÄ£¬Äã¿ÉÒÔÈ¥/bootĿ¼¿´¿´ÊÇ·ñÒѾÓÐ×îеÄvlinuz-2.6.0ºÍSystem.map-2.6.0»¹ÓÐgrub.confÊÇ·ñÒѾ¸øÄã×Ô¶¯ÅäÖúÃÁË
ok£¬reboot»úÆ÷
Äں˵ÄÅäÖÃÓë±àÒë
Linuxµ±Ç°Ö§³ÖµÄCPUÀàÐÍ°üÀ¨x86¡¢ARM¡¢DEC Alpha¡¢SUN Sparc¡¢M68000¡¢MIPS¡¢PowerPCµÈ£¬Ó¦¸Ã˵ÉÏÊöÀàÐÍÒѾ°üÀ¨¾ø´ó¶àÊýÓû§Ê¹ÓõÄCPUÐͺš£ÔÚ°²×°ÓëÅäÖùý³ÌÖУ¬Linux»á×Ô¶¯Ê¶±ðÕâЩÐͺš£
ͨ³£ÒªÔËÐеĵÚÒ»¸öÃüÁîÊÇ£º££cd /usr/src/linux;make mrproper¡£È·±£Ô´´úÂëĿ¼ÏÂûÓв»ÕýÈ·µÄ.oÎļþÒÔ¼°ÎļþµÄ»¥ÏàÒÀÀµ¡£
½ÓÏÂÀ´µÄÄÚºËÅäÖùý³Ì±È½Ï·³Ëö£¬µ«ÊÇÅäÖõÄÊʵ±Óë·ñÓëÈÕºóLinuxµÄÔËÐÐÖ±½ÓÏà¹Ø£¬ÓбØÒªÁ˽âÒ»ÏÂһЩÖ÷ÒªµÄÇÒ¾³£Óõ½µÄÑ¡ÏîµÄÉèÖá£
ÅäÖÃÄں˿ÉÒÔ¸ù¾ÝÐèÒªÓë°®ºÃʹÓÃÏÂÃæÃüÁîÖеÄÒ»¸ö£º
££make config £¨»ùÓÚÎı¾µÄ×îΪ´«Í³µÄÅäÖýçÃ棩
££make menuconfig £¨»ùÓÚÎı¾Ñ¡µ¥µÄÅäÖýçÃ棩
££make xconfig £¨»ùÓÚͼÐδ°¿ÚģʽµÄÅäÖýçÃ棩
££make oldconfig £¨Èç¹ûÖ»ÏëÔÚÔÀ´ÄÚºËÅäÖõĻù´¡ÉÏÐÞ¸ÄһЩСµØ·½£¬»áÊ¡È¥²»ÉÙÂé·³£©
½øÐÐÅäÖÃʱ£¬´ó²¿·ÖÑ¡Ïî¿ÉÒÔʹÓÃÆäȱʡֵ£¬Ö»ÓÐС²¿·ÖÐèÒª¸ù¾ÝÓû§²»Í¬µÄÐèҪѡÔñ¡£ÀýÈ磬Èç¹ûÐèÒªÄÚºËÖ§³ÖDOS·ÖÇøµÄÎļþϵͳ£¬ÔòÒªÔÚÎļþϵͳ²¿·ÖÑ¡ÔñFAT»òDOSϵͳ֧³Ö£»ÏµÍ³Èç¹ûÅäÓÐÍø¿¨¡¢PCMCIA¿¨µÈ£¬ÐèÒªÔÚÍøÂçÅäÖÃÖÐÑ¡ÔñÏàÓ¦¿¨µÄÀàÐÍ¡£
Ñ¡ÔñÏàÓ¦µÄÅäÖÃʱ£¬ÓÐÈýÖÖÑ¡Ôñ£¬ËüÃÇ·Ö±ð´ú±íµÄº¬ÒåÈçÏ£º
“Y”£ ½«¸Ã¹¦ÄܱàÒë½øÄÚºË
“N”£ ²»½«¸Ã¹¦ÄܱàÒë½øÄÚºË
“M”£ ½«¸Ã¹¦ÄܱàÒë³É¿ÉÒÔÔÚÐèҪʱ¶¯Ì¬²åÈëµ½ÄÚºËÖеÄÄ£¿é¡£
½«ÓëºËÐÄÆäËü²¿·Ö¹Øϵ½ÏÔ¶ÇÒ²»¾³£Ê¹ÓõIJ¿·Ö¹¦ÄÜ´úÂë±àÒë³ÉΪ¿É¼ÓÔØÄ£¿é£¬ÓÐÀûÓÚ¼õСÄں˵ij¤¶È£¬¼õСÄÚºËÏûºÄµÄÄڴ棬¼ò»¯¸Ã¹¦ÄÜÏàÓ¦µÄ»·¾³¸Ä±äʱ¶ÔÄں˵ÄÓ°Ïì¡£Ðí¶à¹¦Äܶ¼¿ÉÒÔÕâÑù´¦Àí£¬ÀýÈçÏñÉÏÃæÌáµ½µÄÍø¿¨µÄÖ§³Ö¡¢¶ÔFATµÈÎļþϵͳµÄÖ§³Ö¡£
ÅäÖÃÍêÄںˣ¬½ÓÏÂÀ´ÐèÒª¶ÔÄ
Ïà¹ØÎĵµ£º
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
1. Q. How do you find out the processes that are currently running or a particular user?
A. ps -au Myname (-u by effective user ID (supports names)) (a - all users)
2. Q. How do you kill a process?
A. kill -9 8 (process_id 8) or kill -9 %7 ( ......
µ÷ÊÔÓû§³ÌÐò£º
Ö÷»ú£ºlinux os
eclipse + cdt + gdb +gcc½»²æ±àÒëÁ´
Ä¿±ê»ú£ºarmlinux os
gdbServer
ͨѶ·½Ê½£ºtcp
Îļþ´«Ê䷽ʽ£ºftp, minicom, ͨ¹ýnfs.
ÅäÖòο¼ ......
alarm
Èç¹û²»ÒªÇóºÜ¾«È·µÄ»°£¬Óà alarm() ºÍ signal() ¾Í¹»ÁË
unsigned int alarm(unsigned int seconds)
ʾÀý£º
&nbs ......
ͻ񻣼
±¾ÎĽ²ÊöµÄʱ½ø³Ì¹ÜÀíµÄ»ù±¾¸ÅÄîºÍ½ø³Ì¹ÜÀí¹¤¾ß½éÉÜ£»ÎÄÖеÄÖصã¶Ô½ø³Ì¹ÜÀí¹¤¾ßµÄ·ÖÀà½éÉܼ°Ó¦ÓþÙÀý£¬°üÀ¨ ps¡¢pgrep¡¢top
¡¢kill¡¢pkill¡¢killall¡¢niceºÍrenice µÈ¹¤¾ß¡£
http://www.linuxsir.org/main/?q=node/210
1¡¢³ÌÐòºÍ½ø³Ì£»
³ÌÐòÊÇΪÁËÍê³ÉijÖÖÈÎÎñ¶øÉè¼ÆµÄÈí¼þ£¬±ÈÈçOpenOfficeÊdzÌÐò¡£Ê²Ã´Êǽø³Ì ......