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/
Ïà¹ØÎĵµ£º
Ëæ×ÅÏÖ´ú¼ÆËã»ú¼¼ÊõµÄ·ÉËÙ·¢Õ¹ºÍ»¥ÁªÍø¼¼ÊõµÄ¹ã·ºÓ¦Ó㬴Ópcʱ´ú¹ý¶Éµ½ÁËÒÔ¸öÈËÊý×ÖÖúÀí¡¢ÊÖ³Ö¸öÈ˵çÄÔºÍÐÅÏ¢¼ÒµçΪ´ú±íµÄ3c(¼ÆËã»ú¡¢Í¨ÐÅ¡¢Ïû·Ñµç
×Ó)Ò»ÌåµÄºópcʱ´ú¡£ºópcʱ´úÀǶÈëʽϵͳ°çÑÝÁËÔ½À´Ô½ÖØÒªµÄ½ÇÉ«£¬±»¹ã·ºÓ¦ÓÃÓÚÐÅÏ¢µçÆ÷¡¢Òƶ¯¼ÆËã»úÉ豸¡¢ÍøÂçÉ豸ºÍ¹¤¿Ø·ÂÕæµÈÁìÓò¡£Ç¶Èëʽ ......
Linux 0.11ËäÈ»²»ÊÇʲô“ÖéÄÂÀÊÂê·å”£¬µ«Ëü¿Ï¶¨»¹ÊÇ“»ªÉ½”»ò“̩ɽ”¡£ËäÈ»Ó絫Ä㻹ÊÇÐèÒª×î»ù±¾µÄŬÁ¦ºÍ»¨·ÑÒ»¶¨µÄ´ú¼Û²ÅÄÜ“ÅʵǔÉÏÈ¥¡£
1. PC¼æÈÝ»úÓ²¼þ¹¤×÷ÔÀí£¨±ÈÈç8259A,8253, 8042£¬UARTµÈÓ²¼þ£©£»
2. Intel 32λ ÔËÐÐģʽ¹¤×÷ÔÀí£¬Ñ°Ö··½Ê½£»
3. ´«Í³CÓïÑÔ£»
......
[ת]Õâ¸öÌâÄ¿ºÜ´ó£¬¸øÈËÒ»ÖָоõÎÒºÃÏñºÜ³É¹¦£¬Æäʵ²»È»¡£Êµ¼ÊÉÏ×Ô¼ºË®Æ½²»¸ß£¬ÉõÖÁºÜµÍ£¬µ«ÊÇ×ö¹ýÁËһЩÇúÕÛµÄѧϰµÀ·£¬Í¬Ê±°Ñ×Ô¼ºÕæʵµÄѧϰÀú³Ì±í´ï³öÀ´£¬Ï£Íû¶ÔºóÀ´ÕßÓнè¼øµÄÒâÒ壬ÉõÐÒ£¡
¹¤×÷ÈýÄê¡¢¼¸³É·ÏÈË£¡
ÎÒ2000Äê±ÏÒµÓÚ»ªÖеØÇøµÄÒ»¸öÀí¹¤¿Æ´óѧ£¬×¨ÒµÊÇ»úеµç×Ó£¬ÎÒµ±Ê±ÒѾǩÁËÒ»¼ÒÄÚ½ij¸öÊ¡¼¶»ú¹Ø¹¤× ......
[תÌû]
Îļþϵͳ¸ÅÄî
Ò». ÎļþÓëĿ¼µÄ¶¨Òå
1. Îļþϵͳ£ºËüÊÇ´ÅÅÌÉÏÓÐÌض¨¸ñʽµÄһƬÇøÓò£¬²Ù×÷ϵͳͨ¹ýÎļþϵͳ¿ÉÒÔ·½±ãµØ²éÑ°ºÍ·ÃÎÊÆäÖÐËù°üº¬µÄ´ÅÅ̿飻
2. Îļþ£ºÎļþϵͳÖд洢Êý¾ÝµÄÒ»¸öÃüÃûµÄ¶ÔÏó¡£
3. Ŀ¼£ºÆäÖаüº¬Ðí¶àÎļþÏîÄ¿µÄÒ»ÀàÌØÊâÎļþ¡£
4. ×ÓĿ¼£º±»°üº¬ÔÚÁíÒ»¸öĿ¼ÖеÄĿ¼¡£
5. ÎļþÃû£ºÓÃÀ ......
Óð²×°¹âÅÌÒýµ¼ÏµÍ³
--> ¼üÈëlinux rescue½øÈë¾ÈԮģʽ
--> skipýÌå¼ì²é,Ñ¡ÔñÓïÑÔ,¼üÅÌ,Ñ¡continue½øÈëconsole(ÃüÁîÐÐ)ģʽ
--> chroot /mnt/sysimage --> grub-install /dev/hda(Èç¹ûÓÃlilo,ÓÃÃüÁîlilo)
--> restart
ɾ³ýlinux·ÖÇøÈçºÎ»Ö¸´windows·ÖÇø
ÓÃwindowsÆô¶¯ÅÌÆô ......