linuxһЩ¿âÎļþµÄ½»²æ±àÒë
²Î¿¼³ö´¦£ºÒ»²½²½½ÌÄã½»²æ±àÒëǶÈëʽlinux GUI-directfb+gtk
Ò»¡¢×¢Òâµã£º
1¡¢ÔÚ./configureµÄ--hostµÄÑ¡Ïî¿ÉÒÔΪarm-linux»òarm-none-linux-gnueabi£¨±àÒ빤¾ßcross-4.3.2£¬Ò²ÊDZ¾´ÎÓõıàÒ빤¾ß£¬ÔÚ°²×°Ä¿Â¼ÏµÄ/binÎļþ¼ÐÀï¿ÉÒÔÓÃls -l¿´µ½±àÒ빤¾ß³ýÁËarm-linux-gccºÍarm-none-linux-gnueabi-gcc,arm-linux-g++ºÍarm-none-linux-gnueabi-g++²»Í¬Í⣬ÆäÓàµÄ¶¼Ïàͬ£¬¶¼ÊÇÁ¬½Ó£©£¬ËûÃÇÁ½¸öÊDz»Í¬µÄ£¬Ç°ÕßòËƲÉÓÃeabi£¬ºóÕß²ÉÓÃoabi£¨ÐÂÊÖÒ»¸ö£¬²Â²âµÄ£©.Õâ¹Øϵµ½Ê¹ÓÃÕâЩ¿âµÄ³ÌÐòÔÚ°åÉϵÄÎÞ·¨ÔËÐÐ(³öÏÖµÃ×î¶àµÄÊÇÔÚ°åÔËÐгÌÐòʱ»á³öÏÖ£ºillegal instruction)£¬Èç¹ûÄں˴ò¿ª¶ÔEABIµÄÖ§³Ö£¬ÄÇô×îºÃʹÓÃEABI½øÐбàÒ루ÎҵİåÉÏlinuxÄں˰汾ÊÇ2.6.29£¬ÒѾ´ò¿ªÁ˶ÔEABIµÄÖ§³Ö£¬ÇÒqtopia2.20µÄÎļþϵͳҲ֧³ÖEABI£©£¬ËùÒÔ²ÉÓÃarm-linux½øÐбàÒë¡£
¾ßÌå¿ÉÒԲο¼£º
arm Linux 2.6¸ß°æ±¾ÖеÄϵͳµ÷Ó÷½Ê½
GNU arm »ã±àÇóÖú
2¡¢Èç¹û²ÉÓÃÒ»ÖÖ±àÒëÆ÷½øÐбàÒ룬ÄÇô±»ÒÀÀµµÄÄǸö¿âÒ²Ò»ÑùÒªÓÃͬÖÖ±àÒëÆ÷½øÐбàÒë¡£
¶þ¡¢ÉèÖû·¾³±äÁ¿£¨±¾ÈËÓõÄÊÇubuntu9.04£©
export SOURCE_PATH=/home/evix/src
export PREFIX=/opt/arm
export LDFLAGS=-L$PREFIX/lib
export CFLAGS="-g -I$PREFIX/include"
export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
Èý¡¢±àÒë¿âÎļþ£¨££ÔÚ×îÇ°Ç°ÃæµÄ±íʾעÊÍ£©
1.½»²æ±àÒëtslib£¬ ÒÀÀµµÄ¿â£º ÎÞ
=========¿ªÊ¼½»²æ±àÒëtslib=========
°²×°±àÒë¹ý³ÌÐèÓõ½µÄ³ÌÐò
apt-get install autoconf£¨»òautoconf2.13£©
apt-get install automake
apt-get install libtool
cd ${BUILDDIR}
tar xzvf ${SOURCE_PATH}/tslib-1.4.tar.gz
cd tslib
source autogen.sh
./configure --host=arm-linux --prefix=$PREFIX ac_cv_func_malloc_0_nonnull=yes
make
make install
2.½»²æ±àÒëglib£¬ ÒÀÀµµÄ¿â£º ÎÞ
=========¿ªÊ¼½»²æ±àÒëglib=========
cd ${BUILDDIR}
tar xzvf ${SOURCE_PATH}/glib-2.22.2.tar.gz
cd glib-2.22.2
echo "glib_cv_stack_grows=no" > arm-linux.cache
echo "glib_cv_has__inline=yes" >> arm-linux.cache
echo "glib_cv_working_bcopy=no" >> arm-linux.cache
echo "glib_cv_uscore=no" >> arm-linux.cache
echo "ac_cv_func_posix_getpwuid_r=yes" >> arm-linux.cache
echo "ac_cv_func_posix_getgrgid_r=yes" >> arm-linux.cache
./config
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
linuxµÄchmodÓëchownÃüÁîÏê½â
linuxµÄchmodÃüÁîʹÓÃÏê½â
ʹÓ÷½Ê½ : chmod [-cfvR] [--help] [--version] mode file...
˵Ã÷ : Linux/Unix µÄµµ°¸´æȡȨÏÞ·ÖΪÈý¼¶ : µµ°¸ÓµÓÐÕß¡¢Èº×é¡¢ÆäËû¡£ÀûÓà chmod ¿ÉÒÔ½åÒÔ¿ØÖƵµ°¸ÈçºÎ±»ËûÈËËù´æÈ¡¡£
mode : ȨÏÞÉ趨×Ö´®£¬¸ñʽÈçÏ : [ugoa...][[+-=][rw ......
ÅäÖùý³Ì£º
1. ÔËÐÐVNC Server.
[root@localhost ~]#vncserver
¿´µ½³É¹¦ÌáʾÐÅÏ¢£º
You will require a password to access your desktops.
Password: ----˵Ã÷£ºÎª°²È«Æð¼û£¬µ±µÚ1´ÎÆô¶¯VNC Serverʱ£¬»áÒªÇóÉèÖÃÔ¶³ÌÁ¬½ÓʱµÄÃÜÂë¡£
Verify:
New ‘X&r ......