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