½¨Á¢»ùÓÚlinuxµÄMIPS½»²æ±àÒë»·¾³
×÷Õߣº·ëÀÚ (flw10000) MAIL£ºflw10000 AT 163.com
¾¹ý½üÒ»ÖܵÄæºõ£¬°Ñ»ùÓÚlinuxµÄMIPS½»²æ±àÒë»·¾³»ù±¾´î½¨³É¹¦£¬ÕâÀï˵"»ù±¾"´î½¨³É¹¦ÊÇÒòΪ»·¾³ËäÈ»´î½¨ºÃÁË£¬¿ÉÒÔ±àÒë»ùÓڣͣɣУӵĿÉÖ´ÐÐÎļþÁË£¬µ«»¹Ã»ÓÐÔÚÕæÕýµÄ£Í£É£Ð£Ó»·¾³Ï²âÊÔ¹ý£¬»¹ÓÐÔÚ±àÒëµÄ¹ý³ÌÖгöÏÖÁËЩÎÊÌ⣬ËäÈ»½â¾öÁË£¬Ò²ÒòûÓÐÔÚÕæÕýµÄ£Í£É£Ð£Ó»·¾³Ï²âÊÔ¹ý£¬²»ÖªµÀ»á²»»áÓ°ÏìÕýÈ·µÄ½á¹û£¡
¡¡¡¡ÎÒÊÇÔڣ֣ͣ÷£á£ò£åÖбàÒëµÄ£¬ÎÒµÄϵͳÊǣңȣ¸£®£°£¨£²£®£´¡££±£¸£©
¡¡¡¡Óõ½µÄ¹¤¾ß°ü£º
¡¡¡¡binutils-2.15,
¡¡¡¡gcc-3.2.2,
¡¡¡¡glibc-2.3.2,
¡¡¡¡glibc-linuxthreads-2.3.2,
¡¡¡¡linux-2.4.18,
¡¡¡¡elf-machine-rela-mips.patch
¡¡¡¡ÕâÀïΪʲôҪÓÃÕ⼸¸ö°æ±¾µÄ¹¤¾ß°ü£¬Ö÷ÒªÊÇ×÷ÕßÒÔǰ²¢Ã»ÓÐ×ö¹ý½»²æ±àÒëµÄ»·¾³£¬²Î¿¼ÁËÍøÉϵÄһЩÎÄÕ£¬¶øÕâЩÎÄÕ´󲿷ÖÓõÄÊÇÒÔÉϵİ汾£¡
¡¡¡¡ÔÚ±àÒëʱ£¬Ó²ÅÌ×îÉÙÓ¦Óв»Ð¡ÓÚ£·£°£°£ÍµÄ¿Õ¼ä£¬Èç¹ûÔÚ±àÒë¹ý³ÌÖв»´òËãɾ³ýÔ´´úÂë°üµÄ»°£¬ÄÇÖÁÉÙÓ¦Óв»Ð¡ÓÚ£²£ÇµÄ¿Õ¼ä£®ÏÂÃæ¿ªÊ¼±àÒ룡
¡¡¡¡ÎҵŤ¾ß°ü·ÅÔÚ/mnt/sdb/mips/mips-toolchain/ ,sdbÊÇÁí¹ÒµÄÓ²ÅÌ£¬°²×°µÄĿ¼ÊÇ/mnt/sdb/mips-toolchain/£¬ÕâÀïÁ½¸öĿ¼ºÜÈÝÒ×»ìÏý£¬Ã»ÓиĵÄÔÒòÊÇÓÉÓÚÔڣ֣ͣ÷£á£ò£åÖбàÒ룬ʵÔÚÌ«ÂýÁË£¬Ï´ÎÒ»¶¨ÕûºÏÀíµã£¡
¡¡¡¡£±£¾Ê×ÏȰ²×°binutils£¬binutilsÊǶþ½üÖÆ¹¤¾ß°ü£¬ÍøÂçÉϵ͍Ò壺The GNU Binutils is a collection of programming tools developed by the Free Software Foundation for the manipulation of object code in various object file formats. They are typically used in conjunction with GCC, make and GDB.
#cd /mnt/sdb/mips/mips-toolchain/binutils-2.15
#./configure --prefix=/mnt/sdb/mips-toolchain --target=mipsel-linux
#make
#make install
¡¡¡¡¡¡¡¡ÔÚ±àÒëÍêbinutilsÒÔºó£¬ÔÚ/mnt/sdb/mips-toolchain/ÏÂÉú³ÉÁËÒÔÏÂÎļþ£º
bin£¬info, lib, man, mipsel-linux, share.binÏÂÉú³É13¸ö¿ÉÖ´ÐÐÎļþ¡£
¡¡¡¡£²£¾½ÓÏÂÀ´°´×°gcc,gccÐèÒª±àÒëÁ½´Î£¬Õâ´Î±àÒëÍêÖ»ÄÜÖ§³Ö£ÃÓïÑÔ£®
#export PATH=$PATH:/mnt/sdb/mips/mips-toolchain/bin //±àÒë£Ç£Ã£ÃʱÓõ½binutils-2.15Éú³ÉµÄmipsel-linux-arµÈ£®
#cd /mnt/sdb/mips/mips-toolchain/gcc-3.2.2
#./configure --prefix=/mnt/sdb/mips-toolchain --target=mipsel-linux --with-newlib --enable-languages=c --without-headers --disable-shared --
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
dd ÊÇ Linux/UNIX ϵÄÒ»¸ö·Ç³£ÓÐÓõÄÃüÁ×÷ÓÃÊÇÓÃÖ¸¶¨´óСµÄ¿é¿½±´Ò»¸öÎļþ£¬²¢ÔÚ¿½±´µÄͬʱ½øÐÐÖ¸¶¨µÄת»»¡£
dd µÄÖ÷ҪѡÏ
Ö¸¶¨Êý×ֵĵط½ÈôÒÔÏÂÁÐ×Ö·û½áβ³ËÒÔÏàÓ¦µÄÊý×Ö:
b=512, c=1, k=1024, w=2, xm=number m
if=file
ÊäÈëÎļþÃû£¬È±Ê¡Îª±ê×¼ÊäÈë¡£
of=file
Êä³öÎļþÃû£¬È±Ê¡Îª±ê×¼Êä³ö¡£
ibs=bytes
Ò» ......
Redhat Linux NFSÅäÖÃ
NFS¼ò½é£º
NFSÊÇÍøÂçÎļþϵͳµÄ¼òд£¨network file system£©£¬Ö÷ÒªÓÃÔÚlinux»òunix»·¾³ÖУ¬ÊÇÓÐsun¹«Ë¾¿ª·¢£¬²¢ÓÚ1984ÄêÍÆ³öµÄÒ»¸öRPC·þÎñϵͳ¡£
NFS¹¦ÄܽéÉÜ£º
Ëû¿ÉÒÔ½«¶à¸öĿ¼»òÕßµ¥¸öĿ¼½øÐз¢²¼£¬ÀýÈçÎÒÃÇÔÚÍø¿ÌϵͳµÄʱºò¿ÉÒÔÓÃNFSÀ´¹²Ïí¹âÅ̾µÏñ£¬NFSÊÇÒÔ·¢²¼Ä¿Â¼µÄ·½Ê½½«Îļþ½øÐз¢²¼£¬¶ ......
Ò»£®ÕæÊµÖ÷»úÅäÖÃÓëÉèÖÃ
ǰÌáÌõ¼þ£º¹«Ë¾ÊÇͨ¹ýIP¡¢MACµØÖ·Ó³ÉäµÄ·½Ê½À´·ÃÎÊÍøÂçµÄ¡£
Íø¹Ø£º192.168.10.1
ÒÔÏÂÁ½×éIP£¬MAC¿ÉÒÔ·ÃÎÊÍâÍø
1.
IP:192.168.10.232
MAC: 00-0B-2F-1A-51-95
2.
IP:192.168.10.175
MAC:00-28-27-AB-56 ......