Bernard Xiong
98c8a23e94
Add component initialization.
2013-06-23 07:48:42 +08:00
Bernard Xiong
d80a471680
Fix the memheap_realloc issue
2013-06-03 06:44:35 +08:00
Bernard Xiong
0e16b6dc97
add RAMFS implementation
2013-05-05 07:16:49 +08:00
prife
157e326487
dfs_elm.c: fix the head file conflicts caused by time.h
2013-03-02 18:56:07 +08:00
aozima
9bb005312f
fixed uninitialized variable.
2013-03-01 12:34:01 +08:00
aozima
f71555ec55
fixed dfs(elmfat) bug: fixed the stat(st_mtime) issue.
2013-03-01 12:23:28 +08:00
prife
a4d661dcf1
fix memory leak in dfs_elm.c and umount fatfs when mount fatfs fails (this bug leads to mkfs failure in linux)
2013-01-22 23:47:32 +08:00
Ming, Bai
86623c945f
Update CRLF
2013-01-08 23:09:34 +08:00
Ming, Bai
b4de7cce57
Re-normalizing the repo
2013-01-08 22:40:58 +08:00
prife
4bc0347b11
update dfs_xxx_mkfs in jffs2 nand uffs.c to use new args
2013-01-08 20:30:57 +08:00
prife
1e6bf8671c
format dfs_elm.c with astyle
2013-01-08 19:52:00 +08:00
prife
5646189b29
elm fatfs support mkfs with no need to run dfs_mount elm first; and can mount/umount/mkfs without reset any more
2013-01-08 18:58:45 +08:00
goprife@gmail.com
e10d628b47
remove the drivers in uffs/nand which is already out of date. now you can look simulator to explore how to use uffs on nand flash or Realtouch demo code on github
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2576 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 06:11:09 +00:00
goprife@gmail.com
3b2b01c375
1. fix bug in uffs_nandif.c to work with mtd nand driver; 2)clean code in uffs_nandif.c and dfs_uffs.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2575 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 06:07:04 +00:00
goprife@gmail.com
799ecf48c6
update uffs so it can work with mtd interface.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2558 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 03:26:34 +00:00
goprife@gmail.com
fd07f30f51
fix path bug and file/dir mode bug in dfs_nfs.c
...
now we can create file or directory on NFS server both with FreeNFS on windows and nfs-server on linux
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2556 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 16:55:23 +00:00
goprife@gmail.com
5bc586d399
fix compile warnings in dfs_elm.c to make sure type matching
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2545 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 04:14:07 +00:00
goprife@gmail.com
bcc4893d23
1) add jffs2's dirty space size to total free size 2) change JFFS2_NAME_MAX to 23
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2497 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-19 02:42:23 +00:00
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
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
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
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
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
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