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

ÔÚlinuxµÄPCÉϹÒÔØjffs2¸ùÎļþϵͳӳÏñ

ÎÒÃÇÔÚµ÷ÊÔÓ²¼þ°åʱ£¬¾­³£ÐèÒª×ö¶à¸öjffs2µÄ¸ùÎļþϵͳӳÏñ£¬ÓÐʱҲҪ¶Ô±ÈÆäËû;¾¶µÃµ½µÄ¿ÉÓõÄjffs2¸ùÎļþϵͳӳÏñ¡£µ«jffs2µÄÎļþϵͳӳÏñ²»Ïó¹âÅ̵ÄÓ³ÏñÎļþÒ»Ñù¿ÉÒÔͨ¹ýloopÉ豸À´¹ÒÔØ£¬×ܲ»¿ÉÄÜÒ»¸ö¸öÉÕ¼µ½Ó²¼þ°åÈ¥¿´°É¡£ ºóÀ´µ½ÍøÉÏgoogleÁËÒ»°Ñ£¬×ó·­ÓÒ·­Ö®ºó×ÜËãÕÒµ½ÁËÒ»¸ö·½·¨¡£ÒòΪjffs2Êǹ¹½¨ÓÚMTDÉ豸ÉϵÄÎļþϵͳ£¬ËùÒÔÎÞ·¨Í¨¹ýloopÉ豸À´¹ÒÔØ£¬µ«ÊÇ¿ÉÒÔͨ¹ýmtdramÉ豸À´¹ÒÔØ¡£mtdramÊÇÔÚÓÃRAMʵÏÖµÄMTDÉ豸£¬¿ÉÒÔͨ¹ýmtdblockÉ豸À´·ÃÎÊ¡£Ê¹ÓÃmtdramÉ豸ºÜ¼òµ¥£¬Ö»Òª¼ÓÔØmtdramºÍmtdblockÁ½¸öÄÚºËÄ£¿é¼´¿É¡£ÕâÁ½¸öÄÚºËÄ£¿éÒ»°ãµÄlinuxÄں˷¢Ðа涼ÓбàÒëºÃµÄ£¬Ö±½ÓÓÃmodprobeÃüÁî¼ÓÔØ¡£ ÏÂÃæÊÇÔÚFedora core 6»·¾³ÏÂʹÓÃmtdramÉ豸¹ÒÔØjffs2¸ùÎļþϵͳӳÏñµÄ¾ßÌå²½Ö裺 1.¼ÓÔØmtdblockÄÚºËÄ£¿é [root@localhost ~]# modprobe mtdblock 2.¼ÓÔØmtdramÄÚºËÄ£¿é£¬½«¸ÃÉ豸µÄ´óСָ¶¨Îªjffs2¸ùÎļþϵͳӳÏñµÄ´óС£¬¿é²Á³ý´óС£¨¼´flashµÄ¿é´óС£©Ö¸¶¨ÎªÖÆ×÷¸Ãjffs2¸ùÎļþϵͳʱ¡°-e¡±²ÎÊýÖ¸¶¨µÄ´óС£¬È±Ê¡Îª64KB¡£ÏÂÃæÁ½¸ö²ÎÊýµÄµ¥Î»¶¼ÊÇKB¡£ [root@localhost ~]# modprobe mtdram total_size=49152 erase_size=128 3.Õâʱ½«³öÏÖMTDÉ豸/dev/mtdblock0£¬Ê¹ÓÃddÃüÁjffs2¸ùÎļþϵͳ¿½±´µ½/dev/mtdblock0É豸ÖС£ [root@localhost prebuilt_bin]# dd if=rootfs.jffs2_zylonite_qvga of=/dev/mtdblock0 98304+0 records in 98304+0 records out 50331648 bytes (50 MB) copied, 1.98391 seconds, 25.4 MB/s 4.½«±£´æÁËjffs2¸ùÎļþϵͳµÄMTDÉ豸¹ÒÔص½Ö¸¶¨µÄĿ¼ÉÏ¡£ [root@localhost prebuilt_bin]# mount -t jffs2 /dev/mtdblock0 /mnt/mtd ÕâÖ®ºó¾Í¿ÉÒÔµ½/mnt/mtdĿ¼²é¿´¡¢Ð޸ĹÒÔصÄjffs2¸ùÎļþϵͳÁË£¬Ð޸ĺóµÄjffs2¸ùÎļþϵͳ¿ÉÒÔͨ¹ýddÃüÁ±´ÎªÒ»¸öjffs2µÄÓ³ÏñÎļþ¡£


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍ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 ......

Linux ±à³Ì¾­µäÊé¼®ÍƼö

³ÉΪһÃû¾«Í¨ Linux ³ÌÐòÉè¼ÆµÄ¸ß¼¶³ÌÐòÔ±Ò»Ö±ÊDz»ÉÙÅóÓÑ×Î×ÎÒÔÇóµÄÄ¿±ê¡£¸ù¾ÝÖлªÓ¢²ÅÍøͳ¼ÆÊý¾Ý£¬±±¾©µØÇø Linux ³ÌÐòÔ±ÔÂнƽ¾ùΪ Windows ³ÌÐòÔ±µÄ 1.8 ±¶¡¢Java ³ÌÐòÔ±µÄ 2.6 ±¶£¬ Linux ³ÌÐòÔ±ÄêÖÕ½±½ðƽ¾ùΪ Windows ³ÌÐòÔ±µÄ 2.9 ±¶¡£Í¬Ê±Êý¾ÝÏÔʾ£¬Ëæ׏¤×÷¾­ÑéµÄÔö³¤£¬ Linux ³ÌÐòÔ±Óë Windows ³ÌÐòÔ±µÄÊÕÈë²î¾à» ......

linuxϱàÒëÔËÐеĵÚÒ»¸öC

linuxÏÂÔËÐеĵÚÒ»¸öC³ÌÐò
root@localhost root]# vi hello.c
½øÈëvimµÄÃüÁîģʽ£¬°´Ï¼üÅ̵ÄiÇл»µ½²åÈëģʽ£¬ÊäÈëÈçÏ´úÂ룺
#include  <stdio.h>
int main()
{
        printf("Hello! This is our embeded world!\n");
        return ......

SSHÁ¬½ÓÔ¶³ÌLinux·þÎñÆ÷(C#)

 GranadosÊÇÒ»¸ö»ùÓÚ.NETµÄSSH¿Í»§¶Ë¿â¡£ËüÓÐÒÔÏÂÌص㣺
1.GranadosÊÇÒ»¸öC#µÄ¿ªÔ´ÏîÄ¿¡£Ô´ÂëµØÖ·£ºhttp://www.routrek.co.jp/support/download/varaterm/granados200.tar.gz
2.ͬʱ֧³ÖSSH1ºÍSSH2¡£
3.GranadosʵÏÖÁËAES, Blowfish, TripleDES, RSA, DSAµÈ¼ÓÃÜÑéÖ¤Ëã·¨¡£
4.ʵÏÖTCPЭÒéÁ¬½Ó¡£
ÈçºÎʹÓÃGranados¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ