Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux ÏÂǶÈëʽ¿ª·¢µ÷ÊÔ

 
 
µ÷ÊÔÓû§³ÌÐò£º
Ö÷»ú£ºlinux os
          eclipse + cdt + gdb +gcc½»²æ±àÒëÁ´
Ä¿±ê»ú£ºarmlinux os
           gdbServer
ͨѶ·½Ê½£ºtcp
Îļþ´«Ê䷽ʽ£ºftp, minicom, ͨ¹ýnfs.
ÅäÖòο¼£º
http://blog.chinaunix.net/u2/62168/showart_2063436.html
 
 
 
µ÷ÊÔlinux kernel. bootloder(u-boot)
µ÷ÊÔÄںˣº
GDBÇ°¶Ë<--->GDB<--->GDB·þÎñ³ÌÐò<--->JTAGЭÒéת»»Æ÷£¨·ÂÕæÆ÷£©<--->Ä¿±êCPU£¨ARM CPU£©
                                      |
                                  ¿ØÖƽӿÚ
GDBÓÐÒ»¸öºÜ´óµÄȱµã——Îı¾½çÃ棬ʹÓ÷dz£²»·½±ã¡£µ«ÐÒÔ˵ÄÊÇ£¬ÓкܶàÈÈÐĵĿª·¢ÕßΪGDBдÁËһЩͼÐΓÍâ¿Ç”——GDBÇ°¶Ë£¬´ó´ó·½±ãÁËGDBµÄʹÓá£ÒòΪÎÒÃÇ×öµÄÊǽ»²æ¿ª·¢£¨¼´ÔÚx86½á¹¹µÄµçÄÔÉÏ¿ª·¢ARMµÈ·Çx86½á¹¹µÄCPU³ÌÐò£©£¬ËùÒÔGDBÎÞ·¨Ö±½Óµ÷ÊÔ±àÒë³öÀ´µÄ³ÌÐò£¬Õâ¾ÍÐèÒªÒ»¸ö·þÎñ³ÌÐò¡£Õâ¸ö·þÎñ³ÌÐò¿ÉÒÔÊÇÒ»¸ö¿ÉÒÔ¿ØÖÆÄ¿±êCPUµÄ³ÌÐò£¨¿ÉÄÜÔËÐÐÓÚ¼ÆËã»úÉÏ£»Ò²¿ÉÄÜÔËÐÐÓÚijЩ·ÂÕæÆ÷ÉÏ£¬ÀýÈçÈçBDI2000¾ÍÊÇÕâÑù£©£¬Ò²¿ÉÒÔÊÇÒ»¸öÔËÐÐÓÚÄ¿±êCPUÉϵķþÎñ³ÌÐò£¬ÓÉËüÀ´×°Ôر»µ÷ÊԵijÌÐò¡£µ«ÊǺóÕßÒ»°ãÐèҪĿ±êCPUÉÏÒѾ­ÔËÐÐÆðÁËLinuxÄںˣ»µ÷ÊÔBootloaderºÍLinuxÄں˱¾Éí£¬ÐèҪǰһÖÖ·þÎñ³ÌÐò¡£GDBºÍGDB·þÎñ³ÌÐòÖ®¼äµÄÁ¬½Ó·½Ê½¿ÉÒÔÊÇÒÔÌ«Íø»òÕß´®¿Ú£¬¶øÇÒGDB·þÎñ³ÌÐòÒ»°ã»¹ÓбðµÄ¿ØÖƽӿڣ¬ÀýÈçTelnet½Ó¿Ú£¬¿ÉÒÔʵÏÖ¶ÔÄ¿±êCPUµÄ¿ØÖÆ£¬Èç³õʼ»¯ºÍ³ÌÐòÎļþÏÂÔصȡ£
 
host:ÔÚÖ÷»úÉÏ°²×°eclipse,gdb ºÍopenocd.
Eclipse+GDB+openocd+openJtag
ÅäÖòο¼£º
http://www.april1985.com/2009/08/26/openjtageclipse-3-5gdbmini2440/
 


Ïà¹ØÎĵµ£º

£¨³¤ÆÚ»ýÀÛ£©Ò»Ð©linuxÄÚºËѧϰ·½·¨»ýÀÛ

¡¶LinuxÄÚºËÔ´´úÂëÍêȫעÊÍ¡·ÊÇͦ²»´íµÄ£¬µ«ÒªÀí½âÕûÌå¼Ü¹¹µÄ»°»¹ÊÇÏȱð¿´Õâ¸ö£¬»¹ÊǵȾßÌå·ÖÎöÄÚºËÄĸö²¿·ÖµÄʱºòÔÙÕë¶Ô×ÅÈ¥¿´ÏàÓ¦²¿·ÖµÄ×¢ÊÍ°É£®
a.ÍƼöÄÚºËѧϰÊé¼®
  1.ѧϰÄÚºËÕûÌå½á¹¹ºÍ»ù±¾ÀíÂÛ֪ʶ: <Linux Kernel Development second edition>,ÖÐÎÄÃû:LinuxÄÚºËÉè¼ÆÓëʵÏÖ µÚ2°æ
  2.Ñ§Ï°Ç ......

ÐéÄâ»úÏÂlinuxµÄÍøÂçÅäÖÃ

      vmwareÈýÖÖÍøÂçÁ¬½Ó,qemuÁ½ÖÖÍøÂçÁ¬½ÓʵÏÖ ÐéÄâ»ú<--->Ö÷»ú ÐéÄâ»ú<--->»¥ÁªÍøͨÐŵķ½·¨¡£Ë³±ãдÁËÏÂÈçºÎ²»ÖØбàÒëÕû¸öÄÚºËÖ§³Öij¸ö¹¦ÄÜ,¶ÔϵͳÎÞÓ°Ïì,±àÒëËÙ¶ÈÒª¿ìÓÚ±àÒëÕû¸öÄںˡ£Èç¹ûÄãµÄXXX¿¨Ã»±»ÄÚºËÖ§³Ö,ÓÖÅÂ×Ô¼º±àÒëµÄÄں˻áÔì³ÉϵͳË𻵾ͿÉÒÔÊÔÊÔÕâ¸ö·½·¨à¶ ^_^
vm ......

ÊÕ¼¯µÄһЩ¼òµ¥µÄUNIX/LinuxÃæÊÔÌâ

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 Cµ÷ÊÔÈëÃÅ

1.×Ô¶¨ÒåÊä³ö
  Ïë±Ø´ó¼Ò¶¼ÓÐÀûÓÃÊä³öº¯ÊýÈçprintfÀ´°ïÖúÎÒÃǵ÷ÊÔ³ÌÐòµÄ¾­Àú£¬ÕâÊÇÒ»ÖֱȽÏԭʼµÄ³ÌÐòµ÷ÊÔ¸¨Öú·½·¨£¬ÔÚLinuxÏÂÒ²¿ÉÒÔΪÎÒÃÇËùÓᣲ»¹ýÕâÖÖ·½·¨ÓÐÒ»¸öÃ÷ÏÔµÄȱµã£¬¾ÍÊÇÔÚµ÷ÊÔÍêºóÎÒÃDZØÐë×¢ÊÍ»òɾ³ýµôÕâЩ¸¨Öú´úÂë¡£Linux CÌṩÁË-DDEBUGÕâ¸ö±àÒë±ê¼ÇÀ´¶¨ÒåDEBUGÕâ¸ö·ûºÅ£¬½èÖúÓڸ÷ûºÅ£¬ÎÒÃÇ¿ÉÒÔÔÚÓ¦Ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ