½¨Á¢ARM+LinuxÓ¦ÓóÌÐòµ÷ÊÔ»·¾³
½¨Á¢ARM+LinuxÓ¦ÓóÌÐòµ÷ÊÔ»·¾³
Gdb+gdbserver+insight»·¾³µÄ´î½¨
1. ÏÂÔØgdbÔ´´úÂë http://ftp.gnu.org/gnu/gdb/
2. ÅäÖð²×°gdb+gdbser
$ tar jxvf gdb-6.6.tar.bz2
$ cd x/gdb
$ ./configure --target=arm-linux --prefix=/usr/local/arm-gdb –v
--prefixÓÃÓÚÖ¸¶¨°²×°Â·¾¶
--target=arm-linux ÓÃÓÚÖƶ¨Ä¿±ê»·¾³µÄ±àÒë
±àÒ룬 $ make
°²×°£¬ $ sudo make install
Ö®ºóÔÚx/binÎļþ¼ÐÏÂÉú³Éarm-linx-gdb¿ÉÖ´ÐÐÎļþ.
$ cd gdbserver
ÅäÖÃÎļþ£º
$ ./configure --target=arm-linux --host=arm-linux
£¨--target=arm-linux±íʾĿ±êƽ̨£¬--host±íʾÖ÷»ú¶ËÔËÐеÄÊÇarm-linux-gdb£¬²» ÐèÒªÅäÖ×prefix£¬ÒòΪgdbserver²»ÔÚÖ÷»ú¶Ë°²×°ÔËÐУ©
$ make CC=/usr/local/arm/2.95.3/bin/arm-linux-gcc
(ÕâÒ»²½ÒªÖ¸¶¨Äã×Ô¼ºµÄarm-linux-gccµÄ¾ø¶ÔλÖã¬Ïà¶ÔµÄͨ³£²»ÐУ¬Ìáʾmake: arm-linux-gcc: Command not found£¬Èç¹ûÓõÄÏà¶Ô·¾¶£¬¼´Ö±½Ó¸³Öµarm-linux-gcc£¬¿É²ÉÈ¡makeʱ´«µÝ²ÎÊý£¬Ò²¿ÉÒÔÖ±½ÓÐÞ¸ÄgdbserverĿ¼ÏµÄMakefileÎļþÖеĻ·¾³±äÁ¿CC)
Ö®ºóÔÚgdbserverĿ¼ÏÂÉú³Égdbserver¿ÉÖ´ÐÐÎļþ.
¿É½«Ëüͨ¹ýnfs¿½±´µ½Ä¿±ê°åÉÏÔËÐÐ.
È磺mount –t nfs host:/friendly-arm/root /mnt –o ro,nolock
ÕâÀïÈç¹ûûÓмÓÉÏÑ¡Ïî –o ro,nolock ÎÞ·¨Õý³£mount.
@ÔÚÄ¿±ê°åÉÏÔËÐÐ
(1)½«Òªµ÷ÊÔµÄÎļþºÍgdbserver·ÅÔÚͬһ¸öÎļþ¼ÐÏÂ
vivi> ./gdbserver host:port “´ýµ÷ÊÔÎļþ”
£¨2£©ÔÚÖ÷»ú¶ÎÖ´ÐÐ arm-linux-gdb “´ýµ÷ÊÔÎļþ”
£¨gdb£©target remote client:port Á¬½Ó¿Í»§»ú
×¢Ò⣺£¨1£©ÔÚÄ¿±ê»úÉÏͨ¹ýgdbserverµ÷ÊԵijÌÐòÔÚgdbserverÔËÐеÄʱºòÒѾÔËÐÐÁË£¬²¢ÇÒÆäÖв»°üº¬µ÷ÊԵķûºÅÐÅÏ¢£¬ËùÒÔÒªÏë¼ÓÈë·ûºÅÐÅÏ¢Ö»ÄÜͨ¹ýhostÔËÐеÄgdb¼ÓÈ뺬Óе÷ÊÔÐÅÏ¢µÄ¿ÉÖ´ÐÐÎļþ¡£
£¨2£©¸Õ¿ªÊ¼µÄʱºò½«./gdbserverÏÂÔص½Ä¿±ê»úºó²»ÄÜÔËÐУ¬ÆäÖ÷ÒªÔÒò¾ÍÊÇËùÖÆ×÷µÄÍøÂç¸ùÎļþϵͳȱÉÙlibthread_db.so.1¿âÎ
Ïà¹ØÎĵµ£º
×òÌì·Ö±ðÊÔÓÃÁËÒ»ÏÂLinuxϺÍWindowsϵÄIPv6 Ping£¬·¢ÏÖÎÞ·¨ping Link-localµØÖ·£¬°Ù˼²»µÃÆä½â£¬ËìÉÏÍøgoogleһϣ¬ÖÕÓÚÕÒµ½ÁËÔÒò¡£
Windows XPϵÄIPv6µØÖ·£º
Ethernet adapter Test:
Connection-specific DNS Suffix . :
& ......
¡¡¡¡»·¾³£ºCentOS 5.3 x86_64Ï£¬/dev/sdb1ΪÊý¾Ý·ÖÇø/data0£¬EXT3Îļþϵͳ¡£
¡¡¡¡Ç°Òò£ºÎóɾÁË/data0/tcsql/cankao/phpcws-1.5.0/httpcws.cppÎļþ¡£ÓÉÓÚÍüÁ˱¸·Ýhttpcws.cppÎļþ£¬ÖØпª·¢¹¤×÷Á¿½Ï´ó£¬Òò´ËÖ»Óлָ´¸ÃÎļþÒ»Ìõ·¿É×ß¡£
¡¡¡¡debugfsÃüÁîÕë¶ÔEXT2·ÖÇø»¹ÐУ¬µ«¶ÔEXT3·ÖÇø¾Í°ï²»ÉÏæÁË¡£Å¼È»·¢ÏÖµÄÒ»¿î¿ªÔ´Èí ......
¿É°²×°ÔÚUÅÌÉϵIJÙ×÷ϵͳ Puppy Linux 4.1 Beta
Ò»¡¢ UÅÌ°²×°Puppy Linux·½·¨
1¡¢ÏÂÔØ°²×°FlashBoot¡£¿ÉÒÔÔÚgoogleÉÏËÑÒ»ÏÂÏÂÔØ
ÔËÐÐFlashBoot£¬°´ÏÂͼºìÉ«¿òÑ¡Ôñ£¬µã¡¾ÏÂÒ»²½¡¿
Ñ¡ÔñÄãÏÂÔصÄiso¾µÏñ£¬¡¾ÏÂÒ»²½¡¿
Ñ¡ÔñÄãµÄUÅÌÅÌ·û£¬²»ÒªÑ¡´íÁË¡£µã¡¾ÏÂÒ»²½¡¿
ÕâÒ»²½Òª×¢Ò⣬ĬÈÏÑ¡ÔñµÄÊDz»¸ñÅÌ¡£ ......
ÊÇÒªÓм¸¸ö½×¶ÎµÄ¡£ ¿ªÊ¼¿´ulk,
ulk×îºÃµÄµØ·½¾ÍÊÇËûËù³«µ¼µÄѧϰ·½·¨ÌرðºÃ¡£µ±ÄãÏëѧϰij·½Ãæʱ£¬ÏÈ¿´Í·Îļþ£¬ÔÚû°Ñÿ¸öÊý¾Ý½á¹¹ÖеÄÿ¸öÊý¾ÝÔªËØŪÇå³þ֮ǰ²»Òª¿´ÊµÏÖ´úÂë¡£
¶ÁÍêÍ·Îļþ£¬Òâζ×ÅÆäÖеÄ×éÖ¯¹Øϵ¸ú±ðµÄµØ·½µÄÁªÏµ¾ÍÇå³þÁË£¬ÕâʱºòÄãÈ¥¿´ÊµÏֵĴúÂëÄã»á·¢ÏÖËûÒѾ×öµÄÕýÊÇÄãËùÏëµÄ¡£
¸ú×Åulk°ÑÕâЩ»ù±¾µ ......
Ö¸ÁîÃû³Æ : chmod
ʹÓÃȨÏÞ : ËùÓÐʹÓÃÕß
ʹÓ÷½Ê½ : chmod [-cfvR] [--help] [--version] mode file...
˵Ã÷ : Linux/Unix µÄµµ°¸µ÷ÓÃȨÏÞ·ÖΪÈý¼¶ : µµ°¸ÓµÓÐÕß¡¢Èº×é¡¢ÆäËû¡£ÀûÓà chmod ¿ÉÒÔ½åÒÔ¿ØÖƵµ°¸ÈçºÎ±»ËûÈËËùµ÷Óá£
²ÎÊý :
mode : ȨÏÞÉ趨×Ö´®£¬¸ñʽÈçÏ : [ugoa...][[+-=][rwxX]...][,...]£¬ÆäÖÐ
......