1 |
27 |
unneback |
2003-02-24 Jonathan Larmour
|
2 |
|
|
|
3 |
|
|
* cdl/jffs2.cdl: Fix doc link.
|
4 |
|
|
|
5 |
|
|
2003-02-05 Jonathan Larmour
|
6 |
|
|
|
7 |
|
|
* cdl/jffs2.cdl: Remove unused flash geometry CDL options.
|
8 |
|
|
|
9 |
|
|
2003-02-04 Gary Thomas on behalf of
|
10 |
|
|
2003-02-04 David Woodhouse
|
11 |
|
|
|
12 |
|
|
* src/write.c:
|
13 |
|
|
* src/scan.c:
|
14 |
|
|
* src/readinode.c:
|
15 |
|
|
* src/read.c:
|
16 |
|
|
* src/pushpull.h:
|
17 |
|
|
* src/os-ecos.h:
|
18 |
|
|
* src/nodemgmt.c:
|
19 |
|
|
* src/nodelist.h:
|
20 |
|
|
* src/nodelist.c:
|
21 |
|
|
* src/malloc-ecos.c:
|
22 |
|
|
* src/jffs2port.h:
|
23 |
|
|
* src/gc.c:
|
24 |
|
|
* src/file-ecos.c:
|
25 |
|
|
* src/erase.c:
|
26 |
|
|
* src/dir-ecos.c:
|
27 |
|
|
* src/compr_zlib.c:
|
28 |
|
|
* src/compr_rubin.c:
|
29 |
|
|
* src/compr_rtime.c:
|
30 |
|
|
* src/compr.c:
|
31 |
|
|
* src/build.c:
|
32 |
|
|
* cdl/jffs2.cdl: Update to latest public JFFS2 codebase.
|
33 |
|
|
|
34 |
|
|
* src/list.h:
|
35 |
|
|
* src/jffs2_fs_sb.h:
|
36 |
|
|
* src/jffs2_fs_i.h:
|
37 |
|
|
* src/jffs2.h:
|
38 |
|
|
* src/jffs2.c:
|
39 |
|
|
* src/crc32.h:
|
40 |
|
|
* src/background.c: Removed/renamed file(s).
|
41 |
|
|
|
42 |
|
|
* src/fs-ecos.c:
|
43 |
|
|
* include/linux/jffs2_fs_sb.h:
|
44 |
|
|
* include/linux/jffs2_fs_i.h:
|
45 |
|
|
* include/linux/jffs2.h: New file(s).
|
46 |
|
|
|
47 |
|
|
2002-12-06 Andrew Lunn
|
48 |
|
|
|
49 |
|
|
* cdl/jffs2.cdl: Implements the CYGINT_IO_FILEIO_FS interface.
|
50 |
|
|
|
51 |
|
|
2002-10-11 Andrew Lunn
|
52 |
|
|
|
53 |
|
|
* src/crc32.h (crc32): Use the CRC package for crc calculation
|
54 |
|
|
* tests/romfileio1.c (main): Pass the name of the device to mount
|
55 |
|
|
|
56 |
|
|
2002-05-20 Jonathan Larmour
|
57 |
|
|
|
58 |
|
|
* src/LICENCE: New file. Contains license for JFFS2, now GPL+exception.
|
59 |
|
|
* src/background.c: Point at LICENSE file instead of existing text.
|
60 |
|
|
* src/build.c: Ditto.
|
61 |
|
|
* src/compr.c: Ditto.
|
62 |
|
|
* src/compr_rtime.c: Ditto.
|
63 |
|
|
* src/compr_rubin.c: Ditto.
|
64 |
|
|
* src/compr_zlib.c: Ditto.
|
65 |
|
|
* src/dir-ecos.c: Ditto.
|
66 |
|
|
* src/erase.c: Ditto.
|
67 |
|
|
* src/file-ecos.c: Ditto.
|
68 |
|
|
* src/gc.c: Ditto.
|
69 |
|
|
* src/jffs2.h: Ditto.
|
70 |
|
|
* src/list.h: Ditto.
|
71 |
|
|
* src/malloc-ecos.c: Ditto.
|
72 |
|
|
* src/nodelist.c: Ditto.
|
73 |
|
|
* src/nodelist.h: Ditto.
|
74 |
|
|
* src/nodemgmt.c: Ditto.
|
75 |
|
|
* src/os-ecos.h: Ditto.
|
76 |
|
|
* src/pushpull.h: Ditto.
|
77 |
|
|
* src/read.c: Ditto.
|
78 |
|
|
* src/readinode.c: Ditto.
|
79 |
|
|
* src/scan.c: Ditto.
|
80 |
|
|
* src/write.c: Ditto.
|
81 |
|
|
|
82 |
|
|
2002-01-28 David Woodhouse
|
83 |
|
|
|
84 |
|
|
* src/super-ecos.c: Removed.
|
85 |
|
|
* src/jffs2.c: Merge jffs2_write_super() and jffs2_put_super() into
|
86 |
|
|
the routines from which they were called, put jffs2_read_super()
|
87 |
|
|
in as a static function with a view to doing same RSN.
|
88 |
|
|
* src/jffs2port.h: Remove prototypes of functions that died.
|
89 |
|
|
* cdl/jffs2.cdl: Remove super-ecos.c
|
90 |
|
|
* src/dir-ecos.c src/write.c: Increase highest_version _before_
|
91 |
|
|
assigning to new node, not after.
|
92 |
|
|
|
93 |
|
|
2002-01-27 David Woodhouse
|
94 |
|
|
|
95 |
|
|
* src/read.c (jffs2_read_inode_range): Deal correctly with
|
96 |
|
|
non-page-aligned read requests. We have to deal with the
|
97 |
|
|
case where we want to read from somewhere other than the
|
98 |
|
|
beginning of a frag.
|
99 |
|
|
* src/jffs2.c (jffs2_fo_read): Use jffs2_read_inode_range
|
100 |
|
|
instead of jffs2_readpage.
|
101 |
|
|
|
102 |
|
|
2002-01-25 Jonathan Larmour
|
103 |
|
|
|
104 |
|
|
* cdl/jffs2.cdl: We want CYGPKG_IO_FILEIO_INODE.
|
105 |
|
|
* src/dir-ecos.c (jffs2_symlink): Remove. eCos doesn't support symlinks.
|
106 |
|
|
(jffs2_mknod): Similar.
|
107 |
|
|
(jffs2_mkdir): Don't call d_instantiate - its a nop.
|
108 |
|
|
(jffs2_rename): Ditto.
|
109 |
|
|
* src/file-ecos.c (jffs2_commit_write): Don't set blocks.
|
110 |
|
|
* src/jffs2.c (jffs2_flash_writev): Rewrite to only write aligned
|
111 |
|
|
quantities to flash.
|
112 |
|
|
* src/jffs2port.h: Lots of decrufting.
|
113 |
|
|
* src/os-ecos.h: Ditto (a bit).
|
114 |
|
|
* src/readinode.c (jffs2_read_inode): Don't set blocks/blksize in inode.
|
115 |
|
|
* src/write.c (jffs2_new_inode): Ditto when __ECOS.
|
116 |
|
|
(jffs2_write_dnode): don't call writev with extra vectors
|
117 |
|
|
unnecessarily.
|
118 |
|
|
* src/super-ecos.c (jffs2_statfs): Remove - unused.
|
119 |
|
|
|
120 |
|
|
2002-01-25 David Woodhouse
|
121 |
|
|
|
122 |
|
|
* src/super-ecos.c: Cruftectomy.
|
123 |
|
|
* src/compr*.[ch] src/pushpull.h: Namespace cleanups merged from
|
124 |
|
|
mainstream sources. Bit push functions made inline.
|
125 |
|
|
* src/pushpull.c: Removed.
|
126 |
|
|
* cdl/jffs2.c: Remove reference to pushpull.c
|
127 |
|
|
* src/file-ecos.c: Cruftectomy. Lots of unused stuff here.
|
128 |
|
|
* src/jffs2.c src/jffs2port.h: Remove some functions from jffs2.c
|
129 |
|
|
which are no longer used, move some others to jffs2port.h as
|
130 |
|
|
inline functions so they don't pollute the namespace.
|
131 |
|
|
|
132 |
|
|
2002-01-24 Jonathan Larmour
|
133 |
|
|
|
134 |
|
|
* tests/fileio1.c: Check in listdir that the number of dirents is
|
135 |
|
|
correct, taking into account existing files in case it's live.
|
136 |
|
|
|
137 |
|
|
* src/dir-ecos.c (jffs2_readdir): move to....
|
138 |
|
|
|
139 |
|
|
* src/jffs2.c (jffs2_fo_dirread): here. And fix the return code
|
140 |
|
|
in the process so it now works.
|
141 |
|
|
(filldir): Make inline and simpler.
|
142 |
|
|
* src/jffs2port.h: remove filldir related stuff.
|
143 |
|
|
|
144 |
|
|
2002-01-24 David Woodhouse
|
145 |
|
|
|
146 |
|
|
* src/dir-ecos.c: Cruftectomy. Remove most of the stuff that was
|
147 |
|
|
commented out. Remove jffs2_do_{create,link,unlink} to write.c
|
148 |
|
|
* src/write.c: Add jffs2_do_{create,link,unlink} as in mainline.
|
149 |
|
|
* src/nodelist.h: Prototypes for the above.
|
150 |
|
|
* src/jffs2port.h: Don't include .
|
151 |
|
|
|
152 |
|
|
2002-01-23 Jonathan Larmour
|
153 |
|
|
|
154 |
|
|
* src/jffs2.c (jffs2_mount): Allow multiple FSs, and integration
|
155 |
|
|
with flash block device.
|
156 |
|
|
(jffs2_flash_read): Use flash block device.
|
157 |
|
|
(jffs2_flash_erase): Ditto.
|
158 |
|
|
(jffs2_flash_write): Ditto.
|
159 |
|
|
(do_flash_init): Remove - now done by block device layer
|
160 |
|
|
* src/list.h: Remove and reimplement from scratch to avoid GPL.
|
161 |
|
|
* src/os-ecos.h: Keep flash block dev handle in superblock.
|
162 |
|
|
eCos does support obsoleting as it isn't NAND only.
|
163 |
|
|
* src/dir-ecos.c (jffs2_readdir): Return correct value on success.
|
164 |
|
|
Merge in changes mutatis mutandis from between v1.49 and v1.51 of
|
165 |
|
|
dir.c in main repository.
|
166 |
|
|
* cdl/jffs2.cdl: CYGPKG_MEMALLOC more accurately CYGINT_ISO_MALLOC.
|
167 |
|
|
Only jffs2.c needs to be in libextras.a
|
168 |
|
|
Requires Flash block devices as an alternative for hardcoding
|
169 |
|
|
the sector size, flash size and base address.
|
170 |
|
|
* src/super-ecos.c (jffs2_read_super): Use flash block device for
|
171 |
|
|
sector and flash sizes.
|
172 |
|
|
* tests/fileio1.c: mount using block device (defined by CDL).
|
173 |
|
|
No need to init here - done by flash block device layer.
|
174 |
|
|
|
175 |
|
|
2002-01-21 David Woodhouse
|
176 |
|
|
|
177 |
|
|
* src/read.c: Obtain inode lock around reading symlink target.
|
178 |
|
|
* src/dir-ecos.c: Fix the long-standing up() without down() in
|
179 |
|
|
jffs2_readdir() when only the '.' and '..' entries are read, from
|
180 |
|
|
v1.52 of master dir.c. Merge copyright date change from v1.50 - note
|
181 |
|
|
that the portability cleanups from v1.51 aren't yet merged.
|
182 |
|
|
* src/os-ecos.h: Add jffs2_can_mark_obsolete() and the macros
|
183 |
|
|
for getting at generic inode fields from a struct jffs2_inode_info*
|
184 |
|
|
* src/nodemgmt.c: Remove an #ifndef __ECOS and use
|
185 |
|
|
jffs2_can_mark_obsolete() instead.
|
186 |
|
|
* src/jffs2port.h: up() is cyg_drv_mutex_unlock() not _release()
|
187 |
|
|
* src/gc.c: Merge portability cleanups - get rid of a lot of
|
188 |
|
|
references to 'struct inode'. Also include the attempt at NAND
|
189 |
|
|
support in jffs2_garbage_collect_deletion_dirent().
|
190 |
|
|
|
191 |
|
|
2002-01-11 David Woodhouse
|
192 |
|
|
|
193 |
|
|
* src/jffs2port.h: Switch semaphore emulation to cyg_drv_mutex_t,
|
194 |
|
|
remove some kernel includes which seem gratuitous.
|
195 |
|
|
* cdl/jffs2.cdl: Require CYGPKG_MEMALLOC
|
196 |
|
|
* src/compr_zlib.c src/compr.c: Merge changes from mainline code
|
197 |
|
|
to make mkfs.jffs2 compile again.
|
198 |
|
|
|
199 |
|
|
2002-01-10 David Woodhouse
|
200 |
|
|
|
201 |
|
|
* src/jffs2.c: The 'mode' arg passed to jffs2_open() shouldn't
|
202 |
|
|
have been called 'mode'. It's 'oflags'. You have to make up a
|
203 |
|
|
mode for the newly-created file yourself.
|
204 |
|
|
* src/nodelist.h src/read.c: Fix jffs2_getlink() so it takes
|
205 |
|
|
portable arguments, not a dentry. Move it to read.c and symlink.c
|
206 |
|
|
becomes obsolete.
|
207 |
|
|
* src/symlink-ecos.c: Removed.
|
208 |
|
|
* cdl/jffs2.cdl: Remove symlink-ecos.c
|
209 |
|
|
|
210 |
|
|
2002-01-09 David Woodhouse
|
211 |
|
|
|
212 |
|
|
* Import updated JFFS2 sources into eCos tree.
|
213 |
|
|
|
214 |
|
|
2000-08-28 Dominic Ostrowski (dominic.ostrowski@3glab.com)
|
215 |
|
|
|
216 |
|
|
* started on port of JFFS2 using ramfs as a template
|
217 |
|
|
|
218 |
|
|
//===========================================================================
|
219 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
220 |
|
|
// -------------------------------------------
|
221 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
222 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
223 |
|
|
//
|
224 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
225 |
|
|
// the terms of the GNU General Public License as published by the Free
|
226 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
227 |
|
|
//
|
228 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
229 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
230 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
231 |
|
|
// for more details.
|
232 |
|
|
//
|
233 |
|
|
// You should have received a copy of the GNU General Public License along
|
234 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
235 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
236 |
|
|
//
|
237 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
238 |
|
|
// or inline functions from this file, or you compile this file and link it
|
239 |
|
|
// with other works to produce a work based on this file, this file does not
|
240 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
241 |
|
|
// License. However the source code for this file must still be made available
|
242 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
243 |
|
|
//
|
244 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
245 |
|
|
// this file might be covered by the GNU General Public License.
|
246 |
|
|
//
|
247 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
248 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
249 |
|
|
// -------------------------------------------
|
250 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
251 |
|
|
//===========================================================================
|
252 |
|
|
|
253 |
|
|
|