Commit Graph

145 Commits

Author SHA1 Message Date
bernard.xiong@gmail.com a741197fa7 fixed the O_APPEND and lseek issue in DFS FatFS.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2496 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-19 01:57:43 +00:00
goprife@gmail.com b45f14c038 1) add JFFS2_NAME_MAX to jffs2_config.h 2)fix micro conflict in include/port/fcntl.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2492 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-18 06:42:27 +00:00
goprife@gmail.com 4f7cfcd5e9 add DFS_NFS_MAX_MTU to nfs to support read/write more than one mtu data in nfs; 2) fix a bug in nfs_lseek when offset is at the end of file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2485 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-15 11:37:41 +00:00
goprife@gmail.com 56ab153b1c update dfs to support NFTL
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2478 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-13 02:13:34 +00:00
goprife@gmail.com 6de2d5fe9f remove part of uffs configuration to rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2464 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-02 14:28:53 +00:00
goprife@gmail.com 564ca94007 update jffs2, now it can be built with gcc(NEWLIB is needed!)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2453 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-27 06:15:51 +00:00
goprife@gmail.com d5eb16dda2 fix the line break in dfs_elm.c(there are some windows line break characters)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2413 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-14 16:08:00 +00:00
goprife@gmail.com 583bb26fb2 fix the bug about directory in uffs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2412 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-14 15:53:54 +00:00
goprife@gmail.com eda62844c1 fix the line break character in ff.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2390 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-04 06:02:40 +00:00
goprife@gmail.com e956eedc20 fill st_blksize of struct stat in dfs_def.h(this filed has nothing to do with jffs2)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2369 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-23 04:08:54 +00:00
goprife@gmail.com b45dfd0a15 change block_size to pages_per_block in dfs_uffs.c and uffs_nandif.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2364 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-22 01:19:16 +00:00
goprife@gmail.com d9b0bec989 fix bug in dfs_unmount when test unmount condition found by Rob(rdent@iinet.net.au)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2356 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-20 01:59:41 +00:00
goprife@gmail.com 2bbd1496a3 update so can be build with vs2005
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2354 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-19 08:59:22 +00:00
sc943313837@gmail.com c77e211d1d add SYNC in function disk_ioctl
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2322 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-07 05:13:36 +00:00
qiuyiuestc@gmail.com 76ba5137dd export symbols in dfs_posix.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2304 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-24 12:55:35 +00:00
goprife@gmail.com 6864f3a38b fixed the memory leak in dfs_elm.c found by hezlog@gmail.com
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2292 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-17 02:33:18 +00:00
wuyangyong 01aa24f2c5 update elmfat: add RT_DFS_ELM_CODE_PAGE define.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2285 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-09 05:50:58 +00:00
iamyhw@gmail.com e39022f3c7 dfs: add format flag O_BINARY
lzo: change to use posix interface.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2283 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-08 03:37:46 +00:00
goprife@gmail.com 3ea99e46f3 fix bug in dfs_elm.c the fat->drv to index, because fat->drv is uninitialized in f_mount.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2256 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-21 10:06:59 +00:00
goprife@gmail.com 063fb36089 add f_opendir to open root directory in dfs_elm_mount to make sure that there is a valid fat
partition on physical media.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2251 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:46:48 +00:00
goprife@gmail.com 3dbbc479fc revert to r2247
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2250 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:43:07 +00:00
goprife@gmail.com 3675f263cb fix the return type of leavefs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2249 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:16:03 +00:00
goprife@gmail.com 853b1259b0 add chk_mounted in dfs_elm_mount to make sure that there is a valid fat partition on physical media.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2248 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:09:30 +00:00
goprife@gmail.com 0919b8dab1 fix non-align bug in the mem_cpy
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2239 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-30 13:39:11 +00:00
goprife@gmail.com f7fbd6bc6d add two functions for elm fatfs provided by aozima
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2231 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-25 16:41:30 +00:00
dzzxzz@gmail.com 128a283245 fixed a spelling error and use RT_NULL instead of NULL in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2215 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 10:08:46 +00:00
dzzxzz@gmail.com fdc7dfc768 use RT_NULL instead of NULL in DFS, and format the code in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2213 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:25:19 +00:00
dzzxzz@gmail.com 9d4072ce59 fixed spelling errors in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2212 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:09:42 +00:00
dzzxzz@gmail.com 4b0e272644 delete the re-defined rt_list_entry(node, type, member) and format the code in devfs.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2211 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 00:42:39 +00:00
goprife@gmail.com e040266967 fix bug in f_seekdir in elm fatfs, with the patch provided by rogerz.zhang@gmail.com
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2198 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-01 10:36:47 +00:00
bernard.xiong@gmail.com 94d413a7a7 merge 1.0.2 modification.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2194 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-29 06:03:11 +00:00
goprife@gmail.com 503534a506 remove uffs/sr/test code to reduce size of source
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2179 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-23 18:48:53 +00:00
goprife@gmail.com 9b2ea9bc0f 1. change mtd to mtd_nor, 2. update jffs2
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2140 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 13:39:39 +00:00
goprife@gmail.com 50955197d5 add a patch to fix compile warning in yaffs code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2076 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 16:52:47 +00:00
goprife@gmail.com ff350c4ebc modify the line break character of yaffs.diff
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2075 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 14:33:50 +00:00
goprife@gmail.com 5f55c8cb50 add yaffs code and modify dfs/SConscript for yaffs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2073 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:53:49 +00:00
goprife@gmail.com 3467396926 fix bug in dfs_jffs2_statfs.buf->f_bfree should be the free blocks, not bytes.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2048 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 07:43:28 +00:00
bernard.xiong@gmail.com 5cc877fa24 fixed compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2040 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-13 15:29:51 +00:00
goprife@gmail.com 7f98c2e5e9 fix bug in uffs_result_to_dfs, that UENOMEM is corresponding with DFS_STATUS_ENOSPC
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2026 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 12:44:38 +00:00
goprife@gmail.com 0bcb79b3ab fix bugs in uffs_result_to_dfs and in dfs_uffs_statfs in dfs_uffs.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2025 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 11:28:51 +00:00
goprife@gmail.com 7494880ac2 remove struct _uffs_data in dfs_uffs.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2022 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 08:14:32 +00:00
bernard.xiong@gmail.com 2c22680aff remove dfs server init.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2021 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-07 16:10:57 +00:00
goprife@gmail.com 6e65fb482a update dfs_uffs.c to use uffs_Mount and uffs_UnMount function provided by official repo
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2020 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-05 03:44:55 +00:00
goprife@gmail.com 3484e839a8 just update uffs with official(I miss to commit helper_cmds.c, sorry) and delete tags
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2019 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-05 03:43:37 +00:00
goprife@gmail.com f435f7116a update uffs from official repo(fixed bugs and support mount/unmount one partition"
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2018 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-05 03:39:47 +00:00
goprife@gmail.com 3ab019bf86 change SConscript for uffs and yaffs2
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2017 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-02 16:35:58 +00:00
goprife@gmail.com 0b4c769f10 add uffs (new version, new port)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2015 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-02 16:12:43 +00:00
goprife@gmail.com 34678294fe git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2014 bbd45198-f89e-11dd-88c7-29a3b14d5316 2012-04-02 15:53:34 +00:00
qiuyiuestc@gmail.com 4421ec8c64 fix memory leak issue in unmount function
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1999 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17 11:22:51 +00:00
goprife@gmail.com 484af67a52 update dfs_jffs2.c (note: there are some bugs in jffs2 when multi-threads writes and read)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1994 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-10 14:41:11 +00:00