1 2006-11-13 Xinghua Yang <yxinghua@sunnorth.com.cn>
2 Taiyun Wang <taiyun@sunnorth.com.cn>
4 * cdl/romfs.cdl: Use CYGPKG_FS_ROM_RET_DIRENT_DTYPE to control
5 whether fatfs sets file type in romfs_fo_dirread.
6 * src/romfs.c: Set file type in romfs_fo_dirread.
7 * tests/romfs1.c: Test the new d_type in dirent when present.
9 2006-11-13 Oyvind Harboe <oyvind.harboe@zylin.com>
11 * support/file2c.tcl : align romdisk data to 4 bytes. With a bit
12 of bad luck, it would not be long-word aligned.
14 2006-08-04 Andrew Lunn <andrew.lunn@ascom.ch>
16 * src/romfs.c (romfs_getinfo): Support for block usage call.
17 * tests/romfs1.c (main): Add file system block usage test.
19 2006-02-15 Andrew Lunn <andrew.lunn@ascom.ch>
20 Peter Korsgaard <jacmet@sunsite.dk>
22 * support/mk_romfs.c: Use stdint.h defined types so the code is
23 64 bit clean. Fix compiler warnings.
25 2005-07-08 Andrew Lunn <andrew.lunn@ascom.ch>
27 * cdl/romfs.cdl: Allow mk_romfs to be build even when the tests
28 are disabled. It is generally useful and other tests programs may
31 2004-12-13 John Dallaway <jld@ecoscentric.com>
33 * tests/fileio1.c: Rename to romfs1.c. eCos test names should be
35 * cdl/romfs.cdl: Build the romfs1 test.
37 2004-10-04 Andrew Lunn <andrew.lunn@ascom.ch>
39 * src/romfs.c (romfs_mount): Avoid a compiler warning about punned
42 2004-08-08 Bart Veer <bartv@ecoscentric.com>
44 * cdl/romfs.cdl: generate both little-endian and big-endian image
47 * tests/fileio1.c: include either a little-endian or a big-endian
48 image. Totally fail the test early on if the file system cannot be
51 2004-06-14 John Dallaway <jld@ecoscentric.com>
53 * cdl/romfs.cdl: Specify the test executable file name for
54 compatibility with the eCos Configuration Tool.
56 2004-02-20 Vincent Catros <Vincent.Catros@elios-informatique.fr>
59 (jffs2_find) Policy to skip path separator is no longer
60 "if '/' then skip" but "while '/' then skip" allowing
61 multi '/' separators (i.e : /tmp////foo).
62 (find_entry) Policy to detect end of path is no longer
63 "if '\0' then end_of_path"
64 but "while '/' skip it and then if '\0' then end_of_path"
65 allowing path terminated with any number of '/'
66 (i.e : chdir(/tmp///)).
68 2003-12-11 Sandeep Kumar <sandeep@codito.com>
70 * src/romfs.c (romfs_mount) : function wrongly returns ENOENT even
71 if fste->data isn't NULL.
73 2003-09-25 Oyvind Harboe <oyvind.harboe@zylin.com>
75 * src/romfs.c (romfs_mount): If a mount fails, make sure we leave
76 all state information in such a way we can try again.
78 2003-07-10 Andrew Lunn <andrew.lunn@ascom.ch>
80 * support/mk_romfs.c: S_I[RWX]{USR|GRP|OTH} etc changed to match
81 the changes in sys/stat.h
83 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
85 * cdl/romfs.cdl: Fix doc link.
87 2003-01-30 Andrew Lunn <andrew.lunn@ascom.ch>
89 * cdl/romfs.cdl: Implements the CYGINT_IO_FILEIO_FS interface.
91 2003-01-29 John Dallaway <jld@ecoscentric.com>
93 * support/file2c.tcl: Accommodate latest Cygwin Tcl shell
96 2002-04-15 Bart Veer <bartv@redhat.com>
99 Do not use an alignment attribute, since it is not honoured on
103 Remove alignment restrictions, since they are not actually needed
104 yet and alignment is hard to guarantee on all targets.
106 2002-01-21 Jonathan Larmour <jlarmour@redhat.com>
108 * support/mk_romfs.c: Open image file in binary mode (for cygwin).
109 Spotted by Warren Jasper.
111 2001-11-23 Jonathan Larmour <jlarmour@redhat.com>
113 * cdl/romfs.cdl (CYGTST_ROMFS_BUILD_TESTS): Try gcc and cc if $HOST_CC
114 doesn't exist or has a problem.
116 2001-11-22 Jesper Skov <jskov@redhat.com>
118 * cdl/romfs.cdl: Use HOST_CC instead of 'cc'.
120 2001-10-17 Drew Moseley <dmoseley@redhat.com>
121 2001-10-17 Jonathan Larmour <jlarmour@redhat.com>
123 * support/mk_romfs.c: Open input files in binary mode (for cygwin).
124 * cdl/romfs.cdl: Work around cygwin path problems by copying files
127 2001-07-20 Jonathan Larmour <jlarmour@redhat.com>
129 * tests/fileio1.c (main): Get this to actually pass! Remove
131 * cdl/fileio.cdl: Get CDL dependencies better. Don't use
132 fixed base address. Make test building an option. Build mk_romfs
133 and use it to construct a test romfs.
134 * support/mk_romfs.c: fix trivial typo
135 * tests/testromfs: Directory hierarchy added for constructing test
138 2001-07-13 Richard Panton (richard.panton@3glab.com)
140 * support/mk_romfs.c: Convert between host FS file modes and eCos
143 2000-10-25 Richard Panton (richard.panton@3glab.com)
147 * support/mk_romfs.c:
149 A sample ROM filesystem implementation
153 //===========================================================================
154 //####ECOSGPLCOPYRIGHTBEGIN####
155 // -------------------------------------------
156 // This file is part of eCos, the Embedded Configurable Operating System.
157 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
158 // Copyright (C) 2004 eCosCentric Limited
160 // eCos is free software; you can redistribute it and/or modify it under
161 // the terms of the GNU General Public License as published by the Free
162 // Software Foundation; either version 2 or (at your option) any later version.
164 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
165 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
166 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
169 // You should have received a copy of the GNU General Public License along
170 // with eCos; if not, write to the Free Software Foundation, Inc.,
171 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
173 // As a special exception, if other files instantiate templates or use macros
174 // or inline functions from this file, or you compile this file and link it
175 // with other works to produce a work based on this file, this file does not
176 // by itself cause the resulting work to be covered by the GNU General Public
177 // License. However the source code for this file must still be made available
178 // in accordance with section (3) of the GNU General Public License.
180 // This exception does not invalidate any other reasons why a work based on
181 // this file might be covered by the GNU General Public License.
183 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
184 // at http://sources.redhat.com/ecos/ecos-license/
185 // -------------------------------------------
186 //####ECOSGPLCOPYRIGHTEND####
187 //===========================================================================