Mercurial > ecos
annotate packages/fs/jffs2/current/ChangeLog @ 3292:7f8e529b4d82 default tip
Fix FREESCALE_EDMA_NBYTES_MLOFFYES_MLOFF() so it works with negative offsets.
| author | vae |
|---|---|
| date | Wed, 29 Apr 2015 23:31:48 +0000 |
| parents | 36c17db474c0 |
| children |
| rev | line source |
|---|---|
|
3011
36c17db474c0
* cdl/jffs2.cdl: Add CYGNUM_FS_JFFS2_TEST_OFFSET and
jlarmour
parents:
2872
diff
changeset
|
1 2011-02-17 Jonathan Larmour <jifl@eCosCentric.com> |
|
36c17db474c0
* cdl/jffs2.cdl: Add CYGNUM_FS_JFFS2_TEST_OFFSET and
jlarmour
parents:
2872
diff
changeset
|
2 |
|
36c17db474c0
* cdl/jffs2.cdl: Add CYGNUM_FS_JFFS2_TEST_OFFSET and
jlarmour
parents:
2872
diff
changeset
|
3 * cdl/jffs2.cdl: Add CYGNUM_FS_JFFS2_TEST_OFFSET and |
|
36c17db474c0
* cdl/jffs2.cdl: Add CYGNUM_FS_JFFS2_TEST_OFFSET and
jlarmour
parents:
2872
diff
changeset
|
4 CYGNUM_FS_JFFS2_TEST_LENGTH, which should have been included in change |
|
36c17db474c0
* cdl/jffs2.cdl: Add CYGNUM_FS_JFFS2_TEST_OFFSET and
jlarmour
parents:
2872
diff
changeset
|
5 of 2008-11-18. |
|
36c17db474c0
* cdl/jffs2.cdl: Add CYGNUM_FS_JFFS2_TEST_OFFSET and
jlarmour
parents:
2872
diff
changeset
|
6 |
|
2872
5ae4b05913c1
* fs/fat/current/cdl/fatfs.cdl, fs/jffs2/current/cdl/jffs2.cdl,
jld
parents:
2853
diff
changeset
|
7 2009-04-28 John Dallaway <john@dallaway.org.uk> |
|
5ae4b05913c1
* fs/fat/current/cdl/fatfs.cdl, fs/jffs2/current/cdl/jffs2.cdl,
jld
parents:
2853
diff
changeset
|
8 |
|
3011
36c17db474c0
* cdl/jffs2.cdl: Add CYGNUM_FS_JFFS2_TEST_OFFSET and
jlarmour
parents:
2872
diff
changeset
|
9 * cdl/jffs2.cdl: Use CYGPKG_IO_FILEIO as the parent. |
|
2872
5ae4b05913c1
* fs/fat/current/cdl/fatfs.cdl, fs/jffs2/current/cdl/jffs2.cdl,
jld
parents:
2853
diff
changeset
|
10 |
|
2853
cf24f74f563f
* cdl/jffs2.cdl: Add include-fixed to the system include files we
asl
parents:
2729
diff
changeset
|
11 2009-02-22 Andrew Lunn <andrew.lunn@ascom.ch> |
|
cf24f74f563f
* cdl/jffs2.cdl: Add include-fixed to the system include files we
asl
parents:
2729
diff
changeset
|
12 |
|
cf24f74f563f
* cdl/jffs2.cdl: Add include-fixed to the system include files we
asl
parents:
2729
diff
changeset
|
13 * cdl/jffs2.cdl: Add include-fixed to the system include files we |
|
cf24f74f563f
* cdl/jffs2.cdl: Add include-fixed to the system include files we
asl
parents:
2729
diff
changeset
|
14 should search. Without this gcc 4.3 breaks. |
|
cf24f74f563f
* cdl/jffs2.cdl: Add include-fixed to the system include files we
asl
parents:
2729
diff
changeset
|
15 |
|
2631
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
16 2008-11-18 Jonathan Larmour <jifl@eCosCentric.com> |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
17 |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
18 * tests/jffs2_1.c, tests/jffs2_2.c, tests/jffs2_3.c: |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
19 Select device name to use according to configury, including flash |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
20 API in use. |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
21 |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
22 2008-06-09 Jonathan Larmour <jifl@eCosCentric.com> |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
23 |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
24 * cdl/jffs2.cdl (CYGPKG_FS_JFFS2_CFLAGS_ADD): Conditionalise use of |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
25 workaround for building with native linux tools so that it only |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
26 applies when using synth target. Otherwise it can cause problems |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
27 with some other third-party builds of the toolchain. |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
28 |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
29 2004-07-14 Andrew Lunn <andrew.lunn@ascom.ch> |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
30 |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
31 * tests/fileio1.c (main): If we have two filesystem configured |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
32 mount the second one on /mnt and list the root of it. |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
33 |
|
2475
e302e779e69b
* cdl/jffs2.cdl: Use CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE to control
asl
parents:
2199
diff
changeset
|
34 2008-04-02 Xinghua Yang <yxinghua@sunnorth.com.cn> |
|
e302e779e69b
* cdl/jffs2.cdl: Use CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE to control
asl
parents:
2199
diff
changeset
|
35 Taiyun Wang <taiyun@sunnorth.com.cn> |
|
e302e779e69b
* cdl/jffs2.cdl: Use CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE to control
asl
parents:
2199
diff
changeset
|
36 Andrew Lunn <andrew.lunn@ascom.ch> |
|
e302e779e69b
* cdl/jffs2.cdl: Use CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE to control
asl
parents:
2199
diff
changeset
|
37 |
|
e302e779e69b
* cdl/jffs2.cdl: Use CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE to control
asl
parents:
2199
diff
changeset
|
38 * cdl/jffs2.cdl: Use CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE to control |
|
e302e779e69b
* cdl/jffs2.cdl: Use CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE to control
asl
parents:
2199
diff
changeset
|
39 whether jffs2 sets file type in jffs2_fo_dirread. |
|
e302e779e69b
* cdl/jffs2.cdl: Use CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE to control
asl
parents:
2199
diff
changeset
|
40 * src/fs-ecos.c: Set file type in jffs2_fo_dirread. |
|
e302e779e69b
* cdl/jffs2.cdl: Use CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE to control
asl
parents:
2199
diff
changeset
|
41 * tests/jffs2_1.c: Test the new d_type in dirent when present. |
|
e302e779e69b
* cdl/jffs2.cdl: Use CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE to control
asl
parents:
2199
diff
changeset
|
42 |
|
2199
9619b62d5be9
* src/fs-ecos.c: Generalise the check for broken ARM compilers
asl
parents:
2043
diff
changeset
|
43 2006-03-09 Andrew Lunn <andrew.lunn@ascom.ch> |
|
9619b62d5be9
* src/fs-ecos.c: Generalise the check for broken ARM compilers
asl
parents:
2043
diff
changeset
|
44 |
|
9619b62d5be9
* src/fs-ecos.c: Generalise the check for broken ARM compilers
asl
parents:
2043
diff
changeset
|
45 * src/fs-ecos.c: Generalise the check for broken ARM compilers |
|
9619b62d5be9
* src/fs-ecos.c: Generalise the check for broken ARM compilers
asl
parents:
2043
diff
changeset
|
46 and add the MIPS compiler as also being broken. |
|
9619b62d5be9
* src/fs-ecos.c: Generalise the check for broken ARM compilers
asl
parents:
2043
diff
changeset
|
47 |
|
2043
27faf7001794
* tests/jffs2_1.c: Include <stdio.h> to stop compiler warning.
asl
parents:
2042
diff
changeset
|
48 2005-08-03 Andrew Lunn <andrew.lunn@ascom.ch> |
|
27faf7001794
* tests/jffs2_1.c: Include <stdio.h> to stop compiler warning.
asl
parents:
2042
diff
changeset
|
49 |
|
27faf7001794
* tests/jffs2_1.c: Include <stdio.h> to stop compiler warning.
asl
parents:
2042
diff
changeset
|
50 * tests/jffs2_1.c: Include <stdio.h> to stop compiler warning. |
|
27faf7001794
* tests/jffs2_1.c: Include <stdio.h> to stop compiler warning.
asl
parents:
2042
diff
changeset
|
51 |
| 2042 | 52 2005-07-30 Andrew Lunn <andrew.lunn@ascom.ch> |
|
1936
b58e464e09f8
* tests/jffs2_[123].c: Fixed compiler warnings for parameter
asl
parents:
1897
diff
changeset
|
53 |
| 2042 | 54 * Merge to public MTD |
|
1936
b58e464e09f8
* tests/jffs2_[123].c: Fixed compiler warnings for parameter
asl
parents:
1897
diff
changeset
|
55 |
|
1897
45b8b118a6a8
* src/fs-ecos.c (jffs2_truncate_file): Correctly truncate a file
asl
parents:
1890
diff
changeset
|
56 2005-02-25 Andrew Lunn <andrew.lunn@ascom.ch> |
|
45b8b118a6a8
* src/fs-ecos.c (jffs2_truncate_file): Correctly truncate a file
asl
parents:
1890
diff
changeset
|
57 |
|
45b8b118a6a8
* src/fs-ecos.c (jffs2_truncate_file): Correctly truncate a file
asl
parents:
1890
diff
changeset
|
58 * src/fs-ecos.c (jffs2_truncate_file): Correctly truncate a file |
|
45b8b118a6a8
* src/fs-ecos.c (jffs2_truncate_file): Correctly truncate a file
asl
parents:
1890
diff
changeset
|
59 when opening it with O_TRUNC. Test case from Knud Woehler. |
|
45b8b118a6a8
* src/fs-ecos.c (jffs2_truncate_file): Correctly truncate a file
asl
parents:
1890
diff
changeset
|
60 |
| 1890 | 61 2005-02-08 Estelle HAMMACHE <estelle.hammache@st.com> |
| 62 | |
| 63 * src/fs-ecos.c | |
| 64 * src/dir-ecos.c: Fixed the sign of the return codes in various | |
| 65 places. iput the inode only after we have finished with | |
| 66 it etc. | |
| 67 | |
| 1881 | 68 2005-01-22 Andrew Lunn <andrew.lunn@ascom.ch> |
| 69 | |
| 70 * Merge from public MTD. | |
| 71 | |
| 1871 | 72 2004-11-14 Per Hedblom <perhedblom@abem.se> |
| 1873 | 73 Andrew Lunn <andrew.lunn@ascom.ch> |
| 74 | |
| 1871 | 75 * src/os-ecos.h: Added gc tread support |
| 76 * src/fs-ecos.c: Removed some includes | |
| 77 * cdl/jffs2.cdl: Added gc thread support | |
| 1873 | 78 * tests/jffs2_3.c: New text to exersise the garbage collect code. |
| 79 | |
|
1858
ed77ba8848ad
* fs/ram/current/tests/fseek1.c, fs/jffs2/current/tests/fileio1.c,
jld
parents:
1856
diff
changeset
|
80 2004-12-13 John Dallaway <jld@ecoscentric.com> |
|
ed77ba8848ad
* fs/ram/current/tests/fseek1.c, fs/jffs2/current/tests/fileio1.c,
jld
parents:
1856
diff
changeset
|
81 |
|
ed77ba8848ad
* fs/ram/current/tests/fseek1.c, fs/jffs2/current/tests/fileio1.c,
jld
parents:
1856
diff
changeset
|
82 * tests/fileio1.c: Rename to jffs2_1.c. eCos test names should be |
|
ed77ba8848ad
* fs/ram/current/tests/fseek1.c, fs/jffs2/current/tests/fileio1.c,
jld
parents:
1856
diff
changeset
|
83 unique. |
|
ed77ba8848ad
* fs/ram/current/tests/fseek1.c, fs/jffs2/current/tests/fileio1.c,
jld
parents:
1856
diff
changeset
|
84 * tests/fseek1.c: Rename to jffs2_2.c. |
|
ed77ba8848ad
* fs/ram/current/tests/fseek1.c, fs/jffs2/current/tests/fileio1.c,
jld
parents:
1856
diff
changeset
|
85 * cdl/jffs2.cdl: Build the renamed tests. |
|
ed77ba8848ad
* fs/ram/current/tests/fseek1.c, fs/jffs2/current/tests/fileio1.c,
jld
parents:
1856
diff
changeset
|
86 |
|
1856
15dd41bdd560
* src/fs-ecos.c: Use filesystem locking not file locking otherwise
asl
parents:
1834
diff
changeset
|
87 2004-12-10 Per Hedblom <per.hedblom@abem.se> |
|
15dd41bdd560
* src/fs-ecos.c: Use filesystem locking not file locking otherwise
asl
parents:
1834
diff
changeset
|
88 |
|
15dd41bdd560
* src/fs-ecos.c: Use filesystem locking not file locking otherwise
asl
parents:
1834
diff
changeset
|
89 * src/fs-ecos.c: Use filesystem locking not file locking otherwise |
|
15dd41bdd560
* src/fs-ecos.c: Use filesystem locking not file locking otherwise
asl
parents:
1834
diff
changeset
|
90 the node cache can be corrupted by multiple operations on |
|
15dd41bdd560
* src/fs-ecos.c: Use filesystem locking not file locking otherwise
asl
parents:
1834
diff
changeset
|
91 different files at the same time. |
|
15dd41bdd560
* src/fs-ecos.c: Use filesystem locking not file locking otherwise
asl
parents:
1834
diff
changeset
|
92 |
| 1834 | 93 2004-11-11 Andrew Lunn <andrew.lunn@ascom.ch> |
| 94 | |
| 95 * Merge from public MTD. | |
| 96 | |
| 97 2004-11-11 Andrew Lunn <andrew.lunn@ascom.ch> | |
| 98 | |
| 99 * src/build.c: Removed Oyvind Harboe's patch from 2004-04-19 | |
| 100 since it was rejected upstream. | |
| 101 | |
|
1816
658319b65ae3
* src/fs-ecos.c (jffs2_open): Call iput on dir node if
asl
parents:
1812
diff
changeset
|
102 2004-10-20 Per Hedblom <perhedblom@abem.se> |
|
658319b65ae3
* src/fs-ecos.c (jffs2_open): Call iput on dir node if
asl
parents:
1812
diff
changeset
|
103 |
|
658319b65ae3
* src/fs-ecos.c (jffs2_open): Call iput on dir node if
asl
parents:
1812
diff
changeset
|
104 * src/fs-ecos.c (jffs2_open): Call iput on dir node if |
|
658319b65ae3
* src/fs-ecos.c (jffs2_open): Call iput on dir node if
asl
parents:
1812
diff
changeset
|
105 jffs2_create fails. |
|
658319b65ae3
* src/fs-ecos.c (jffs2_open): Call iput on dir node if
asl
parents:
1812
diff
changeset
|
106 * src/fs-ecos.c (jffs2_umount): use jffs2_free_full_dirent instead |
|
658319b65ae3
* src/fs-ecos.c (jffs2_open): Call iput on dir node if
asl
parents:
1812
diff
changeset
|
107 of free. |
|
658319b65ae3
* src/fs-ecos.c (jffs2_open): Call iput on dir node if
asl
parents:
1812
diff
changeset
|
108 |
|
1812
119d236b530c
* src/fs-ecos.c (find_entry): jffs2_lookup may return error codes.
asl
parents:
1757
diff
changeset
|
109 2004-10-07 Knud Woehler <knud.woehler@microplex.de> |
|
119d236b530c
* src/fs-ecos.c (find_entry): jffs2_lookup may return error codes.
asl
parents:
1757
diff
changeset
|
110 |
|
119d236b530c
* src/fs-ecos.c (find_entry): jffs2_lookup may return error codes.
asl
parents:
1757
diff
changeset
|
111 * src/fs-ecos.c (find_entry): jffs2_lookup may return error codes. |
|
119d236b530c
* src/fs-ecos.c (find_entry): jffs2_lookup may return error codes.
asl
parents:
1757
diff
changeset
|
112 Check added. |
|
119d236b530c
* src/fs-ecos.c (find_entry): jffs2_lookup may return error codes.
asl
parents:
1757
diff
changeset
|
113 |
|
1757
c4a8f3019f9c
* cdl/jffs2.cdl: Fixed outdated definitions for compression options.
asl
parents:
1714
diff
changeset
|
114 2004-09-16 Dirk Eibach <eibach@gdsys.de> |
|
c4a8f3019f9c
* cdl/jffs2.cdl: Fixed outdated definitions for compression options.
asl
parents:
1714
diff
changeset
|
115 2004-09-19 Andrew Lunn <andrew.lunn@ascom.ch> |
|
c4a8f3019f9c
* cdl/jffs2.cdl: Fixed outdated definitions for compression options.
asl
parents:
1714
diff
changeset
|
116 |
|
c4a8f3019f9c
* cdl/jffs2.cdl: Fixed outdated definitions for compression options.
asl
parents:
1714
diff
changeset
|
117 * cdl/jffs2.cdl: Fixed outdated definitions for compression options. |
|
c4a8f3019f9c
* cdl/jffs2.cdl: Fixed outdated definitions for compression options.
asl
parents:
1714
diff
changeset
|
118 * src/fs-ecos.c: Added missing calls for jffs2_compressors_init() |
|
c4a8f3019f9c
* cdl/jffs2.cdl: Fixed outdated definitions for compression options.
asl
parents:
1714
diff
changeset
|
119 and jffs2_compressors_exit() |
|
c4a8f3019f9c
* cdl/jffs2.cdl: Fixed outdated definitions for compression options.
asl
parents:
1714
diff
changeset
|
120 |
|
1714
3fc626a650ab
* src/compr.h: Committed this file which if forgot yesterday.
asl
parents:
1713
diff
changeset
|
121 2004-08-13 Andrew Lunn <andrew.lunn@ascom.ch> |
|
3fc626a650ab
* src/compr.h: Committed this file which if forgot yesterday.
asl
parents:
1713
diff
changeset
|
122 |
|
3fc626a650ab
* src/compr.h: Committed this file which if forgot yesterday.
asl
parents:
1713
diff
changeset
|
123 * src/compr.h: Committed this file which if forgot yesterday. |
|
3fc626a650ab
* src/compr.h: Committed this file which if forgot yesterday.
asl
parents:
1713
diff
changeset
|
124 |
| 1713 | 125 2004-08-12 Andrew Lunn <andrew.lunn@ascom.ch> |
| 126 Gary Thomas <gary@mlbassoc.com> | |
| 127 | |
| 128 * Merge from public MTD. | |
| 129 | |
|
2631
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
130 2004-07-10 Andrew Lunn <andrew.lunn@ascom.ch> |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
131 |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
132 * src/flashio.c (jffs2_flash_erase): Minor update for new |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
133 flash API. |
|
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2475
diff
changeset
|
134 |
|
1620
d04fae1f5cde
* src/build.c: JFFS2 can now be used as a write-once, read many mode
jlarmour
parents:
1601
diff
changeset
|
135 2004-04-19 Oyvind Harboe <oyvind.harboe@zylin.com> |
|
d04fae1f5cde
* src/build.c: JFFS2 can now be used as a write-once, read many mode
jlarmour
parents:
1601
diff
changeset
|
136 |
|
d04fae1f5cde
* src/build.c: JFFS2 can now be used as a write-once, read many mode
jlarmour
parents:
1601
diff
changeset
|
137 * src/build.c: JFFS2 can now be used as a write-once, read many mode |
|
d04fae1f5cde
* src/build.c: JFFS2 can now be used as a write-once, read many mode
jlarmour
parents:
1601
diff
changeset
|
138 for really small flash disks, e.g. configuration parameters. |
|
d04fae1f5cde
* src/build.c: JFFS2 can now be used as a write-once, read many mode
jlarmour
parents:
1601
diff
changeset
|
139 |
| 1601 | 140 2004-04-21 Gary Thomas <gary@mlbassoc.com> |
| 141 | |
| 142 * src/fs-ecos.c: Merge from public MTD - verify file position | |
| 143 after each operation (safety check). | |
| 144 | |
|
1567
9a3dbd0dc33d
* src/fs-ecos.c (jffs2_extend_file): Fix creation of hole inode's
asl
parents:
1562
diff
changeset
|
145 2004-04-06 Andrew Lunn <andrew.lunn@ascom.ch> |
|
9a3dbd0dc33d
* src/fs-ecos.c (jffs2_extend_file): Fix creation of hole inode's
asl
parents:
1562
diff
changeset
|
146 |
|
9a3dbd0dc33d
* src/fs-ecos.c (jffs2_extend_file): Fix creation of hole inode's
asl
parents:
1562
diff
changeset
|
147 * src/fs-ecos.c (jffs2_extend_file): Fix creation of hole inode's |
|
9a3dbd0dc33d
* src/fs-ecos.c (jffs2_extend_file): Fix creation of hole inode's
asl
parents:
1562
diff
changeset
|
148 * src/fs-ecos.c (jffs2_fo_lseek): Allow seeking past EOF. |
|
9a3dbd0dc33d
* src/fs-ecos.c (jffs2_extend_file): Fix creation of hole inode's
asl
parents:
1562
diff
changeset
|
149 * tests/fseek1.c (main): fseek and simple test of a hole in a file |
|
9a3dbd0dc33d
* src/fs-ecos.c (jffs2_extend_file): Fix creation of hole inode's
asl
parents:
1562
diff
changeset
|
150 * cdl/jffs2.cdl: Added new test program fseek1. |
|
9a3dbd0dc33d
* src/fs-ecos.c (jffs2_extend_file): Fix creation of hole inode's
asl
parents:
1562
diff
changeset
|
151 |
| 1562 | 152 2004-03-31 David Woodhouse <dwmw2@infradead.org> |
| 153 | |
| 154 * src/fs-ecos.c (jffs2_fo_write): Set ri.isize so that non-append | |
| 155 writes don't truncate the file. | |
| 156 | |
| 1550 | 157 2004-03-03 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 158 | |
| 159 * src/fs-ecos.c: | |
| 160 Make JFFS2 honor O_TRUNC flag (again) when opening files with read | |
| 161 Access. | |
| 162 | |
| 1549 | 163 2004-03-17 Oyvind Harboe <oyvind.harboe@zylin.com> |
| 164 | |
| 165 * src/fs-ecos.c: | |
| 166 With CYGOPT_FS_JFFS2_WRITE=1, file creation failed. The problem | |
| 167 was introduced in fs-ecos.c 1.20 | |
| 168 | |
| 1547 | 169 2004-03-11 Oyvind Harboe <oyvind.harboe@zylin.com> |
| 170 | |
| 171 * src/fs-ecos.c: | |
| 172 Fixed umount memory leak. root->jffs2_i.dents where not freed. | |
| 173 | |
| 1533 | 174 2004-02-20 Vincent Catros <Vincent.Catros@elios-informatique.fr> |
| 175 | |
| 176 * src/fs-ecos.c : | |
| 177 (jffs2_find) Policy to skip path separator is no longer | |
| 178 "if '/' then skip" but "while '/' then skip" allowing | |
| 179 multi '/' separators (i.e : /tmp////foo). | |
| 180 (find_entry) Policy to detect end of path is no longer | |
| 181 "if '\0' then end_of_path" | |
| 182 but "while '/' skip it and then if '\0' then end_of_path" | |
| 183 allowing path terminated with any number of '/' | |
| 184 (i.e : chdir(/tmp///)). | |
| 185 | |
|
1536
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
186 2004-03-03 Thomas Koeller <thomas.koeller@baslerweb.com> |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
187 |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
188 * src/fs-ecos.c: |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
189 Make JFFS2 honor O_TRUNC flag when opening files /w read access. |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
190 |
|
1856
15dd41bdd560
* src/fs-ecos.c: Use filesystem locking not file locking otherwise
asl
parents:
1834
diff
changeset
|
191 2004-02-17 David Woodhouse <dwmw2@infradead.org> |
|
1481
ba7fea8efa2f
* src/fs-ecos.c: Fixed inode reference counting in jffs2_ops_link().
asl
parents:
1458
diff
changeset
|
192 |
| 1500 | 193 * src/fs-ecos.c: |
| 194 Don't re-initialise the already-locked f->sem. It makes eCos unhappy. | |
| 195 | |
|
1856
15dd41bdd560
* src/fs-ecos.c: Use filesystem locking not file locking otherwise
asl
parents:
1834
diff
changeset
|
196 2004-01-27 David Woodhouse <dwmw2@infradead.org> |
|
1481
ba7fea8efa2f
* src/fs-ecos.c: Fixed inode reference counting in jffs2_ops_link().
asl
parents:
1458
diff
changeset
|
197 |
| 1500 | 198 * src/write.c: |
| 199 Fix bug noted by Howard Gray; dirents belong to, and should dirty, | |
| 200 the _parent_inode, not the child (which may be zero in the case | |
| 201 of an unlink). | |
|
1458
b535fe01cba6
* cdl/jffs2.cdl: Re-added CYGPKG_FS_JFFS2_CFLAGS_REMOVE that had been
asl
parents:
1443
diff
changeset
|
202 |
|
1536
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
203 2004-01-09 Thomas Koeller <thomas.koeller@baslerweb.com> |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
204 |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
205 * src/fs-ecos.c: Fixed inode reference counting in jffs2_ops_link(). |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
206 |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
207 2004-01-05 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 1500 | 208 |
| 209 * cdl/jffs2.cdl: Re-added CYGPKG_FS_JFFS2_CFLAGS_REMOVE that had been | |
|
1458
b535fe01cba6
* cdl/jffs2.cdl: Re-added CYGPKG_FS_JFFS2_CFLAGS_REMOVE that had been
asl
parents:
1443
diff
changeset
|
210 removed by previous change. |
| 1500 | 211 |
|
1856
15dd41bdd560
* src/fs-ecos.c: Use filesystem locking not file locking otherwise
asl
parents:
1834
diff
changeset
|
212 2003-11-26 David Woodhouse <dwmw2@infradead.org> |
| 1443 | 213 |
| 214 JFFS2 cleanup and import of newer code. Remove last vestiges of | |
| 215 Linuxisms such as 'struct inode' from the core code, leaving eCos | |
| 216 with no excuse, and renaming the eCos 'struct inode' to make that | |
| 217 point. Fix i_count handling throughout. Clean up remaining Linuxisms | |
| 218 such as 'struct qstr' to the point where jffs2port.h can be removed. | |
| 219 Add skeleton for background garbage-collect thread. Fix compression | |
| 220 so that it's actually called, and even with the right pointers. Turn | |
| 221 on -Werror again. Zero tolerance is a good thing. Make the i_mode | |
| 222 conversion functions non-inline to avoid warnings. Fix namespace | |
| 223 pollution (of all but ^jffs2_* at least). Move physical flash I/O | |
| 224 functions into separate file flashio.c for relatively easy | |
| 225 substitution. Various other cruftectomy. | |
| 226 | |
|
1403
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
227 2003-11-25 Andrew Lunn <andrew.lunn@ascom.ch> |
|
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
228 |
|
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
229 * src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any |
|
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
230 ARM gcc 3.2 compiler. |
|
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
231 |
| 1378 | 232 2003-11-21 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 233 | |
| 234 * cdl/jffs2.cdl: Do not require zlib package if no | |
| 235 compression configured. | |
| 236 | |
| 1373 | 237 2003-11-20 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 238 | |
| 239 * cdl/jffs2.cdl: | |
| 240 * src/malloc-ecos.c: | |
| 241 * src/fs-ecos.c: Allocate jffs2_raw_node_ref structs | |
| 242 from pool or malloc depending on a CDL configuration. | |
| 243 | |
| 244 2003-11-20 David Woodhouse <dwmw2@infradead.org> | |
| 245 | |
| 246 * Rearrangement of the compression code into a cleaner API | |
| 247 which can be disabled under control from CDL. | |
| 248 | |
| 1305 | 249 2003-10-14 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 250 | |
| 1373 | 251 * src/os-ecos.h: Made definition of CONFIG_JFFS2_FS_DEBUG |
| 252 conditional, so it can be overwritten by a -D compiler | |
| 253 option. | |
| 1305 | 254 |
| 1271 | 255 2003-09-23 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 256 | |
| 257 * src/fs-ecos.c: Another umount() fix. | |
| 258 | |
|
1269
46534b4d0054
* src/fs-ecos.c: Added test to detect known broken ARM compiler
asl
parents:
1241
diff
changeset
|
259 2003-09-23 Andrew Lunn <andrew.lunn@ascom.ch> |
|
46534b4d0054
* src/fs-ecos.c: Added test to detect known broken ARM compiler
asl
parents:
1241
diff
changeset
|
260 |
| 1373 | 261 * src/fs-ecos.c: Added test to detect known broken ARM compiler |
|
1269
46534b4d0054
* src/fs-ecos.c: Added test to detect known broken ARM compiler
asl
parents:
1241
diff
changeset
|
262 |
| 1241 | 263 2003-09-23 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 264 | |
| 265 * src/fs-ecos.c: Fixed broken hard link creation. | |
| 1373 | 266 |
|
1239
b3be08d8eebb
* src/fs-ecos.c: Minor optimization of previous patch.
asl
parents:
1238
diff
changeset
|
267 2003-09-23 Andrew Lunn <andrew.lunn@ascom.ch> |
|
b3be08d8eebb
* src/fs-ecos.c: Minor optimization of previous patch.
asl
parents:
1238
diff
changeset
|
268 |
| 1373 | 269 * src/fs-ecos.c: Minor optimization of previous patch. |
| 270 | |
|
1238
b3c09d540f56
* src/fs-ecos.c: Do not decrement mount count for unsuccessful
asl
parents:
1222
diff
changeset
|
271 2003-09-21 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 1373 | 272 Andrew Lunn <andrew.lunn@ascom.ch> |
|
1238
b3c09d540f56
* src/fs-ecos.c: Do not decrement mount count for unsuccessful
asl
parents:
1222
diff
changeset
|
273 |
| 1373 | 274 * src/fs-ecos.c: Do not decrement mount count for unsuccessful |
| 275 umount attempts. | |
|
1238
b3c09d540f56
* src/fs-ecos.c: Do not decrement mount count for unsuccessful
asl
parents:
1222
diff
changeset
|
276 |
| 1222 | 277 2003-09-19 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 278 | |
| 1373 | 279 * src/fs-ecos.c: Another inode number fix. |
| 1222 | 280 |
|
1220
c87d732b5f4a
Fix stat() to return valid inode number - from Thomas Koeller
gthomas
parents:
1139
diff
changeset
|
281 2003-09-18 Thomas Koeller <thomas.koeller@baslerweb.com> |
|
c87d732b5f4a
Fix stat() to return valid inode number - from Thomas Koeller
gthomas
parents:
1139
diff
changeset
|
282 |
| 1373 | 283 * src/fs-ecos.c: Inode number returned by stat() was bogus. |
|
1220
c87d732b5f4a
Fix stat() to return valid inode number - from Thomas Koeller
gthomas
parents:
1139
diff
changeset
|
284 |
|
1139
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
285 2003-07-27 Andrew Lunn <andrew.lunn@ascom.ch> |
|
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
286 |
| 1373 | 287 * src/os-ecos.h: Added new #defines require for the recent jffs2 |
| 288 import. | |
|
1139
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
289 |
|
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
290 2003-07-27 Michael Checky <Michael_Checky@ThermoKing.com> |
|
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
291 |
| 1373 | 292 * src/fs-ecos.c: Changed the return error code to be negative as |
| 293 expected by jffs2_flash_read() and jffs2_flash_write(). | |
| 294 | |
|
954
47dcd8174e3a
* src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end.
jlarmour
parents:
875
diff
changeset
|
295 2003-04-23 Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be> |
|
47dcd8174e3a
* src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end.
jlarmour
parents:
875
diff
changeset
|
296 |
| 1373 | 297 * src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end. |
|
954
47dcd8174e3a
* src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end.
jlarmour
parents:
875
diff
changeset
|
298 |
| 875 | 299 2003-03-25 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 300 | |
| 1373 | 301 * src/fs-ecos.c |
| 875 | 302 Fixed segmentation fault when unmounting file system. |
| 303 | |
| 705 | 304 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com> |
| 305 | |
| 1373 | 306 * cdl/jffs2.cdl: Fix doc link. |
| 705 | 307 |
|
572
028207710cba
* cdl/jffs2.cdl: Remove unused flash geometry CDL options.
jlarmour
parents:
570
diff
changeset
|
308 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com> |
|
028207710cba
* cdl/jffs2.cdl: Remove unused flash geometry CDL options.
jlarmour
parents:
570
diff
changeset
|
309 |
| 1373 | 310 * cdl/jffs2.cdl: Remove unused flash geometry CDL options. |
|
572
028207710cba
* cdl/jffs2.cdl: Remove unused flash geometry CDL options.
jlarmour
parents:
570
diff
changeset
|
311 |
| 570 | 312 2003-02-04 Gary Thomas <gary@mlbassoc.com> on behalf of |
| 1373 | 313 2003-02-04 David Woodhouse <dwmw2@cambridge.redhat.com> |
| 570 | 314 |
| 1373 | 315 * src/write.c: |
| 316 * src/scan.c: | |
| 317 * src/readinode.c: | |
| 318 * src/read.c: | |
| 319 * src/pushpull.h: | |
| 320 * src/os-ecos.h: | |
| 321 * src/nodemgmt.c: | |
| 322 * src/nodelist.h: | |
| 323 * src/nodelist.c: | |
| 324 * src/malloc-ecos.c: | |
| 325 * src/jffs2port.h: | |
| 326 * src/gc.c: | |
| 327 * src/file-ecos.c: | |
| 328 * src/erase.c: | |
| 329 * src/dir-ecos.c: | |
| 330 * src/compr_zlib.c: | |
| 331 * src/compr_rubin.c: | |
| 332 * src/compr_rtime.c: | |
| 333 * src/compr.c: | |
| 334 * src/build.c: | |
| 335 * cdl/jffs2.cdl: Update to latest public JFFS2 codebase. | |
| 570 | 336 |
| 1373 | 337 * src/list.h: |
| 338 * src/jffs2_fs_sb.h: | |
| 339 * src/jffs2_fs_i.h: | |
| 340 * src/jffs2.h: | |
| 341 * src/jffs2.c: | |
| 342 * src/crc32.h: | |
| 343 * src/background.c: Removed/renamed file(s). | |
| 570 | 344 |
| 1373 | 345 * src/fs-ecos.c: |
| 346 * include/linux/jffs2_fs_sb.h: | |
| 347 * include/linux/jffs2_fs_i.h: | |
| 348 * include/linux/jffs2.h: New file(s). | |
| 570 | 349 |
| 561 | 350 2002-12-06 Andrew Lunn <andrew.lunn@ascom.ch> |
| 351 | |
| 1373 | 352 * cdl/jffs2.cdl: Implements the CYGINT_IO_FILEIO_FS interface. |
| 561 | 353 |
|
368
0a770cfe2d39
* src/crc32.h (crc32): Use the CRC package for crc calculation
asl
parents:
210
diff
changeset
|
354 2002-10-11 Andrew Lunn <andrew.lunn@ascom.ch> |
|
0a770cfe2d39
* src/crc32.h (crc32): Use the CRC package for crc calculation
asl
parents:
210
diff
changeset
|
355 |
| 1373 | 356 * src/crc32.h (crc32): Use the CRC package for crc calculation |
| 357 * tests/romfileio1.c (main): Pass the name of the device to mount | |
|
368
0a770cfe2d39
* src/crc32.h (crc32): Use the CRC package for crc calculation
asl
parents:
210
diff
changeset
|
358 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
359 2002-05-20 Jonathan Larmour <jlarmour@redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
360 |
| 1373 | 361 * src/LICENCE: New file. Contains license for JFFS2, now GPL+exception. |
| 362 * src/background.c: Point at LICENSE file instead of existing text. | |
| 363 * src/build.c: Ditto. | |
| 364 * src/compr.c: Ditto. | |
| 365 * src/compr_rtime.c: Ditto. | |
| 366 * src/compr_rubin.c: Ditto. | |
| 367 * src/compr_zlib.c: Ditto. | |
| 368 * src/dir-ecos.c: Ditto. | |
| 369 * src/erase.c: Ditto. | |
| 370 * src/file-ecos.c: Ditto. | |
| 371 * src/gc.c: Ditto. | |
| 372 * src/jffs2.h: Ditto. | |
| 373 * src/list.h: Ditto. | |
| 374 * src/malloc-ecos.c: Ditto. | |
| 375 * src/nodelist.c: Ditto. | |
| 376 * src/nodelist.h: Ditto. | |
| 377 * src/nodemgmt.c: Ditto. | |
| 378 * src/os-ecos.h: Ditto. | |
| 379 * src/pushpull.h: Ditto. | |
| 380 * src/read.c: Ditto. | |
| 381 * src/readinode.c: Ditto. | |
| 382 * src/scan.c: Ditto. | |
| 383 * src/write.c: Ditto. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
384 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
385 2002-01-28 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
386 |
| 1373 | 387 * src/super-ecos.c: Removed. |
| 388 * src/jffs2.c: Merge jffs2_write_super() and jffs2_put_super() into | |
| 389 the routines from which they were called, put jffs2_read_super() | |
| 390 in as a static function with a view to doing same RSN. | |
| 391 * src/jffs2port.h: Remove prototypes of functions that died. | |
| 392 * cdl/jffs2.cdl: Remove super-ecos.c | |
| 393 * src/dir-ecos.c src/write.c: Increase highest_version _before_ | |
| 394 assigning to new node, not after. | |
| 395 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
396 2002-01-27 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
397 |
| 1373 | 398 * src/read.c (jffs2_read_inode_range): Deal correctly with |
| 399 non-page-aligned read requests. We have to deal with the | |
| 400 case where we want to read from somewhere other than the | |
| 401 beginning of a frag. | |
| 402 * src/jffs2.c (jffs2_fo_read): Use jffs2_read_inode_range | |
| 403 instead of jffs2_readpage. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
404 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
405 2002-01-25 Jonathan Larmour <jlarmour@redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
406 |
| 1373 | 407 * cdl/jffs2.cdl: We want CYGPKG_IO_FILEIO_INODE. |
| 408 * src/dir-ecos.c (jffs2_symlink): Remove. eCos doesn't support symlinks. | |
| 409 (jffs2_mknod): Similar. | |
| 410 (jffs2_mkdir): Don't call d_instantiate - its a nop. | |
| 411 (jffs2_rename): Ditto. | |
| 412 * src/file-ecos.c (jffs2_commit_write): Don't set blocks. | |
| 413 * src/jffs2.c (jffs2_flash_writev): Rewrite to only write aligned | |
| 414 quantities to flash. | |
| 415 * src/jffs2port.h: Lots of decrufting. | |
| 416 * src/os-ecos.h: Ditto (a bit). | |
| 417 * src/readinode.c (jffs2_read_inode): Don't set blocks/blksize in inode. | |
| 418 * src/write.c (jffs2_new_inode): Ditto when __ECOS. | |
| 419 (jffs2_write_dnode): don't call writev with extra vectors | |
| 420 unnecessarily. | |
| 421 * src/super-ecos.c (jffs2_statfs): Remove - unused. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
422 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
423 2002-01-25 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
424 |
| 1373 | 425 * src/super-ecos.c: Cruftectomy. |
| 426 * src/compr*.[ch] src/pushpull.h: Namespace cleanups merged from | |
| 427 mainstream sources. Bit push functions made inline. | |
| 428 * src/pushpull.c: Removed. | |
| 429 * cdl/jffs2.c: Remove reference to pushpull.c | |
| 430 * src/file-ecos.c: Cruftectomy. Lots of unused stuff here. | |
| 431 * src/jffs2.c src/jffs2port.h: Remove some functions from jffs2.c | |
| 432 which are no longer used, move some others to jffs2port.h as | |
| 433 inline functions so they don't pollute the namespace. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
434 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
435 2002-01-24 Jonathan Larmour <jlarmour@redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
436 |
| 1373 | 437 * tests/fileio1.c: Check in listdir that the number of dirents is |
| 438 correct, taking into account existing files in case it's live. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
439 |
| 1373 | 440 * src/dir-ecos.c (jffs2_readdir): move to.... |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
441 |
| 1373 | 442 * src/jffs2.c (jffs2_fo_dirread): here. And fix the return code |
| 443 in the process so it now works. | |
| 444 (filldir): Make inline and simpler. | |
| 445 * src/jffs2port.h: remove filldir related stuff. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
446 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
447 2002-01-24 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
448 |
| 1373 | 449 * src/dir-ecos.c: Cruftectomy. Remove most of the stuff that was |
| 450 commented out. Remove jffs2_do_{create,link,unlink} to write.c | |
| 451 * src/write.c: Add jffs2_do_{create,link,unlink} as in mainline. | |
| 452 * src/nodelist.h: Prototypes for the above. | |
| 453 * src/jffs2port.h: Don't include <pkgconf/kernel.h>. | |
| 454 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
455 2002-01-23 Jonathan Larmour <jlarmour@redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
456 |
| 1373 | 457 * src/jffs2.c (jffs2_mount): Allow multiple FSs, and integration |
| 458 with flash block device. | |
| 459 (jffs2_flash_read): Use flash block device. | |
| 460 (jffs2_flash_erase): Ditto. | |
| 461 (jffs2_flash_write): Ditto. | |
| 462 (do_flash_init): Remove - now done by block device layer | |
| 463 * src/list.h: Remove and reimplement from scratch to avoid GPL. | |
| 464 * src/os-ecos.h: Keep flash block dev handle in superblock. | |
| 465 eCos does support obsoleting as it isn't NAND only. | |
| 466 * src/dir-ecos.c (jffs2_readdir): Return correct value on success. | |
| 467 Merge in changes mutatis mutandis from between v1.49 and v1.51 of | |
| 468 dir.c in main repository. | |
| 469 * cdl/jffs2.cdl: CYGPKG_MEMALLOC more accurately CYGINT_ISO_MALLOC. | |
| 470 Only jffs2.c needs to be in libextras.a | |
| 471 Requires Flash block devices as an alternative for hardcoding | |
| 472 the sector size, flash size and base address. | |
| 473 * src/super-ecos.c (jffs2_read_super): Use flash block device for | |
| 474 sector and flash sizes. | |
| 475 * tests/fileio1.c: mount using block device (defined by CDL). | |
| 476 No need to init here - done by flash block device layer. | |
| 477 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
478 2002-01-21 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
479 |
| 1373 | 480 * src/read.c: Obtain inode lock around reading symlink target. |
| 481 * src/dir-ecos.c: Fix the long-standing up() without down() in | |
| 482 jffs2_readdir() when only the '.' and '..' entries are read, from | |
| 483 v1.52 of master dir.c. Merge copyright date change from v1.50 - note | |
| 484 that the portability cleanups from v1.51 aren't yet merged. | |
| 485 * src/os-ecos.h: Add jffs2_can_mark_obsolete() and the macros | |
| 486 for getting at generic inode fields from a struct jffs2_inode_info* | |
| 487 * src/nodemgmt.c: Remove an #ifndef __ECOS and use | |
| 488 jffs2_can_mark_obsolete() instead. | |
| 489 * src/jffs2port.h: up() is cyg_drv_mutex_unlock() not _release() | |
| 490 * src/gc.c: Merge portability cleanups - get rid of a lot of | |
| 491 references to 'struct inode'. Also include the attempt at NAND | |
| 492 support in jffs2_garbage_collect_deletion_dirent(). | |
| 493 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
494 2002-01-11 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
495 |
| 1373 | 496 * src/jffs2port.h: Switch semaphore emulation to cyg_drv_mutex_t, |
| 497 remove some kernel includes which seem gratuitous. | |
| 498 * cdl/jffs2.cdl: Require CYGPKG_MEMALLOC | |
| 499 * src/compr_zlib.c src/compr.c: Merge changes from mainline code | |
| 500 to make mkfs.jffs2 compile again. | |
| 501 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
502 2002-01-10 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
503 |
| 1373 | 504 * src/jffs2.c: The 'mode' arg passed to jffs2_open() shouldn't |
| 505 have been called 'mode'. It's 'oflags'. You have to make up a | |
| 506 mode for the newly-created file yourself. | |
| 507 * src/nodelist.h src/read.c: Fix jffs2_getlink() so it takes | |
| 508 portable arguments, not a dentry. Move it to read.c and symlink.c | |
| 509 becomes obsolete. | |
| 510 * src/symlink-ecos.c: Removed. | |
| 511 * cdl/jffs2.cdl: Remove symlink-ecos.c | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
512 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
513 2002-01-09 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
514 |
| 1373 | 515 * Import updated JFFS2 sources into eCos tree. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
516 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
517 2000-08-28 Dominic Ostrowski (dominic.ostrowski@3glab.com) |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
518 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
519 * started on port of JFFS2 using ramfs as a template |
| 1373 | 520 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
521 //=========================================================================== |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
522 // ####GPLCOPYRIGHTBEGIN#### |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
523 // ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
524 // This file is part of eCos, the Embedded Configurable Operating System. |
|
2872
5ae4b05913c1
* fs/fat/current/cdl/fatfs.cdl, fs/jffs2/current/cdl/jffs2.cdl,
jld
parents:
2853
diff
changeset
|
525 // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2009 Free Software Foundation, Inc. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
526 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
527 // This program is free software; you can redistribute it and/or modify |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
528 // it under the terms of the GNU General Public License as published by |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
529 // the Free Software Foundation; either version 2 or (at your option) any |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
530 // later version. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
531 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
532 // This program is distributed in the hope that it will be useful, but |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
533 // WITHOUT ANY WARRANTY; without even the implied warranty of |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
534 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
535 // General Public License for more details. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
536 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
537 // You should have received a copy of the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
538 // along with this program; if not, write to the |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
539 // Free Software Foundation, Inc., 51 Franklin Street, |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
540 // Fifth Floor, Boston, MA 02110-1301, USA. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
541 // ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
542 // ####GPLCOPYRIGHTEND#### |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
543 //=========================================================================== |
| 1373 | 544 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
545 |
