bernard
8e4307382f
[DFS] update JFFS2 with RT-Thread 3.0.x.
2017-12-30 14:45:34 +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 Xiong
d2ec1f3eaa
[DFS] remove st_blksize in the struct stat
2015-10-01 06:46:52 +00: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
Bernard Xiong
98c8a23e94
Add component initialization.
2013-06-23 07:48:42 +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
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
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
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