Bernard Xiong
9bd094197e
[libc] Add HAVE_SYS_SELECT_H/HAVE_SYS_SOCKET_H options.
2017-11-05 14:36:48 +08:00
bernard
6d9fcd04d2
[Kernel] Change the order of initialization.
...
1. Remove INIT_FS_EXPORT and change INIT_DEVICE_EXPORT as the first item
in the initalization thread.
2. Move the eth_system_device_init into INIT_PREV_EXPORT item.
2017-11-03 11:44:37 +08:00
bernard
bc2abf69e2
[DFS] Fix the ramfs issue.
2017-10-31 09:53:22 +08:00
bernard
7d673f921c
[libc] Adjust libc.
...
1. Move struct stat to libc_stat.h;
2. Defined a new FD_SET macros in libc_fdset.h.
2017-10-31 09:52:49 +08:00
bernard
1d8636b7f4
[DFS] Code cleanup.
2017-10-25 18:42:06 +08:00
bernard
cc9667b7a9
[DFS] Fix the RAMFS compiling issue.
2017-10-25 18:41:53 +08:00
bernard
67fff44fdd
[DFS] Fix the UFFS compiling issue.
2017-10-25 16:23:02 +08:00
bernard
5bc690336b
[DFS] Fix the romfs compiling issue.
2017-10-25 14:21:49 +08:00
bernard
d9592457fb
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2017-10-25 07:25:39 +08:00
bernard
0d45288f06
[libc] Add mode_t in rtlibc.h for Keil MDK/IAR.
2017-10-25 07:25:24 +08:00
armink
b4168cc60d
[DFS] Fix `fd_new` failed return value.
2017-10-22 22:14:55 +08:00
bernard
8a38307e2c
[libc] Add RT_USING_POSIX macro.
...
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-17 22:27:06 +08:00
ArdaFu
b72bdefa46
[DFS][NFS] Fix compile error. Move nfs_file/nfs_dir data ptr into struct nfs_filesystem.
2017-10-17 13:53:39 +08:00
bernard
0f5a68a55e
[dfs] add poll/select
...
1. Add poll/select APIs;
2. Add wait queue implementation;
3. Remove DFS_STATUS_* code and use errno;
4. Add pipe API;
5. Use a standalone fops in DFS;
2017-10-15 22:44:53 +08:00
bernard
9122edd57c
[Kconfig] Add more descrip for Kconfig
2017-10-09 15:12:42 +08:00
SummerGift
f065e8cbd8
[添加]:配置宏RT_DFS_ELM_WORD_ACCESS。
2017-10-09 14:22:09 +08:00
Bernard Xiong
8d169a8b19
Merge pull request #862 from armink/fix_kconfig
...
Fix kconfig
2017-10-06 10:59:53 +08:00
yygg_you
d428166f08
修复 mkfs失败的错误
2017-10-06 09:01:56 +08:00
armink
9d54556619
[KConfig] Change the RT_DFS_ELM_USE_LFN cfg to choice.
2017-10-05 16:20:21 +08:00
armink
9ff340f416
[KConfig] Add long file name configuration for FATFS.
2017-10-05 14:52:16 +08:00
xieyangrun
6b06cb83e3
rename WEAK to RT_WEAK
2017-09-18 11:32:13 +08:00
bernard
bc0fbbfe82
[DFS] change the cmd to long data type.
2017-06-15 14:37:18 +08:00
bernard
b7cf723162
[DFS] code cleanup
2017-06-15 14:36:59 +08:00
bernard
6e63cbb9be
[DFS] "console" device check.
...
[DFS] To make sure the "console" device exist or not when initialize
console device.
2017-06-15 14:36:40 +08:00
bernard
0acf441836
Fix compiling warning for Win32.
2017-06-06 23:34:01 +08:00
bernard
3101ba8ac8
[DFS] Add fd checking in dfs_file_close API.
2017-06-06 18:19:32 +08:00
Urey
2426efe6b7
delete volatile
2017-05-26 21:05:10 +08:00
Urey
0e82a5b821
fix f_mount when mount more fats
2017-05-26 21:02:59 +08:00
xools
5b50c7e41b
fix fattime different from elmfat definition
2017-04-16 16:13:15 -07:00
lizhen9880
d883f7e23b
fix the f_bsize and f_blocks issue in function dfs_uffs_statfs
2017-04-12 14:32:12 +08:00
lizhen9880
3e6f64fe7a
the file description is modified to local variable in function
...
static void copydir(const char * src, const char * dst)
2017-04-12 10:53:53 +08:00
Bernard Xiong
5502558df9
[DFS] fix the st_blksize issue in elm fatfs.
2017-04-11 09:33:25 +08:00
Bernard Xiong
5e98c690a1
Merge pull request #700 from hichard/hichard
...
[DFS] update elm fatfs to 0.12b version.
2017-03-20 19:19:44 +08:00
unknown
6ee81de429
hichard
2017-02-13 22:33:15 +08:00
bernard
d692001fd5
[tools] Add KConfig files.
2017-01-31 11:54:12 +08:00
Bernard Xiong
7c38c59f62
[DFS] fix the name mistake in socket function.
2016-05-10 09:32:50 +08:00
Bernard Xiong
64feef0dde
[LIBC] mv pthreads/libdl to libc and rename dfs_lwip to dfs_net
2016-05-10 09:22:01 +08:00
Bernard Xiong
e68a3a977a
[DFS] Remove stat/fstat function under WIN32 simulation.
2016-04-06 01:16:09 +08:00
Bernard Xiong
b39654d5a1
Merge pull request #610 from FlyLu/master
...
[DFS] Fix the ramfs issue.
2016-02-20 19:41:40 +08:00
FlyLu
0b3dd47347
修正ramfs.h中防止重复包含的宏定义名称
...
修正components.h中使能RT_USING_DFS_RAMFS宏时,加入ramfs.h头文件
2016-02-20 14:53:39 +08:00
Bernard Xiong
455daf8e7a
Add ioctl API and fix the read/write conflict issue with newlib's API.
2015-12-22 10:18:36 +08:00
www220@tom.com
45d46b076f
修正romfs在输入的目录名称比实际的名称短时存在的判断错误
...
比如实际目录为abcde,msh执行 cd abc也能执行成功,判断名称时存在bug
2015-10-14 10:28:25 +08:00
Bernard Xiong
e5edc5b09a
[DFS] Use the win32 stat structure if using MS VC++ compiler.
2015-10-11 15:39:07 +08:00
Bernard Xiong
d859e3e8b8
[DFS] export more symbols for dfs_lwip.
2015-10-11 15:38:35 +08:00
Bernard Xiong
d2ec1f3eaa
[DFS] remove st_blksize in the struct stat
2015-10-01 06:46:52 +00:00
Bernard Xiong
b4e3fb2007
[DFS] add sys/tcp.h and sys/udp.h for compatibility
2015-09-25 07:00:11 +08:00
Bernard Xiong
d1a1cbfdd7
[DFS] add sockaddr_storage structure in sys/socket.h
2015-09-25 06:55:55 +08:00
Bernard Xiong
6362a8606e
[DFS] fix the lwIP select issue
2015-09-24 09:59:34 +00:00
www220@tom.com
3bd1a372a0
修正mkdir lseek中文件句柄不释放的bug
2015-09-11 19:34:37 +08:00
Bernard Xiong
3e310522e0
[DFS] Fix the compiling issue in NFS.
2015-08-03 16:17:27 +08:00
Bernard Xiong
52e0d3ce0f
[DFS] Add fsync function
2015-07-16 10:35:42 +08:00
Bernard Xiong
c6d4407c57
[DFS] Fix the fd clear issue.
2015-06-04 22:23:53 +08:00
pangwei
570e9470b1
[uffs] fix the SConscript file of uffs.
...
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 17:06:05 +08:00
Bernard Xiong
7e981e3e26
[DFS] Fix the accept/shutdown issue in dfs_lwip.
2015-05-11 12:32:53 +08:00
Bernard Xiong
b7d069c4c8
[DFS] Add file header for select implementation
2015-05-05 13:23:01 +00:00
Bernard Xiong
3aa144d0be
[DFS] add select implementation.
2015-05-05 13:16:26 +00:00
Bernard Xiong
10d3afde03
[DFS] rename netdb.c to lwip_netdb.c in dfs_lwip.
...
To avoid same file name, therefore change the netdb.c to lwip_netdbc in
dfs_lwip.
2015-05-04 20:34:07 +08:00
Bernard Xiong
854d8866d3
[DFS] fix the compiling issue under Keil MDK.
2015-05-02 22:53:08 +08:00
Bernard Xiong
5ca3da9e1c
Merge remote-tracking branch 'upstream/master'
2015-05-02 01:33:58 +00:00
Bernard Xiong
a7d6e284d0
[DFS] Export dfs_subdir/dfs_normalize_path symbol to module.
2015-05-02 08:55:08 +08:00
Bernard Xiong
8dfc80b4a2
[DFS] Add lwIP file system interface for DFS
2015-05-01 08:19:52 +00:00
Bernard Xiong
f36a1d92a4
[DFS] fix the NFS link issue
2015-04-11 01:04:14 +00:00
Bernard Xiong
78ef35f2cf
Merge remote-tracking branch 'coding/master'
2015-04-06 05:16:53 +00:00
Bernard.Xiong
b68d041275
[DFS] add file header infor
2015-04-06 11:52:29 +08:00
Bernard Xiong
1377022b18
[DFS] Use SConscript of each file system to build.
2015-04-03 14:26:18 +00:00
Bernard Xiong
fbd620a7f4
[Kernel] Move the components initailzation to the kernel
2015-02-25 10:50:21 +08:00
Bernard Xiong
7f4e647971
Merge remote-tracking branch 'upstream/master'
2015-01-29 09:14:12 +00:00
Bernard Xiong
01c3460cdb
[DevFS] fix the device none-open issue
2015-01-28 14:13:44 +08:00
Aubr.Cool
eb898f69c9
Correct dfs fd_is_open search index error
2015-01-27 11:00:25 +08:00
Bernard Xiong
ab05daf4ef
[LIBC] fix compiling warning
2014-12-06 07:26:19 +00:00
Grissiom
28ff3ed186
romfs: fix a use-before-set bug on checking the dirent
2014-11-03 17:32:50 +08:00
Grissiom
b43573844d
romfs: rewrite mkromfs.py
2014-11-03 12:20:09 +08:00
Grissiom
e882597f9c
romfs: check the dirent before use it
...
System will crash when the romfs is erased. Add checks before using them
to avoid it.
2014-11-03 12:10:25 +08:00
Grissiom
3531fa71aa
romfs: declare the dummy entry as weak
2014-11-01 17:57:43 +08:00
Bernard Xiong
b081df6b93
[NFS] fix opendir failed issue.
2014-11-01 10:53:44 +08:00
Grissiom
9a75583349
dfs: check for null reference
2014-10-14 16:09:10 +08:00
bernard
582aff86ed
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-08-01 12:03:24 +08:00
bernard
516711dc1d
[DFS] make comments cleanup.
2014-08-01 12:03:11 +08:00
Bernard Xiong
59c128c073
[libc] fix compiling warning
2014-07-31 09:30:18 +08:00
bernard
a118801bfe
[DFS] Add dfs_filesystem_get_mounted_path() function.
2014-06-26 13:59:26 +08:00
Grissiom
4b7e9c6447
dfs: assert the path is not null in dfs_filesystem_lookup
...
Clang complains about "Null pointer argument in call to string
comparison function". So assert on it.
2014-04-12 16:35:07 +08:00
bernard
6469a5a3d1
[DFS] fix compiling warning.
2014-04-02 14:02:36 +08:00
bernard
6cab3b7dfa
[DFS] fix compiling warning in NFS
2014-03-10 11:48:47 +08:00
Bernard Xiong
d0d239cd4c
[DFS] fix compiling warning for NFS file system
2014-03-10 11:21:50 +08:00
Bernard Xiong
3d80e414ff
[JS] fix the include path issue
2014-02-25 13:43:59 +08:00
Bernard Xiong
0468f0c87e
Add INIT_FS_EXPORT for RAM file system
2014-02-20 22:06:59 +08:00
prife
f015f36d05
dfs: support copy directory
2014-02-09 15:27:52 +08:00
bernard
201d11bb2f
[DFS] Fix file size issue
...
This issue causes fstat & lseek not correct.
2014-02-01 21:35:23 +08:00
bernard
5a6ec7dcae
[DFS] fix the wrong field comparison in FAT mount.
2014-01-26 22:43:12 +08:00
bernard
e601c2a6ed
Add sector size check when mounting a FAT file system.
2014-01-26 20:30:37 +08:00
bernard
2188d06003
[DFS] remove a compiling warning
2014-01-11 16:34:15 +08:00
prife
c07a78ae00
nfs: fix bug
...
I have to mention that this bug is introduced by myself, in the last
commit <fd07f30f511335f506ae6557e300093d4dde421e> to dfs_nfs.c
2014-01-11 14:57:02 +08:00
bernard
7fd45f3d44
[DFS] remove the unnecessary code
2014-01-04 06:05:03 +08:00
prife
95006bb503
Merge pull request #215 from prife/master
...
fix dfs_unmount bug
2013-12-21 04:06:25 -08:00
Grissiom
1289dff203
DFS: let mount fail on device open error
2013-12-21 12:15:31 +08:00
prife
26a31d662d
dfs: make elmfatfs check secter size everytime
...
more infomation:
http://www.rt-thread.org/phpBB3/topic2965.html
2013-12-21 12:04:19 +08:00
prife
4f9dc273ec
dfs: fix dfs_unmount bug
...
fix #211
2013-12-21 11:35:09 +08:00
prife
27112267e9
dfs: rename varialbe name in dfs_filesystem_lookup
...
empty is confused in dfs_filesystem_lookup.
2013-12-21 10:58:52 +08:00
prife
f4e8820bca
dfs: refine more code
...
clean code with pointer rather than index
2013-12-19 13:58:30 +08:00
prife
7fd6d17d5b
dfs: refine code
...
decrease indentation to make cleaner code
fix mkfs bug when there is no mkfs implementation
2013-12-19 00:31:39 +08:00
prife
3a33906ab1
simulator/jffs2: remove _TIME_T_DEFINED when built by VC++
...
_TIME_T_DEFINED was pre-defined in order to build jffs2 with VC.
While it may cause many side effects.
2013-10-17 23:47:08 +08:00
Grissiom
5fdca8371b
DFS: add dfs_file_flush prototype in dfs_file.h
2013-10-11 14:55:23 +08:00
prife
f71f0595d6
DFS/jffs2: fix bug when umount jffs2
...
found by haitao5198
clear mount parition device talbe when jffs2 mount falied
2013-09-28 14:57:05 +08:00
prife
12a6366217
DFS/jffs2: fix file mode init bug in jffs2_open/opendir
...
found by haitao52198
URL:http://www.rt-thread.org/phpBB3/viewtopic.php?f=3&t=3112&p=17153#p17153
2013-09-28 14:43:00 +08:00
bernard
ac10730492
fix O_APPEND write issue in RAMFS
2013-07-29 14:50:12 +08:00
bernard
ac850ef3f0
add device_open/close in mkfs
2013-07-29 14:43:52 +08:00
bernard
d74dee0dd6
Add ramfs into building script
2013-07-29 13:52:59 +08:00
bernard
a124e7bd22
add initialization debug code
2013-07-24 07:33:48 +08:00
bernard
b96b35613f
add mount table
2013-07-22 07:46:10 +08:00
prife
15b08b483a
dfs: fix the variable definition bug in copy, found by ffgamelife from rt-thread.org
2013-07-06 16:41:10 +08:00
yiyue.fang
873a5de811
reformat the coding style in dfs_ramfs.c
2013-06-29 10:43:03 +08:00
yiyue.fang
773990abdb
Embedded GPLv2 license in dfs
2013-06-26 22:30:40 +08:00
Bernard Xiong
9acd018cbb
fix compiling warning
2013-06-23 07:57:22 +08:00
Bernard Xiong
88c9bc2d64
fix compiling error
2013-06-23 07:53:19 +08:00
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
Grissiom
3b91e8143b
add missing dfs_mkfs prototype in dfs_fs.h
2013-05-17 20:07:55 +08:00
Bernard Xiong
0e16b6dc97
add RAMFS implementation
2013-05-05 07:16:49 +08:00
geniusgogo
f95cd9a354
dfs_fs.c: optimized redundant loop.
2013-04-01 02:53:59 +08:00
geniusgogo
8d6264af58
dfs.c: delete the redunant space in the line end.
2013-04-01 02:37:13 +08:00
geniusgogo
ec6f9e3b5a
dfs.c: fix null pointer bug.
2013-04-01 02:31:24 +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
4be62911f9
show volume size in KBytes in df
2013-01-25 12:17:47 +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
58fc3334b0
add dfs_fd check code in dfs and fix a warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2547 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 06:28:28 +00:00
goprife@gmail.com
c0fadff061
dfs_fd check code should not be in fd_get, which will cause open/mkdir failed.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2546 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 05:01:02 +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
911cbb5793
move check dfs_fd valid code from close to fd_get
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2540 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 02:49:35 +00:00
goprife@gmail.com
1c419d428e
check dfs_fd valid in close
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2539 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-28 13:40:52 +00:00
dzzxzz@gmail.com
69521e2c8f
fixed the coding style in components/dfs
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2530 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-26 01:12:13 +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
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
goprife@gmail.com
8e5b4024ed
update jffs2, CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE can be disable in jffs2_config.h; modify semaphore.h so that rt_mutex_init and work correctly in jffs2; fix a memory leak bug in dfs_jffs2.c when close directory
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1991 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-06 14:50:19 +00:00
bernard.xiong@gmail.com
d6d7c4a851
remove LIBRARY=True option.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1976 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-24 07:23:58 +00:00
bernard.xiong@gmail.com
68384c37c4
change RT_USING_MMCSD to RT_USING_SDIO;
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1969 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19 09:10:07 +00:00
goprife@gmail.com
7114014429
add a option in jffs2_config.h(whose value may be important to reading/writing speed)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1951 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-16 18:12:45 +00:00
goprife@gmail.com
6202b6c155
fix bugs in lseek in dfs_posix.c and dfs_jffs2.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1946 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-15 07:28:47 +00:00
goprife@gmail.com
2a858f9316
add an option to jump relatvie dir '.' and '..' in jffs2
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1943 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-11 07:29:30 +00:00
bernard.xiong@gmail.com
29df97e5cd
remove cyg_* type in flashio.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1942 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-10 11:49:44 +00:00
goprife@gmail.com
56ea07b02d
fix bugs in debug.c of jffs2
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1941 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-09 13:53:01 +00:00