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

GDBµ÷ÊÔlinuxÄں˳öÏÖÎÊÌâ

¸Õ¿ªÊ¼Ñ§Ï°Ê¹ÓÃGDBµ÷ÊÔ¹¤¾ß£¬°´ÕÕÊéÉϵķ½·¨µ÷ÊÔÄںˣ¬ÔÚU-BootÉÏÉèÖÃÃüÁîÐвÎÊý¡¢Æô¶¯Äںˡ£

u-boot> set bootargs noinitrd root=/dev/mtdblock 2 console=kgdb kgdbwait
u-boot> tftp 0x30000000 uImage.img      (ÏÂÔØÍê±Ï)
u-boot> bootm 0x30000000

Æô¶¯ÐÅÏ¢ÈçÏ£º
Starting Kernel ...

Uncompressing
Linux....................................................................
..................................done,booting the kernel.


È»ºóÔÚÖ÷»úÉϽøÈëÄÚºËĿ¼£¬Æô¶¯arm-linux-gdb,

[root@friendlyarm linux-2.6.22.6]# sudo arm-linux-gdb ./vmlinux
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux"...
(gdb) set remotebaud 115200
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Couldn't establish connection to remote target
Malformed response to off


Ïà¹ØÎÊ´ð£º

linux ÏÂusbÉ豸Çý¶¯ÎÊÌâ

linux ÏÂusbÉ豸£¬ÔÚrootȨÏÞÏ£¬É豸¿ÉÒÔÕý³£ÕÒµ½Çý¶¯£¬
µ«ÔÚÆÕͨÓû§ÏÂÕÒ²»µ½É豸Çý¶¯£¬²»ÖªµÀÊÇʲôԭÒò£¿Çë¸ßÊÖÖ¸½Ì
Ó¦¸ÃÊÇrootΪÁË·ÀÖ¹ÆÕͨÓû§ÆÆ»µ°É£¬ËùÒÔ¼Ó¸öȨÏÞ¡£¡£¡£ÎҵľÍÊÇ

ȨÏÞÎÊÌâ rootÊdz¬¼¶Óà ......

linux ÏÂusbÉ豸Çý¶¯ÎÊÌ⣿

linux ÏÂusbÉ豸£¬ÔÚrootȨÏÞÏ£¬É豸¿ÉÒÔÕý³£ÕÒµ½Çý¶¯£¬ 
µ«ÔÚÆÕͨÓû§ÏÂÕÒ²»µ½É豸Çý¶¯£¬
ÔõÑù²Å¿ÉÒÔÔÚÆÕͨÓû§ÏÂʹÓÃusbÉ豸£¿
Çë¸ßÊÖÖ¸½Ì
°ï¶¥Ï¡¢

ûÓöµ½¹ý£¬ÎÒÓõÄfedoraÆÕͨÓû§Ä¬ÈϵÄÒ²ÄÜÓðɣ ......

[HJ_34] ÔÚHTMLÍøÒ³Ï£¬ÓÃJS ´ò¿ªLINUXϵļÇʱ¾

ÈçÌ⣬ÔÚWINDOWSµ×ϵÄCODE»á£¬µ«ÔÚLINUXϲ»ÖªµÀÈçºÎʵÏÖ£¬JSµÄ´úÂëÓ¦¸ÃÊDz»Ò»ÑùµÄ¡£ Çó½Ì¡£

·Ö²»¹»ÔÙ¼Ó¡£

http://topic.csdn.net/u/20100113/08/17ba1e71-4c33-43f6-91a5-0e031c86e5ed.html
linux ......

¶Ôlinux¸ÐÐËȤµÄÇë½ø

×î½ü·Å¼ÙÏëÑо¿linux£¬ÇëÄÄλ¸ßÊÖ½éÉÜÒ»ÏÂÕâ·½ÃæµÄºÃµÄÊé¼®ºÍÊÓÆµ°¡£¬Èç¹ûÓÐÊÓÆµ½Ì³ÌµÄ»°Äܲ»ÄÜ·¢µ½ÎÒµÄÓÊÏä 937607911@qq.com Íò·Ö¸Ðл
³Ã×Ågoogle»¹Ã»×ߣ¬¸Ï½ôgoogleÒ»ÏÂßÂ

ÒÔǰÓÐûÓиã¸ö
ÄãÊÇÏëÉîÈëÑо¿£¬» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ