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