1 |
786 |
skrzyp |
2010-11-29 John Dallaway
|
2 |
|
|
|
3 |
|
|
* cdl/romfs.cdl: Add CYGFUN_FS_ROM_FLASH_BLOCK_DEVICE_LOOKUP option.
|
4 |
|
|
* support/mk_romfs.c: Fix Win32 build.
|
5 |
|
|
|
6 |
|
|
2010-11-13 Alexander Aganichev
|
7 |
|
|
|
8 |
|
|
* src/romfs.c: Added ability to mount a flash block device by name.
|
9 |
|
|
|
10 |
|
|
2010-02-28 Øyvind Harboe
|
11 |
|
|
|
12 |
|
|
* src/romfs.c: file name comparison was broken for two files
|
13 |
|
|
with the same stem. A directory/file called "foo" would not
|
14 |
|
|
be found if there was a file "foo*" before "foo".
|
15 |
|
|
|
16 |
|
|
2009-10-09 John Dallaway
|
17 |
|
|
|
18 |
|
|
* cdl/romfs.cdl: Eliminate workarounds for file path handling
|
19 |
|
|
issue in obsolete Cygwin tclsh. Build the mk_romfs tool with higher
|
20 |
|
|
priority than the custom rules which use it.
|
21 |
|
|
|
22 |
|
|
2009-04-28 John Dallaway
|
23 |
|
|
|
24 |
|
|
* cdl/romfs.cdl: Use CYGPKG_IO_FILEIO as the parent.
|
25 |
|
|
|
26 |
|
|
2009-02-07 John Dallaway
|
27 |
|
|
|
28 |
|
|
* cdl/romfs.cdl: Pass file2c.tcl to tclsh directly.
|
29 |
|
|
|
30 |
|
|
2009-01-08 John Dallaway
|
31 |
|
|
|
32 |
|
|
* support/file2c.tcl: Specify script interpreter via /usr/bin/env.
|
33 |
|
|
|
34 |
|
|
2008-08-14 Klaas Gadeyne
|
35 |
|
|
2008-08-14 Jonathan Larmour
|
36 |
|
|
|
37 |
|
|
* doc/mk_romfs.txt (Usage): Remove documentation about obsolete
|
38 |
|
|
CYGNUM_FS_ROM_BASE_ADDRESS option, and replace with better
|
39 |
|
|
usage description.
|
40 |
|
|
|
41 |
|
|
2006-11-13 Xinghua Yang
|
42 |
|
|
Taiyun Wang
|
43 |
|
|
|
44 |
|
|
* cdl/romfs.cdl: Use CYGPKG_FS_ROM_RET_DIRENT_DTYPE to control
|
45 |
|
|
whether fatfs sets file type in romfs_fo_dirread.
|
46 |
|
|
* src/romfs.c: Set file type in romfs_fo_dirread.
|
47 |
|
|
* tests/romfs1.c: Test the new d_type in dirent when present.
|
48 |
|
|
|
49 |
|
|
2006-11-13 Oyvind Harboe
|
50 |
|
|
|
51 |
|
|
* support/file2c.tcl : align romdisk data to 4 bytes. With a bit
|
52 |
|
|
of bad luck, it would not be long-word aligned.
|
53 |
|
|
|
54 |
|
|
2006-08-04 Andrew Lunn
|
55 |
|
|
|
56 |
|
|
* src/romfs.c (romfs_getinfo): Support for block usage call.
|
57 |
|
|
* tests/romfs1.c (main): Add file system block usage test.
|
58 |
|
|
|
59 |
|
|
2006-02-15 Andrew Lunn
|
60 |
|
|
Peter Korsgaard
|
61 |
|
|
|
62 |
|
|
* support/mk_romfs.c: Use stdint.h defined types so the code is
|
63 |
|
|
64 bit clean. Fix compiler warnings.
|
64 |
|
|
|
65 |
|
|
2005-07-08 Andrew Lunn
|
66 |
|
|
|
67 |
|
|
* cdl/romfs.cdl: Allow mk_romfs to be build even when the tests
|
68 |
|
|
are disabled. It is generally useful and other tests programs may
|
69 |
|
|
want it.
|
70 |
|
|
|
71 |
|
|
2004-12-13 John Dallaway
|
72 |
|
|
|
73 |
|
|
* tests/fileio1.c: Rename to romfs1.c. eCos test names should be
|
74 |
|
|
unique.
|
75 |
|
|
* cdl/romfs.cdl: Build the romfs1 test.
|
76 |
|
|
|
77 |
|
|
2004-10-04 Andrew Lunn
|
78 |
|
|
|
79 |
|
|
* src/romfs.c (romfs_mount): Avoid a compiler warning about punned
|
80 |
|
|
types.
|
81 |
|
|
|
82 |
|
|
2004-08-08 Bart Veer
|
83 |
|
|
|
84 |
|
|
* cdl/romfs.cdl: generate both little-endian and big-endian image
|
85 |
|
|
files.
|
86 |
|
|
|
87 |
|
|
* tests/fileio1.c: include either a little-endian or a big-endian
|
88 |
|
|
image. Totally fail the test early on if the file system cannot be
|
89 |
|
|
mounted.
|
90 |
|
|
|
91 |
|
|
2004-06-14 John Dallaway
|
92 |
|
|
|
93 |
|
|
* cdl/romfs.cdl: Specify the test executable file name for
|
94 |
|
|
compatibility with the eCos Configuration Tool.
|
95 |
|
|
|
96 |
|
|
2004-02-20 Vincent Catros
|
97 |
|
|
|
98 |
|
|
* src/fs-ecos.c :
|
99 |
|
|
(jffs2_find) Policy to skip path separator is no longer
|
100 |
|
|
"if '/' then skip" but "while '/' then skip" allowing
|
101 |
|
|
multi '/' separators (i.e : /tmp////foo).
|
102 |
|
|
(find_entry) Policy to detect end of path is no longer
|
103 |
|
|
"if '\0' then end_of_path"
|
104 |
|
|
but "while '/' skip it and then if '\0' then end_of_path"
|
105 |
|
|
allowing path terminated with any number of '/'
|
106 |
|
|
(i.e : chdir(/tmp///)).
|
107 |
|
|
|
108 |
|
|
2003-12-11 Sandeep Kumar
|
109 |
|
|
|
110 |
|
|
* src/romfs.c (romfs_mount) : function wrongly returns ENOENT even
|
111 |
|
|
if fste->data isn't NULL.
|
112 |
|
|
|
113 |
|
|
2003-09-25 Oyvind Harboe
|
114 |
|
|
|
115 |
|
|
* src/romfs.c (romfs_mount): If a mount fails, make sure we leave
|
116 |
|
|
all state information in such a way we can try again.
|
117 |
|
|
|
118 |
|
|
2003-07-10 Andrew Lunn
|
119 |
|
|
|
120 |
|
|
* support/mk_romfs.c: S_I[RWX]{USR|GRP|OTH} etc changed to match
|
121 |
|
|
the changes in sys/stat.h
|
122 |
|
|
|
123 |
|
|
2003-02-24 Jonathan Larmour
|
124 |
|
|
|
125 |
|
|
* cdl/romfs.cdl: Fix doc link.
|
126 |
|
|
|
127 |
|
|
2003-01-30 Andrew Lunn
|
128 |
|
|
|
129 |
|
|
* cdl/romfs.cdl: Implements the CYGINT_IO_FILEIO_FS interface.
|
130 |
|
|
|
131 |
|
|
2003-01-29 John Dallaway
|
132 |
|
|
|
133 |
|
|
* support/file2c.tcl: Accommodate latest Cygwin Tcl shell
|
134 |
|
|
(tclsh83.exe)
|
135 |
|
|
|
136 |
|
|
2002-04-15 Bart Veer
|
137 |
|
|
|
138 |
|
|
* support/file2c.tcl:
|
139 |
|
|
Do not use an alignment attribute, since it is not honoured on
|
140 |
|
|
all targets.
|
141 |
|
|
|
142 |
|
|
* src/romfs.c:
|
143 |
|
|
Remove alignment restrictions, since they are not actually needed
|
144 |
|
|
yet and alignment is hard to guarantee on all targets.
|
145 |
|
|
|
146 |
|
|
2002-01-21 Jonathan Larmour
|
147 |
|
|
|
148 |
|
|
* support/mk_romfs.c: Open image file in binary mode (for cygwin).
|
149 |
|
|
Spotted by Warren Jasper.
|
150 |
|
|
|
151 |
|
|
2001-11-23 Jonathan Larmour
|
152 |
|
|
|
153 |
|
|
* cdl/romfs.cdl (CYGTST_ROMFS_BUILD_TESTS): Try gcc and cc if $HOST_CC
|
154 |
|
|
doesn't exist or has a problem.
|
155 |
|
|
|
156 |
|
|
2001-11-22 Jesper Skov
|
157 |
|
|
|
158 |
|
|
* cdl/romfs.cdl: Use HOST_CC instead of 'cc'.
|
159 |
|
|
|
160 |
|
|
2001-10-17 Drew Moseley
|
161 |
|
|
2001-10-17 Jonathan Larmour
|
162 |
|
|
|
163 |
|
|
* support/mk_romfs.c: Open input files in binary mode (for cygwin).
|
164 |
|
|
* cdl/romfs.cdl: Work around cygwin path problems by copying files
|
165 |
|
|
into build tree.
|
166 |
|
|
|
167 |
|
|
2001-07-20 Jonathan Larmour
|
168 |
|
|
|
169 |
|
|
* tests/fileio1.c (main): Get this to actually pass! Remove
|
170 |
|
|
kernel dependency.
|
171 |
|
|
* cdl/fileio.cdl: Get CDL dependencies better. Don't use
|
172 |
|
|
fixed base address. Make test building an option. Build mk_romfs
|
173 |
|
|
and use it to construct a test romfs.
|
174 |
|
|
* support/mk_romfs.c: fix trivial typo
|
175 |
|
|
* tests/testromfs: Directory hierarchy added for constructing test
|
176 |
|
|
ROMFS.
|
177 |
|
|
|
178 |
|
|
2001-07-13 Richard Panton (richard.panton@3glab.com)
|
179 |
|
|
|
180 |
|
|
* support/mk_romfs.c: Convert between host FS file modes and eCos
|
181 |
|
|
ones.
|
182 |
|
|
|
183 |
|
|
2000-10-25 Richard Panton (richard.panton@3glab.com)
|
184 |
|
|
|
185 |
|
|
* cdl/romfs.cdl:
|
186 |
|
|
* src/romfs.c:
|
187 |
|
|
* support/mk_romfs.c:
|
188 |
|
|
* tests/fileio1.c:
|
189 |
|
|
A sample ROM filesystem implementation
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
//===========================================================================
|
194 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
195 |
|
|
// -------------------------------------------
|
196 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
197 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2009, 2010 Free Software Foundation, Inc.
|
198 |
|
|
//
|
199 |
|
|
// This program is free software; you can redistribute it and/or modify
|
200 |
|
|
// it under the terms of the GNU General Public License as published by
|
201 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
202 |
|
|
// later version.
|
203 |
|
|
//
|
204 |
|
|
// This program is distributed in the hope that it will be useful, but
|
205 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
206 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
207 |
|
|
// General Public License for more details.
|
208 |
|
|
//
|
209 |
|
|
// You should have received a copy of the GNU General Public License
|
210 |
|
|
// along with this program; if not, write to the
|
211 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
212 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
213 |
|
|
// -------------------------------------------
|
214 |
|
|
// ####GPLCOPYRIGHTEND####
|
215 |
|
|
//===========================================================================
|
216 |
|
|
|
217 |
|
|
|