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
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
·¢Õ¹
Linux
µÄ×îÖÕÄ¿µÄÊÇ´ø¸øÈËÃÇÒ»¸öÍêÃÀµÄ×ÀÃæ£¨
Desktop
£©
,
ÓÃÓÚ¹¤×÷ºÍÓéÀÖ£¬ÆäÓàÊÂÇé¶¼ÊǵڶþλµÄ¡£Õ⻰˵µÃÓÐµã¾ø¶Ô£¬µ«ÊÇ£¬ÏÖÔÚ²»µÃ²»Õâô˵¡£ÎªÊ²Ã´£¿
&n ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâÆª·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´Ë×ªÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨ÕâÆª²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
Linux¸ùĿ¼”/“ϸ÷¸öϵͳÎļþ¼ÐµÄº¬ÒåºÍÓÃ;
/boot ¸ÃĿ¼ĬÈÏÏ´æ·ÅµÄÊÇLinuxµÄÆô¶¯ÎļþºÍÄںˡ£
/initrd ËüµÄÓ¢Îĺ¬ÒåÊÇboot loader initialized RAM disk,¾ÍÊÇÓÉboot loader³õʼ»¯µÄÄÚ´æÅÌ¡£ÔÚlinuxÄÚºËÆô¶¯Ç°£¬boot loader»á½«´æ´¢½éÖÊ(Ò»°ãÊÇÓ²ÅÌ)ÖеÄinitrdÎļþ¼ÓÔØµ½Äڴ棬ÄÚºËÆô¶¯Ê±»áÔÚ·ÃÎÊÕæÕýµÄ¸ ......
ÅäÖùý³Ì£º
1. ÔËÐÐVNC Server.
[root@localhost ~]#vncserver
¿´µ½³É¹¦ÌáʾÐÅÏ¢£º
You will require a password to access your desktops.
Password: ----˵Ã÷£ºÎª°²È«Æð¼û£¬µ±µÚ1´ÎÆô¶¯VNC Serverʱ£¬»áÒªÇóÉèÖÃÔ¶³ÌÁ¬½ÓʱµÄÃÜÂë¡£
Verify:
New ‘X&r ......