首页 » 技术SOS » 嵌入式系统 » 操作系统 » vxWorks V6.2中的TFFS问题

vxWorks V6.2中的TFFS问题

菜鸟
2008-03-30 21:18:12
在AMCC0440EPx上使用vxWorks 6.2,当通过网络加载Image成功后,用usrTffsConfig(0,0,"/tffs0")可以创建文件系统(已经通过测试),但当在BootLoader中设置从TFFS引导时就出错了,出错信息如下: Attaching to TFFS... 0xc816c0 (tRoot): checkStatus() ERROR line 44 0xc816c0 (tRoot): checkStatus() ERROR line 279 tffsDevCreate failed. usrTffsConfig failed. 装载Image失败,我修改Boot参数,使用网络加载Image,VxWorks能正常引导,使用usrTffsConfig创建文件系统成功,使用devs命令可以看到设备:"/tffs0"! 据我推测,可能是MTD出现了问题,但又不知如何下手解决,请各高手指导!!!
分享
关键词: vxWorks, MTD  
菜鸟
2008-04-06 17:38:02
1楼

config.h中与TFFS相关的组件配置有哪些内容??

菜鸟
2008-04-12 20:29:21
2楼

以下内容是我在Config.h中的定义 #ifdef INCLUDE_TFFS #define INCLUDE_TL_FTL #define INCLUDE_XBD /* Extended block device */ #define INCLUDE_XBD_BLK_DEV /* Extended block device */ #define INCLUDE_DEVICE_MANAGER /* Device Manager */ #define INCLUDE_ERF /* Event reporting framework */ #define INCLUDE_FS_EVENT_UTIL /* File system event utility */ #define INCLUDE_FS_MONITOR /* File system monitor */ #define INCLUDE_XBD_PART_LIB /* XBD partition creation support */ #define INCLUDE_DOSFS /* DOS filesystem */ #define INCLUDE_DOSFS_FAT /* DOS file system FAT12/16/32 handler */ #define INCLUDE_DOSFS_DIR_FIXED /* DOS File system old directory format handler */ #define INCLUDE_DOSFS_DIR_VFAT /* DOS file system VFAT directory handler */ #define INCLUDE_USER_FLASH #define INCLUDE_NET_SHOW #define INCLUDE_STARTUP_SCRIPT #define INCLUDE_TFFS_DOSFS #define INCLUDE_TFFS_SHOW #define INCLUDE_SYM_TBL #define INCLUDE_STAT_SYM_TBL #define INCLUDE_SHELL #define INCLUDE_DOSFS_MAIN #define INCLUDE_DISK_UTIL #define INCLUDE_SHOW_ROUTINES #define INCLUDE_STANDALONE_SYM_TBL #define INCLUDE_IO_SYSTEM #endif