亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? vxw_pt3.html

?? vxworks 問題解答
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
can be found at:<a href="http://developer.axis.com/software/jffs/">http://developer.axis.com/software/jffs/</a>.<br>(From: Hwa Jin Bae, bae@mail.com)<p><hr WIDTH="50%"><a NAME="3.2-E"></a><p>Q: I have problems getting TFFS to work with StataFlash chips.<p>A: I had the same problem and found that the problem was a low-level flashinterface problem (and there was no way to tell that from the tffsDevFormat()call results - this was confirmed by WRS tech "support".)<p>I had to debug at the sockets layer, to find out where the error(s) were.  WhenI flushed out all the socket interface layer bugs, the tffsDevFormat() worked.Basically; get it to the point that you don't have any error messages from thesocket layer, and it seems to work ok<p>There are a good many debug statements in the cfiscs.c file - I just turned themon, and added a few of my own, to track down the problem.  I left the error (asopposed to debug info) messages enabled in cfiscs.c   - this has turned out tobe *very* helpful during development.<p>It would be very nice if any low-level (socket layer) problems were somehowpassed up the to the higher layers, so that you could get a meaningful responsefrom the API-layer calls.  But, then, it has been my experience that, if anerror occurs at a lower software layer, all bets are off (we have frequentvxWorks hang conditions due to this problem).<p>Our board has multiple flash chips, and I also found it helpful to be able tolimit the number of flash chips used (because we had chip-location-specifichardware problems).  I got it to work with a single chip, first (our chips are4MB each).<br>(From: Bill Fulton, bill_a_fulton_please.nospam@raytheon.com)<p><hr WIDTH="50%"><a NAME="3.2-F"></a><p>Q: How can I defragment a TFFS volume?<p>A: To defragment TrueFFS flash array, you can use code fragmentsimilar to the one below:<pre>    int  freeSectors = 0x70000000;  /* impossible number of sectors */    (void) tffsRawio (0, TFFS_DEFRAGMENT_VOLUME, freeSectors, 0, 0);</pre>The call above could return error code, but, as far as I know, it is safeto ignore it. If media is badly fragmented, the call above can take verylong time to complete, since it is doing complete defragmentation of theentire flash array.<br>(From: Andray Kaganovsky, andreyk@home.com)<p><hr WIDTH="50%"><a NAME="3.2-G"></a><p>Q: How can I access a TFFS device using raw I/O after it was mounted?<p>A: Here is an umount and mount function that was suggested by our WindRiverFAE:<pre>#include "tffs/fatlite.h"/*************************************************************************** ****** tffsUnmout - Unmount the requested drive** This routine unmounts a TFFS drive.** RETURNS: OK or ERROR*/STATUS tffsUnmount(int tffsDriveNo){     IOreq ioreq;     FLStatus status;    ioreq.irHandle = tffsDriveNo;     status = flCall(FL_DISMOUNT_VOLUME ,&amp;ioreq);     return ((status == flOK) ? OK : ERROR); }/********************************************************************************* tffsMount - Mount the requested drive** This routine mounts a requested TFFS drive.** RETURNS: OK or ERROR*/STATUS tffsMount(int tffsDriveNo) {     IOreq ioreq;     FLStatus status;    ioreq.irHandle = tffsDriveNo;     status = flCall(FL_MOUNT_VOLUME ,&amp;ioreq);     return ((status == flOK) ? OK : ERROR); }</pre>I modified tffsBootImagePut() to unmount the flash drive, re-write to the boot region,and re-mount the flash drive.  tffRawio() and tffsBootImagePut() in conjunction withtffsMount() and tffsUnmount() are working very reliably now.<br>(From: M. Nurmohamed, mehmood@gte.NOSPAM.net)<p><hr WIDTH="50%"><a NAME="3.2-H"></a><p>Q: How can I format a 128 Mbyte device? I can only see 32 Mbyte.<p>A: AFAIK, your limit should not be 32MB, but 40MB. You'll find intarget/h/tffs/flCustom.h:<pre>#define MAX_VOLUME_MBYTES 40</pre>I had to increase SECTOR_SIZE_BITS (512 byte-&gt;1024 byte) to get over 64MB.Change this defines and recompile TFFS-sources if available or ask your FAE.<br>(From: Michael Lawnick, Lawnick@softec.de)<p>It is true that TFFS limits size of the single TFFS volume to 40MBytes. If you happened to have TFFS source code, then Michael's suggestion above will allow you to work around this limit. If you don'thave TFFS source code, then you can "partition" your physical flash arrayinto independent TFFS volumes. You will have to do minor change inyour TFFS's socket code in &lt;bsp_dir&gt;/sysTffs.c to do address wrap around 32MBytes offsets. <br>This will allow you to install four socket components, with base addressesas follows:<pre>    socket #   address range     0         <flash_address> ...        <flash_address> +  32MB     1         <flash_address> + 32MB ... <flash_address> +  64MB     2         <flash_address> + 64MB ... <flash_address> +  96MB     3         <flash_address> + 96MB ... <flash_address> + 128MB</pre>Each of the memory ranges above can be formatted and mounted as independentTFFS volume. Depending on the size of the physical flash parts thatcomprise your flash array, and flash array's interleaving, you cando I/O in parallel to all four TFFS volumes, which can greatlyimprove 'write' performance.<br>(From: Andray Kaganovsky, andraykNOSPAM@primus.ca)<p><hr WIDTH="50%"><a NAME="3.2-I"></a><p>Q: How can I reduce wear by updating the "Last Accessed" field?<p>A: The code changes are very easy, but you might have to ask yourFAE to do this, as this source code is not included in the standarddistribution.<br>"dosFs/dosFsLib.c" needs to be changed.  I have a diff below.However, I think you just need to search for "-&gt;accessed" and note howthe code is being used to understand.  There are about three to fouroccurrences of this.  As Leonid noted, this should probably beconfigurable.<pre>[dosFsLib.c differences]*** c:/TEMP/dosFsLib.c.~1.2~	Wed Feb 27 19:52:55 2002--- c:/TEMP/dosFsLib.c.~1.1.~	Wed Feb 27 19:52:55 2002****************** 2532,2543 ****      	}            /* update file's directory entry */!     if(cbioModeGet(pVolDesc-&gt;pCbio) != O_RDONLY)!     {!         pFd-&gt;accessed = 0;!         if(pFd-&gt;changed)!             pVolDesc-&gt;pDirDesc-&gt;updateEntry(pFd, DH_TIME_MODIFY, time(NULL));!     }      /*       * flush buffers and deallocate unused clusters beyond EOF,       * if last file descriptor is being closed for the file--- 2532,2547 ----      	}            /* update file's directory entry */!     !     if( cbioModeGet(pVolDesc-&gt;pCbio) != O_RDONLY &amp;&amp;!         ( pFd-&gt;accessed || pFd-&gt;changed ) )!     	{!     	u_int	timeFlag = (pFd-&gt;accessed)? DH_TIME_ACCESS :! 					    DH_TIME_MODIFY ;!     	pVolDesc-&gt;pDirDesc-&gt;updateEntry( pFd, timeFlag, time( NULL ) );!     	pFd-&gt;accessed = 0;!     	}!     	      /*       * flush buffers and deallocate unused clusters beyond EOF,       * if last file descriptor is being closed for the file****************** 3986,3996 ****              retVal = OK;                            /* store directory entry */!             if(pFd-&gt;changed)!             {      	    	retVal = pVolDesc-&gt;pDirDesc-&gt;updateEntry(!     	    			pFd, DH_TIME_MODIFY, time(NULL));!             }              if( retVal == OK )	              	{      	    	retVal = cbioIoctl( --- 3990,4003 ----              retVal = OK;                            /* store directory entry */!             !             if( pFd-&gt;accessed || pFd-&gt;changed )!             	{!     	    	ptrBuf = (void *)((pFd-&gt;accessed)? DH_TIME_ACCESS :! 					           DH_TIME_MODIFY  ) ;      	    	retVal = pVolDesc-&gt;pDirDesc-&gt;updateEntry(!     	    			pFd, (u_int)ptrBuf, time( NULL ) );!     	    	}              if( retVal == OK )	              	{      	    	retVal = cbioIoctl( </pre>(From: Bill Pringlemeir, bpringlemeir@yahoo.com)<p><hr WIDTH="60%"><p><h3><a NAME="3.3"><center>3.3 Floppy-disk File system</center></a></h3><a NAME="3.3-A"></a>Q: I try to create a floppy device using usrFdConfig(0,0,"/fd0/")as suggested in the programmer's manual, but I always get the"dosFsDevInit() failed" error message.  How can I avoid this message andhave the system create the device?<p>A: Typically there is no floppy in the drive.  We found a workaround thatinitializes the datastructures needed by the dosFsDevInit() call for afloppy with 3.5" and 1.44Mb.<br>Following is the change that should be made to usrFd.c to initialise thisstructure.<pre>--- org\usrfd.c+++ new\usrFd.c@@ -54,6 +54,7 @@     )     {     BLK_DEV *pBootDev;+    DOS_VOL_CONFIG DVC;     char bootDir [BOOT_FILE_LEN];      if ((UINT)drive &gt;= FD_MAX_DRIVES)@@ -74,9 +75,20 @@      devSplit (fileName, bootDir); +    /* Modification: create the dosvolume data struture */+    DVC.dosvc_mediaByte = 0xf0;  /* media descriptor byte */+    DVC.dosvc_secPerClust = 1;  /* sectors per cluster (minimum 1) */+    DVC.dosvc_nResrvd = 1;   /* number of reserved sectors (min 1) */+    DVC.dosvc_nFats = 2;   /* number of FAT copies (minimum 1) */+    DVC.dosvc_secPerFat = 9;  /* number of sectors per FAT copy */+    DVC.dosvc_maxRootEnts = 224; /* max number of entries in root dir */+    DVC.dosvc_nHidden = 0;   /* number of hidden sectors */+    DVC.dosvc_options = 0;          /* volume options */+    DVC.dosvc_reserved = 0;         /* reserved for future use */+     /* initialize the boot block device as a dosFs device named <bootDir> */      if (dosFsDevInit (bootDir, pBootDev, NULL) == NULL)     {+        if (dosFsDevInit (bootDir, pBootDev, &amp;DVC) == NULL)+	 {             printErr ("dosFsDevInit failed.\n");             return (ERROR);+        }     }     return (OK); }</pre>(From: Christian Doppelbauer,  Christian.Doppelbauer@br-automation.co.at)<p>Another possibility is to use the following code:<pre>STATUS initMyFDisk(){    IMPORT int dosFsDrvNum;                 /* number Dos file driver */    fdDrv (FD_INT_VEC, FD_INT_LVL);         /* initialize floppy disk */    if (dosFsDrvNum == ERROR)    {        dosFsInit (NUM_DOSFS_FILES);    /* initialize DOS-FS */    }    /*     * Create the device;     */    if (usrFdConfig (0, 0, "/vxA/") == ERROR)    {        printErr("initMyFDisk(): usrFdConfig failed.\n");        return(ERROR);    }    return(OK);}</pre>(From: Pritam De, pde@cisco.com)<p><hr WIDTH="60%"><p><h3><a NAME="3.4"><center>3.4 RAM-disk File system</center></a></h3><a NAME="3.4-A"></a>Q: When I use the RAM-disk as supplied with DosFS2 (configured using theitem Hardware-&gt;Peripherals-&gt;RAM Disk with MSDOS filesystem) it is formattedevery time I startup, even if I assign a seperate memory area.<p>A: Using the device provided as-is this is right. During the initialisationof the device it is formatted. This can be changed by replacing/adding a numberof lines to the component INCLUDE_RAM_DISK in the file 10dosfs2.cdf intarget\config\comps\vxworks. The definition of INIT_RTN should be changedto:<pre>        INIT_RTN        { void * cbio ; int ramDiskTestFd = -1;\            cbio=ramDiskDevCreate(RAM_DISK_MEM_ADRS,512,17,RAM_DISK_SIZE/512,0);\            if(cbio!=NULL){ \                dosFsDevCreate(RAM_DISK_DEV_NAME,cbio,RAM_DISK_MAX_FILES,NONE);\                if(RAM_DISK_FORMAT_ALWAYS == FALSE){ \                    ramDiskTestFd = open(RAM_DISK_DEV_NAME, 2, 0);\                } \                if((RAM_DISK_FORMAT_ALWAYS != FALSE)||(ramDiskTestFd == -1)){\                    dosFsVolFormat(cbio,DOS_OPT_BLANK | DOS_OPT_QUIET, NULL);\                } \                if(ramDiskTestFd != -1){ \                    close(ramDiskTestFd);\                } \            }}</pre>Also a configuration parameter should be added, called RAM_DISK_FORMAT_ALWAYS. Todefine this parameter the Parameter-definition has to be added:<pre>Parameter RAM_DISK_FORMAT_ALWAYS        {        NAME            Format always, even if already formatted        TYPE            bool          DEFAULT         FALSE        }</pre>When this parameter is set to TRUE the disk is always formatted, just like theoriginal situation. When this parameter is set to FALSE (the default situation)the disk is only formatted when the open of the RAM-disk root does not succeed.<p>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品亚洲国内自在自线福利| 一区二区免费在线播放| 欧美性猛交xxxx乱大交退制版| 久久97超碰国产精品超碰| 日韩黄色一级片| 免费亚洲电影在线| 国产在线视频一区二区| 成人午夜免费电影| 一本久久综合亚洲鲁鲁五月天| 91国在线观看| 欧美吻胸吃奶大尺度电影| 777久久久精品| 91精品国产91热久久久做人人 | 国产拍揄自揄精品视频麻豆| 国产欧美一区二区精品婷婷| 国产精品网站在线| 亚洲自拍另类综合| 免费成人在线网站| 丰满岳乱妇一区二区三区| 欧美午夜视频网站| 欧美在线免费播放| 精品日韩欧美在线| 国产精品不卡在线观看| 五月激情丁香一区二区三区| 全部av―极品视觉盛宴亚洲| 国产a级毛片一区| 欧美日韩视频在线观看一区二区三区 | 91精品中文字幕一区二区三区| 日韩美女视频在线| 国产精品久久久久久久久免费樱桃 | 国产一区二区三区不卡在线观看| 国产91在线|亚洲| 欧美日韩免费在线视频| 国产色综合久久| 五月激情丁香一区二区三区| 国产成人综合亚洲网站| 欧美午夜理伦三级在线观看| 久久精品亚洲精品国产欧美 | 在线观看91av| 国产日韩欧美不卡在线| 亚洲成人在线网站| www.亚洲精品| 国产日韩高清在线| 视频一区中文字幕国产| k8久久久一区二区三区| 日韩女优电影在线观看| 亚洲精品自拍动漫在线| 国产精品18久久久久久久久久久久 | 亚洲精品国产精华液| 久久国产精品99久久人人澡| 欧洲av一区二区嗯嗯嗯啊| 中文字幕不卡的av| 国产一区二区三区免费看| 欧美电影在哪看比较好| 亚洲曰韩产成在线| 色综合天天性综合| 中文字幕免费在线观看视频一区| 日本91福利区| 欧美精选午夜久久久乱码6080| 亚洲欧美日韩在线| 波多野结衣精品在线| 久久久91精品国产一区二区精品| 青青草97国产精品免费观看 | 美腿丝袜在线亚洲一区 | 久久精品一区蜜桃臀影院| 日韩av一二三| 欧美日韩国产综合草草| 亚洲国产另类av| 欧美日韩综合不卡| 亚洲一二三四区| 色综合天天综合在线视频| 亚洲免费在线观看视频| 色婷婷综合久久久久中文一区二区 | 欧美色网站导航| 亚洲国产精品久久不卡毛片 | 国产精品乱码人人做人人爱 | 国内精品伊人久久久久av一坑 | 久久久久免费观看| 懂色中文一区二区在线播放| 欧美经典一区二区三区| 国产91在线|亚洲| 国产精品久久久爽爽爽麻豆色哟哟| 国产经典欧美精品| 中文字幕av资源一区| av午夜一区麻豆| 亚洲欧美区自拍先锋| 欧洲国内综合视频| 喷水一区二区三区| 精品久久久久久久久久久久久久久久久| 日本欧美一区二区在线观看| 日韩欧美激情四射| 国产91精品露脸国语对白| 国产精品免费视频网站| 在线看一区二区| 日本亚洲三级在线| 久久久久久久久久久久电影| 婷婷一区二区三区| 久久看人人爽人人| 99在线视频精品| 日韩在线卡一卡二| 欧美激情在线一区二区三区| jlzzjlzz亚洲日本少妇| 三级不卡在线观看| 久久久久久久久一| 欧美亚洲禁片免费| 精品一区二区三区视频| 亚洲美女淫视频| 精品国一区二区三区| 色哟哟一区二区在线观看| 毛片基地黄久久久久久天堂| 欧美国产精品久久| 777欧美精品| 99在线精品观看| 看电视剧不卡顿的网站| 亚洲三级在线免费| 精品1区2区在线观看| 色综合久久天天| 国产一区二区三区黄视频 | 激情综合色丁香一区二区| 亚洲视频一区在线| 久久综合av免费| 欧美精选午夜久久久乱码6080| 国产成人综合网| 精品一区二区三区在线视频| 亚洲人成在线播放网站岛国| 精品成人一区二区| 欧美日韩国产高清一区二区三区| 成人一区二区三区视频 | 91在线云播放| 国产乱码精品一区二区三区av| 丝袜美腿亚洲一区二区图片| 亚洲欧美日韩国产手机在线| 国产亚洲精品超碰| 日韩午夜在线播放| 在线成人小视频| 欧美性猛交xxxxxxxx| 91最新地址在线播放| 岛国av在线一区| 国产美女在线精品| 国产一区三区三区| 久久99国产精品免费网站| 日韩精品乱码免费| 日韩中文字幕区一区有砖一区 | 91精品国产一区二区| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 欧美刺激午夜性久久久久久久| 欧美体内she精高潮| 日本高清无吗v一区| 在线视频观看一区| 欧美性大战久久久| 在线观看日韩一区| 欧美日韩午夜影院| 777奇米四色成人影色区| 欧美一区二区国产| 日韩欧美国产1| 日韩视频永久免费| 精品少妇一区二区三区日产乱码| 精品av久久707| 国产女同性恋一区二区| 国产精品网友自拍| 亚洲最新视频在线观看| 亚洲一区二区成人在线观看| 午夜av电影一区| 蜜臀久久99精品久久久画质超高清| 日韩精品乱码av一区二区| 久久国产视频网| 成人涩涩免费视频| 欧美中文字幕一区二区三区| 欧美日韩一二区| 精品毛片乱码1区2区3区| 久久九九久精品国产免费直播| 国产精品五月天| 亚洲国产综合视频在线观看| 日韩黄色免费网站| 东方aⅴ免费观看久久av| 91黄色免费网站| 欧美xfplay| 亚洲欧美日韩国产另类专区| 亚洲成人av在线电影| 国产精品99久久久久久久vr| 91行情网站电视在线观看高清版| 欧美一级理论性理论a| 国产欧美日韩视频一区二区| 一区二区免费在线| 国产一区二区三区观看| 91啦中文在线观看| 精品国精品自拍自在线| 最近日韩中文字幕| 免费观看一级特黄欧美大片| 成人avav影音| 欧美成人福利视频| 亚洲女同ⅹxx女同tv| 韩国欧美国产一区| 欧美少妇bbb| 中文字幕第一页久久| 久久国产精品99精品国产| 在线观看欧美黄色| 日本一区二区在线不卡| 天天操天天干天天综合网| 99免费精品视频|