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 Xiong
d2ec1f3eaa
[DFS] remove st_blksize in the struct stat
2015-10-01 06:46:52 +00:00
Bernard Xiong
1377022b18
[DFS] Use SConscript of each file system to build.
2015-04-03 14:26:18 +00: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
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 Xiong
98c8a23e94
Add component initialization.
2013-06-23 07:48:42 +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
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
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
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
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
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
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
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
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
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
bernard.xiong@gmail.com
a5e0a4526a
update jffs2 to use MTD device.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1938 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-07 03:53:11 +00:00
goprife@gmail.com
4f72d1cba1
remove some warning in jffs2, and fix armcc compile error when using scons
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1929 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 01:29:22 +00:00
bernard.xiong@gmail.com
fcf01d1d3d
fix mutex issue in semaphore.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1927 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 08:23:14 +00:00
goprife@gmail.com
3b11805964
add jffs2 code (porting from ecos v3.0)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1919 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-13 18:45:44 +00:00