Mercurial > ecos
annotate packages/fs/jffs2/current/ChangeLog @ 1713:0492a413d138
* Merge from public MTD.
| author | asl |
|---|---|
| date | Thu, 12 Aug 2004 21:35:27 +0000 |
| parents | d04fae1f5cde |
| children | 3fc626a650ab |
| rev | line source |
|---|---|
| 1713 | 1 2004-08-12 Andrew Lunn <andrew.lunn@ascom.ch> |
| 2 Gary Thomas <gary@mlbassoc.com> | |
| 3 | |
| 4 * Merge from public MTD. | |
| 5 | |
|
1620
d04fae1f5cde
* src/build.c: JFFS2 can now be used as a write-once, read many mode
jlarmour
parents:
1601
diff
changeset
|
6 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
|
7 |
|
d04fae1f5cde
* src/build.c: JFFS2 can now be used as a write-once, read many mode
jlarmour
parents:
1601
diff
changeset
|
8 * 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
|
9 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
|
10 |
| 1601 | 11 2004-04-21 Gary Thomas <gary@mlbassoc.com> |
| 12 | |
| 13 * src/fs-ecos.c: Merge from public MTD - verify file position | |
| 14 after each operation (safety check). | |
| 15 | |
|
1567
9a3dbd0dc33d
* src/fs-ecos.c (jffs2_extend_file): Fix creation of hole inode's
asl
parents:
1562
diff
changeset
|
16 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
|
17 |
|
9a3dbd0dc33d
* src/fs-ecos.c (jffs2_extend_file): Fix creation of hole inode's
asl
parents:
1562
diff
changeset
|
18 * 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
|
19 * 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
|
20 * 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
|
21 * 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
|
22 |
| 1562 | 23 2004-03-31 David Woodhouse <dwmw2@infradead.org> |
| 24 | |
| 25 * src/fs-ecos.c (jffs2_fo_write): Set ri.isize so that non-append | |
| 26 writes don't truncate the file. | |
| 27 | |
| 1550 | 28 2004-03-03 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 29 | |
| 30 * src/fs-ecos.c: | |
| 31 Make JFFS2 honor O_TRUNC flag (again) when opening files with read | |
| 32 Access. | |
| 33 | |
| 1549 | 34 2004-03-17 Oyvind Harboe <oyvind.harboe@zylin.com> |
| 35 | |
| 36 * src/fs-ecos.c: | |
| 37 With CYGOPT_FS_JFFS2_WRITE=1, file creation failed. The problem | |
| 38 was introduced in fs-ecos.c 1.20 | |
| 39 | |
| 1547 | 40 2004-03-11 Oyvind Harboe <oyvind.harboe@zylin.com> |
| 41 | |
| 42 * src/fs-ecos.c: | |
| 43 Fixed umount memory leak. root->jffs2_i.dents where not freed. | |
| 44 | |
| 1533 | 45 2004-02-20 Vincent Catros <Vincent.Catros@elios-informatique.fr> |
| 46 | |
| 47 * src/fs-ecos.c : | |
| 48 (jffs2_find) Policy to skip path separator is no longer | |
| 49 "if '/' then skip" but "while '/' then skip" allowing | |
| 50 multi '/' separators (i.e : /tmp////foo). | |
| 51 (find_entry) Policy to detect end of path is no longer | |
| 52 "if '\0' then end_of_path" | |
| 53 but "while '/' skip it and then if '\0' then end_of_path" | |
| 54 allowing path terminated with any number of '/' | |
| 55 (i.e : chdir(/tmp///)). | |
| 56 | |
|
1536
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
57 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
|
58 |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
59 * src/fs-ecos.c: |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
60 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
|
61 |
| 1500 | 62 2004-02-17 David Woodhouse <dwmw2@redhat.com> |
|
1481
ba7fea8efa2f
* src/fs-ecos.c: Fixed inode reference counting in jffs2_ops_link().
asl
parents:
1458
diff
changeset
|
63 |
| 1500 | 64 * src/fs-ecos.c: |
| 65 Don't re-initialise the already-locked f->sem. It makes eCos unhappy. | |
| 66 | |
| 67 2004-01-27 David Woodhouse <dwmw2@redhat.com> | |
|
1481
ba7fea8efa2f
* src/fs-ecos.c: Fixed inode reference counting in jffs2_ops_link().
asl
parents:
1458
diff
changeset
|
68 |
| 1500 | 69 * src/write.c: |
| 70 Fix bug noted by Howard Gray; dirents belong to, and should dirty, | |
| 71 the _parent_inode, not the child (which may be zero in the case | |
| 72 of an unlink). | |
|
1458
b535fe01cba6
* cdl/jffs2.cdl: Re-added CYGPKG_FS_JFFS2_CFLAGS_REMOVE that had been
asl
parents:
1443
diff
changeset
|
73 |
|
1536
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
74 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
|
75 |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
76 * 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
|
77 |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
78 2004-01-05 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 1500 | 79 |
| 80 * 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
|
81 removed by previous change. |
| 1500 | 82 |
| 1443 | 83 2003-11-26 David Woodhouse <dwmw2@redhat.com> |
| 84 | |
| 85 JFFS2 cleanup and import of newer code. Remove last vestiges of | |
| 86 Linuxisms such as 'struct inode' from the core code, leaving eCos | |
| 87 with no excuse, and renaming the eCos 'struct inode' to make that | |
| 88 point. Fix i_count handling throughout. Clean up remaining Linuxisms | |
| 89 such as 'struct qstr' to the point where jffs2port.h can be removed. | |
| 90 Add skeleton for background garbage-collect thread. Fix compression | |
| 91 so that it's actually called, and even with the right pointers. Turn | |
| 92 on -Werror again. Zero tolerance is a good thing. Make the i_mode | |
| 93 conversion functions non-inline to avoid warnings. Fix namespace | |
| 94 pollution (of all but ^jffs2_* at least). Move physical flash I/O | |
| 95 functions into separate file flashio.c for relatively easy | |
| 96 substitution. Various other cruftectomy. | |
| 97 | |
|
1403
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
98 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
|
99 |
|
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
100 * 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
|
101 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
|
102 |
| 1378 | 103 2003-11-21 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 104 | |
| 105 * cdl/jffs2.cdl: Do not require zlib package if no | |
| 106 compression configured. | |
| 107 | |
| 1373 | 108 2003-11-20 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 109 | |
| 110 * cdl/jffs2.cdl: | |
| 111 * src/malloc-ecos.c: | |
| 112 * src/fs-ecos.c: Allocate jffs2_raw_node_ref structs | |
| 113 from pool or malloc depending on a CDL configuration. | |
| 114 | |
| 115 2003-11-20 David Woodhouse <dwmw2@infradead.org> | |
| 116 | |
| 117 * Rearrangement of the compression code into a cleaner API | |
| 118 which can be disabled under control from CDL. | |
| 119 | |
| 1305 | 120 2003-10-14 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 121 | |
| 1373 | 122 * src/os-ecos.h: Made definition of CONFIG_JFFS2_FS_DEBUG |
| 123 conditional, so it can be overwritten by a -D compiler | |
| 124 option. | |
| 1305 | 125 |
| 1271 | 126 2003-09-23 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 127 | |
| 128 * src/fs-ecos.c: Another umount() fix. | |
| 129 | |
|
1269
46534b4d0054
* src/fs-ecos.c: Added test to detect known broken ARM compiler
asl
parents:
1241
diff
changeset
|
130 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
|
131 |
| 1373 | 132 * 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
|
133 |
| 1241 | 134 2003-09-23 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 135 | |
| 136 * src/fs-ecos.c: Fixed broken hard link creation. | |
| 1373 | 137 |
|
1239
b3be08d8eebb
* src/fs-ecos.c: Minor optimization of previous patch.
asl
parents:
1238
diff
changeset
|
138 2003-09-23 Andrew Lunn <andrew.lunn@ascom.ch> |
|
b3be08d8eebb
* src/fs-ecos.c: Minor optimization of previous patch.
asl
parents:
1238
diff
changeset
|
139 |
| 1373 | 140 * src/fs-ecos.c: Minor optimization of previous patch. |
| 141 | |
|
1238
b3c09d540f56
* src/fs-ecos.c: Do not decrement mount count for unsuccessful
asl
parents:
1222
diff
changeset
|
142 2003-09-21 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 1373 | 143 Andrew Lunn <andrew.lunn@ascom.ch> |
|
1238
b3c09d540f56
* src/fs-ecos.c: Do not decrement mount count for unsuccessful
asl
parents:
1222
diff
changeset
|
144 |
| 1373 | 145 * src/fs-ecos.c: Do not decrement mount count for unsuccessful |
| 146 umount attempts. | |
|
1238
b3c09d540f56
* src/fs-ecos.c: Do not decrement mount count for unsuccessful
asl
parents:
1222
diff
changeset
|
147 |
| 1222 | 148 2003-09-19 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 149 | |
| 1373 | 150 * src/fs-ecos.c: Another inode number fix. |
| 1222 | 151 |
|
1220
c87d732b5f4a
Fix stat() to return valid inode number - from Thomas Koeller
gthomas
parents:
1139
diff
changeset
|
152 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
|
153 |
| 1373 | 154 * 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
|
155 |
|
1139
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
156 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
|
157 |
| 1373 | 158 * src/os-ecos.h: Added new #defines require for the recent jffs2 |
| 159 import. | |
|
1139
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
160 |
|
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
161 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
|
162 |
| 1373 | 163 * src/fs-ecos.c: Changed the return error code to be negative as |
| 164 expected by jffs2_flash_read() and jffs2_flash_write(). | |
| 165 | |
|
954
47dcd8174e3a
* src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end.
jlarmour
parents:
875
diff
changeset
|
166 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
|
167 |
| 1373 | 168 * 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
|
169 |
| 875 | 170 2003-03-25 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 171 | |
| 1373 | 172 * src/fs-ecos.c |
| 875 | 173 Fixed segmentation fault when unmounting file system. |
| 174 | |
| 705 | 175 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com> |
| 176 | |
| 1373 | 177 * cdl/jffs2.cdl: Fix doc link. |
| 705 | 178 |
|
572
028207710cba
* cdl/jffs2.cdl: Remove unused flash geometry CDL options.
jlarmour
parents:
570
diff
changeset
|
179 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com> |
|
028207710cba
* cdl/jffs2.cdl: Remove unused flash geometry CDL options.
jlarmour
parents:
570
diff
changeset
|
180 |
| 1373 | 181 * 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
|
182 |
| 570 | 183 2003-02-04 Gary Thomas <gary@mlbassoc.com> on behalf of |
| 1373 | 184 2003-02-04 David Woodhouse <dwmw2@cambridge.redhat.com> |
| 570 | 185 |
| 1373 | 186 * src/write.c: |
| 187 * src/scan.c: | |
| 188 * src/readinode.c: | |
| 189 * src/read.c: | |
| 190 * src/pushpull.h: | |
| 191 * src/os-ecos.h: | |
| 192 * src/nodemgmt.c: | |
| 193 * src/nodelist.h: | |
| 194 * src/nodelist.c: | |
| 195 * src/malloc-ecos.c: | |
| 196 * src/jffs2port.h: | |
| 197 * src/gc.c: | |
| 198 * src/file-ecos.c: | |
| 199 * src/erase.c: | |
| 200 * src/dir-ecos.c: | |
| 201 * src/compr_zlib.c: | |
| 202 * src/compr_rubin.c: | |
| 203 * src/compr_rtime.c: | |
| 204 * src/compr.c: | |
| 205 * src/build.c: | |
| 206 * cdl/jffs2.cdl: Update to latest public JFFS2 codebase. | |
| 570 | 207 |
| 1373 | 208 * src/list.h: |
| 209 * src/jffs2_fs_sb.h: | |
| 210 * src/jffs2_fs_i.h: | |
| 211 * src/jffs2.h: | |
| 212 * src/jffs2.c: | |
| 213 * src/crc32.h: | |
| 214 * src/background.c: Removed/renamed file(s). | |
| 570 | 215 |
| 1373 | 216 * src/fs-ecos.c: |
| 217 * include/linux/jffs2_fs_sb.h: | |
| 218 * include/linux/jffs2_fs_i.h: | |
| 219 * include/linux/jffs2.h: New file(s). | |
| 570 | 220 |
| 561 | 221 2002-12-06 Andrew Lunn <andrew.lunn@ascom.ch> |
| 222 | |
| 1373 | 223 * cdl/jffs2.cdl: Implements the CYGINT_IO_FILEIO_FS interface. |
| 561 | 224 |
|
368
0a770cfe2d39
* src/crc32.h (crc32): Use the CRC package for crc calculation
asl
parents:
210
diff
changeset
|
225 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
|
226 |
| 1373 | 227 * src/crc32.h (crc32): Use the CRC package for crc calculation |
| 228 * 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
|
229 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
230 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
|
231 |
| 1373 | 232 * src/LICENCE: New file. Contains license for JFFS2, now GPL+exception. |
| 233 * src/background.c: Point at LICENSE file instead of existing text. | |
| 234 * src/build.c: Ditto. | |
| 235 * src/compr.c: Ditto. | |
| 236 * src/compr_rtime.c: Ditto. | |
| 237 * src/compr_rubin.c: Ditto. | |
| 238 * src/compr_zlib.c: Ditto. | |
| 239 * src/dir-ecos.c: Ditto. | |
| 240 * src/erase.c: Ditto. | |
| 241 * src/file-ecos.c: Ditto. | |
| 242 * src/gc.c: Ditto. | |
| 243 * src/jffs2.h: Ditto. | |
| 244 * src/list.h: Ditto. | |
| 245 * src/malloc-ecos.c: Ditto. | |
| 246 * src/nodelist.c: Ditto. | |
| 247 * src/nodelist.h: Ditto. | |
| 248 * src/nodemgmt.c: Ditto. | |
| 249 * src/os-ecos.h: Ditto. | |
| 250 * src/pushpull.h: Ditto. | |
| 251 * src/read.c: Ditto. | |
| 252 * src/readinode.c: Ditto. | |
| 253 * src/scan.c: Ditto. | |
| 254 * src/write.c: Ditto. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
255 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
256 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
|
257 |
| 1373 | 258 * src/super-ecos.c: Removed. |
| 259 * src/jffs2.c: Merge jffs2_write_super() and jffs2_put_super() into | |
| 260 the routines from which they were called, put jffs2_read_super() | |
| 261 in as a static function with a view to doing same RSN. | |
| 262 * src/jffs2port.h: Remove prototypes of functions that died. | |
| 263 * cdl/jffs2.cdl: Remove super-ecos.c | |
| 264 * src/dir-ecos.c src/write.c: Increase highest_version _before_ | |
| 265 assigning to new node, not after. | |
| 266 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
267 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
|
268 |
| 1373 | 269 * src/read.c (jffs2_read_inode_range): Deal correctly with |
| 270 non-page-aligned read requests. We have to deal with the | |
| 271 case where we want to read from somewhere other than the | |
| 272 beginning of a frag. | |
| 273 * src/jffs2.c (jffs2_fo_read): Use jffs2_read_inode_range | |
| 274 instead of jffs2_readpage. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
275 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
276 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
|
277 |
| 1373 | 278 * cdl/jffs2.cdl: We want CYGPKG_IO_FILEIO_INODE. |
| 279 * src/dir-ecos.c (jffs2_symlink): Remove. eCos doesn't support symlinks. | |
| 280 (jffs2_mknod): Similar. | |
| 281 (jffs2_mkdir): Don't call d_instantiate - its a nop. | |
| 282 (jffs2_rename): Ditto. | |
| 283 * src/file-ecos.c (jffs2_commit_write): Don't set blocks. | |
| 284 * src/jffs2.c (jffs2_flash_writev): Rewrite to only write aligned | |
| 285 quantities to flash. | |
| 286 * src/jffs2port.h: Lots of decrufting. | |
| 287 * src/os-ecos.h: Ditto (a bit). | |
| 288 * src/readinode.c (jffs2_read_inode): Don't set blocks/blksize in inode. | |
| 289 * src/write.c (jffs2_new_inode): Ditto when __ECOS. | |
| 290 (jffs2_write_dnode): don't call writev with extra vectors | |
| 291 unnecessarily. | |
| 292 * 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
|
293 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
294 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
|
295 |
| 1373 | 296 * src/super-ecos.c: Cruftectomy. |
| 297 * src/compr*.[ch] src/pushpull.h: Namespace cleanups merged from | |
| 298 mainstream sources. Bit push functions made inline. | |
| 299 * src/pushpull.c: Removed. | |
| 300 * cdl/jffs2.c: Remove reference to pushpull.c | |
| 301 * src/file-ecos.c: Cruftectomy. Lots of unused stuff here. | |
| 302 * src/jffs2.c src/jffs2port.h: Remove some functions from jffs2.c | |
| 303 which are no longer used, move some others to jffs2port.h as | |
| 304 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
|
305 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
306 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
|
307 |
| 1373 | 308 * tests/fileio1.c: Check in listdir that the number of dirents is |
| 309 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
|
310 |
| 1373 | 311 * 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
|
312 |
| 1373 | 313 * src/jffs2.c (jffs2_fo_dirread): here. And fix the return code |
| 314 in the process so it now works. | |
| 315 (filldir): Make inline and simpler. | |
| 316 * 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
|
317 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
318 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
|
319 |
| 1373 | 320 * src/dir-ecos.c: Cruftectomy. Remove most of the stuff that was |
| 321 commented out. Remove jffs2_do_{create,link,unlink} to write.c | |
| 322 * src/write.c: Add jffs2_do_{create,link,unlink} as in mainline. | |
| 323 * src/nodelist.h: Prototypes for the above. | |
| 324 * src/jffs2port.h: Don't include <pkgconf/kernel.h>. | |
| 325 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
326 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
|
327 |
| 1373 | 328 * src/jffs2.c (jffs2_mount): Allow multiple FSs, and integration |
| 329 with flash block device. | |
| 330 (jffs2_flash_read): Use flash block device. | |
| 331 (jffs2_flash_erase): Ditto. | |
| 332 (jffs2_flash_write): Ditto. | |
| 333 (do_flash_init): Remove - now done by block device layer | |
| 334 * src/list.h: Remove and reimplement from scratch to avoid GPL. | |
| 335 * src/os-ecos.h: Keep flash block dev handle in superblock. | |
| 336 eCos does support obsoleting as it isn't NAND only. | |
| 337 * src/dir-ecos.c (jffs2_readdir): Return correct value on success. | |
| 338 Merge in changes mutatis mutandis from between v1.49 and v1.51 of | |
| 339 dir.c in main repository. | |
| 340 * cdl/jffs2.cdl: CYGPKG_MEMALLOC more accurately CYGINT_ISO_MALLOC. | |
| 341 Only jffs2.c needs to be in libextras.a | |
| 342 Requires Flash block devices as an alternative for hardcoding | |
| 343 the sector size, flash size and base address. | |
| 344 * src/super-ecos.c (jffs2_read_super): Use flash block device for | |
| 345 sector and flash sizes. | |
| 346 * tests/fileio1.c: mount using block device (defined by CDL). | |
| 347 No need to init here - done by flash block device layer. | |
| 348 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
349 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
|
350 |
| 1373 | 351 * src/read.c: Obtain inode lock around reading symlink target. |
| 352 * src/dir-ecos.c: Fix the long-standing up() without down() in | |
| 353 jffs2_readdir() when only the '.' and '..' entries are read, from | |
| 354 v1.52 of master dir.c. Merge copyright date change from v1.50 - note | |
| 355 that the portability cleanups from v1.51 aren't yet merged. | |
| 356 * src/os-ecos.h: Add jffs2_can_mark_obsolete() and the macros | |
| 357 for getting at generic inode fields from a struct jffs2_inode_info* | |
| 358 * src/nodemgmt.c: Remove an #ifndef __ECOS and use | |
| 359 jffs2_can_mark_obsolete() instead. | |
| 360 * src/jffs2port.h: up() is cyg_drv_mutex_unlock() not _release() | |
| 361 * src/gc.c: Merge portability cleanups - get rid of a lot of | |
| 362 references to 'struct inode'. Also include the attempt at NAND | |
| 363 support in jffs2_garbage_collect_deletion_dirent(). | |
| 364 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
365 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
|
366 |
| 1373 | 367 * src/jffs2port.h: Switch semaphore emulation to cyg_drv_mutex_t, |
| 368 remove some kernel includes which seem gratuitous. | |
| 369 * cdl/jffs2.cdl: Require CYGPKG_MEMALLOC | |
| 370 * src/compr_zlib.c src/compr.c: Merge changes from mainline code | |
| 371 to make mkfs.jffs2 compile again. | |
| 372 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
373 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
|
374 |
| 1373 | 375 * src/jffs2.c: The 'mode' arg passed to jffs2_open() shouldn't |
| 376 have been called 'mode'. It's 'oflags'. You have to make up a | |
| 377 mode for the newly-created file yourself. | |
| 378 * src/nodelist.h src/read.c: Fix jffs2_getlink() so it takes | |
| 379 portable arguments, not a dentry. Move it to read.c and symlink.c | |
| 380 becomes obsolete. | |
| 381 * src/symlink-ecos.c: Removed. | |
| 382 * 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
|
383 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
384 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
|
385 |
| 1373 | 386 * 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
|
387 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
388 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
|
389 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
390 * started on port of JFFS2 using ramfs as a template |
| 1373 | 391 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
392 //=========================================================================== |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
393 //####ECOSGPLCOPYRIGHTBEGIN#### |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
394 // ------------------------------------------- |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
395 // This file is part of eCos, the Embedded Configurable Operating System. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
396 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
397 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
398 // eCos is free software; you can redistribute it and/or modify it under |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
399 // the terms of the GNU General Public License as published by the Free |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
400 // Software Foundation; either version 2 or (at your option) any later version. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
401 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
402 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
403 // WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
404 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
405 // for more details. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
406 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
407 // You should have received a copy of the GNU General Public License along |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
408 // with eCos; if not, write to the Free Software Foundation, Inc., |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
409 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
410 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
411 // As a special exception, if other files instantiate templates or use macros |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
412 // or inline functions from this file, or you compile this file and link it |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
413 // with other works to produce a work based on this file, this file does not |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
414 // by itself cause the resulting work to be covered by the GNU General Public |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
415 // License. However the source code for this file must still be made available |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
416 // in accordance with section (3) of the GNU General Public License. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
417 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
418 // This exception does not invalidate any other reasons why a work based on |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
419 // this file might be covered by the GNU General Public License. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
420 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
421 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. |
|
210
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
422 // at http://sources.redhat.com/ecos/ecos-license/ |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
423 // ------------------------------------------- |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
424 //####ECOSGPLCOPYRIGHTEND#### |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
425 //=========================================================================== |
| 1373 | 426 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
427 |
