NAND flashÎļþϵͳJFFS2ºÍYAFFS±È½Ï
NAND flashÎļþϵͳJFFS2ºÍYAFFS±È½Ï
ARM9 2009-12-07 21:29:50 ÔĶÁ98 ÆÀÂÛ0 ×ֺţº´óÖÐС
JFFSÊÇÓÉÈðµäµÄAxis Communications Ab¹«Ë¾¿ª·¢µÄ(1999,ÒÔGNU·¢²¼),Õë¶ÔflashÉ豸µÄÌØÐÔΪǶÈëʽÉ豸¿ª·¢µÄ
JFFS1ºÍJFFS2µÄÉè¼ÆÖж¼¿¼Âǵ½ÁËFLASHµÄÌØÐÔÌرðÊÇÂú×ãÁËÉÏÊö3¸öÌõ¼þ,°üÀ¨ÁËÀ¬»ø»ØÊÕ,»µ¿é¹ÜÀíµÈ¹¦ÄÜ. ÕâÁ½ÖÖÎļþϵͳÊôÓÚLFS(Log-structured File System).ÕâÖÖÎļþϵͳµÄÌصãÊÇÒ»µ©Êý¾Ý³ö´í,ÈÝÒ×»Ö¸´,µ«ÊÇϵͳÔËÐÐÊÇÐèÒªÕ¼ÓÃÒ»¶¨µÄÄÚ´æ¿Õ¼ä,ÕâЩ¿Õ¼ä¾ÍÊÇÓÃÀ´´æ´¢”log”µÄ.
JFFSµÄȱµã¾ÍÊǼÓÔØʱ¼äÌ«³¤,ÒòΪÿ´Î¼ÓÔض¼ÐèÒª½«FLASHÉϵÄËùÓнڵã(JFFSµÄ´æ´¢µ¥Î»)µ½ÄÚ´æ,ÕâÑùÒ²Õ¼ÓÃÁ˿ɹ۵ÄÄÚ´æ¿Õ¼ä.³ý´ËÖ®Íâ,”circle log”Éè¼ÆʹµÃÔÚ¶ÔÎļþÊý¾Ý½øÐÐËùÓеÄÊý¾Ý¶¼»á±»ÖØд,ÕâÑùÔì³É²»±ØÒªµÄʱ¼ä,ͬʱҲ»á¼õÉÙFLASHµÄÊÙÃü.
JFFS2¶ÔJFFS1×÷ÁËЩ¸Ä½ø,±ÈÈçËùÐèµÄÄÚ´æ±äÉÙÁË,À¬»ø»ØÊÕ»úÖÆÒ²ÓÅ»¯ÁË.
Õë¶ÔJFFS1,JFFS2µÄȱµã,JFFS3³öÏÖÁË.
YAFFS1 & YAFFS2
“Yet Another Flash File System”×÷ÕßÊÇÐÂÎ÷À¼µÄCharles ManningΪһ¼ÒÃû½ÐAlpha one µÄ¹«Ë¾(http://www.aleph1.co.uk/)Éè¼ÆµÄ,ÊǵÚÒ»¸öΪNAND FlashÉè¼ÆµÄÎļþϵͳ.¹²Á½¸ö°æ±¾YAFFS1 ºÍYAFFS2.
YAFFS1Ö§³Ö512Bytes/PageµÄNAND Flash;ºóÕßYAFFS2Ö§³Ö2kBytes/PageµÄNAND Flash. YAFFSÎļþϵͳҲÊôÓÚLFS.
¸úÆäËûÎļþϵͳ±È½Ï,Ëü¾ßÓиüºÃµÄ¿ÉÒÆÖ²ÐÔ,ÉõÖÁ¿ÉÒÔʹÓÃÔÚûÓвÙ×÷ϵͳµÄÉ豸ÉÏ(called “YAFFS/Direct”). YAFFS²ÉÓÃÄ£¿é»¯Éè¼Æ,ËäÈ»×î³õÊÇÓÃÔÚlinuxϵͳÉϵÄ,µ«ÊÇÒ²ÒѾÒÆÖ²µ½ÆäËûϵͳ±ÈÈçwince.
»¹ÓиöÍ»³öµÄÓŵãÊÇËüÔÚmountµÄʱºòÐèÒªºÜÉÙµÄÄÚ´æ.(Èç¹ûÊÇСҳ¨D512byte/page,ÿ1MByte NAND´óÔ¼ÐèÒª4KBytesÄÚ´æ;´óÒ³ÐèÒª´ó¸Å1KBytes RAM/1MByte NAND)
JFFSÓëYAFFS±È½Ï,Á½Õ߸÷Óг¤´¦. Ò»°ãÀ´Ëµ,¶ÔÓÚСÓÚ64MBytesµÄNAND Flash,¿ÉÒÔÑ¡ÓÃJFFS;Èç¹û³¬¹ý64MBytes,ÓÃYAFFS±È½ÏºÏÊÊ.
Ïà¹ØÎĵµ£º
Æäʵ ºÜ¶àÈË ÏÖÔÚÔÚÕùÂÛ FLASH ºÍHTML5 ÕâЩ¶«¶« ¡£
µ«ÎҸоõÆäʵûÓбØÒª£¬
ÏÈ˵˵ FLEX ºÜ¶àÈË Ñ§Ï° FLEX µÄʱºò ÓÈÆä ÖйúÈË ºÜϲ»¶¸ú·ç ¶øÇÒºÜÑÏÖصÄÄÇ×Ü£¬ºÜÉÙÓÐÈË̤̤ʵʵµÄÈ¥»ýÀÛ¡£
Äã˵°üÀ¨ EXTJS FLEX Ò²ºÃ µÈµÈ ÕâЩÖØÁ¿¼¶ µÄ ¿ò¼ÜºÍ×é¼þ Æäʵ ¶¼¸øÄãºÜ¶àDEMO ºÍ ÍøÉÏ¿ÉËÑË÷ÕâÑùµÄ¡£ºÜɵ¹ÏÁË
ÇáËɵľÍÄÜÕÆÎÕ¡ ......
ÎÒϲ»¶¿´flash¶¯»£¬´ò¿ªÁËfirefox£¬°Ù¶ÈÒ»ÏÂflash¶¯»£¬½øÈëÍøÕ¾Ö®ºó¹Û¿´²»ÁË£¬µ«firefoxÌáʾ“ÄúÐèÒªÆäËû²å¼þÒÔÏÔʾ´ËÒ³ÃæµÄËùÓÐýÌå”ÓÚÊǵã»÷“°²×°È±Ê§²å¼þ”£¬Õâʱfirefox×Ô¶¯²éÕÒ²å¼þ£¬Ìáʾ£º
Adobe Flash Player(installer)
µ¥»÷Ñ¡ÔñÕâ¸ö²å¼þ£¬²¢µ¥»÷“ÏÂÒ»²½”£¬¸ù¾ÝÌáʾ£¬ÊäÈëÃÜ ......
CLSID clsid;
HRESULT hr =
CLSIDfromProgID(L"ShockwaveFlash.ShockwaveFlash", &clsid);
ÒÔÉÏ´úÂëÓÃÀ´¼ì²âFlashÊÇ·ñ°²×°£¬CLSIDfromProgIDͨ¹ý×¢²á±íÀ´²éѯCLSIDµÄÖµ¡£²»ÖªºÎ¹ÊÓÐʱע±íÄÚ×¢²áÏî²»ÍêÕû£¨ÔÚXP£¬2003Öж¼ÓгöÏÖ£©,²éѯµÃÖªHKEY_CLASSES_ROOT\ShockwaveFlash ......
ÔÚÍøÒ³ÖвåÈëFlashµÄ´úÂëÓкܶ࣬ÏÂÃæÌṩһÖÖ½ö¹©²Î¿¼£º
<object data="FlashÎļþµÄURL" type="application/x-shockwave-flash" width="¿í¶È" height="¸ß¶È">
<param name="movie" value="FlashÎļþµÄURL">
</object> ......
EEPROM,EPROM,FLASH¶¼ÊÇ»ùÓÚÒ»ÖÖ¸¡Õ¤¹Üµ¥Ôª(Floating gate transister)µÄ½á¹¹
¡£EPROMµÄ¸¡Õ¤´¦ÓÚ¾øÔµµÄ¶þÑõ»¯¹è²ãÖУ¬³äÈëµÄµç×ÓÖ»ÄÜÓÃ×ÏÍâÏßµÄÄÜÁ¿À´¼¤³ö£¬EEPROMµÄµ¥ÔªÊÇÓÉFLOTOX(Floating- gate tuneling oxide transister)¼°Ò»¸ö¸½¼ÓµÄTransister×é³É£¬ÓÉÓÚFLOTOXµÄÌØÐÔ¼°Á½¹Ü½á¹¹£¬ËùÒÔ¿ÉÒÔµ¥Ôª¶Á/д¡£¼¼ÊõÉÏ£¬FLASHÊ ......