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