]>
www.infradead.org Git - mtd-utils.git/log
Adrian Hunter [Tue, 12 Aug 2008 11:08:14 +0000 (14:08 +0300)]
fs-tests: allow for symlink name too long in integrity test
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Adrian Hunter [Tue, 12 Aug 2008 11:08:11 +0000 (14:08 +0300)]
fs-tests: fix max file name length in integrity test
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Adrian Hunter [Tue, 12 Aug 2008 11:08:06 +0000 (14:08 +0300)]
fs-tests: fix symlink bug in integrity test
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Mon, 28 Jul 2008 09:52:24 +0000 (12:52 +0300)]
ubinize: fix static volumes generation
When static volumes is generated, the 'used_ebs' field of VID
header has to be calculated based on image file size, not on
the volume size. Fix this.
This patch also improves error reporting a little and re-arrages
the code so that all the validation is done in 'read_section()'
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Mon, 14 Jul 2008 09:59:26 +0000 (12:59 +0300)]
ubi-tests: fix run script
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Mon, 14 Jul 2008 09:51:07 +0000 (12:51 +0300)]
ubi-tests: fix makefile
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Tue, 8 Jul 2008 12:26:42 +0000 (15:26 +0300)]
uninize: add more ini-file validation
Check that volume names and IDs are unique
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Tue, 8 Jul 2008 11:06:35 +0000 (14:06 +0300)]
ubinize: validate number of sections
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Grant Erickson [Wed, 18 Jun 2008 14:35:39 +0000 (07:35 -0700)]
Makefile: Add Optional ZLIB and LZO CPPFLAGS and LDFLAGS
This adds support for allowing the specification of unique CPPFLAGS and
LDFLAGS for both LZO and ZLIB. In addition, it allows for independently
specifying both PREFIX and EXEC_PREFIX.
The former is useful in some cross-compilation environments where the
LZO and ZLIB versions being built against are not those installed in the
standard locations.
The latter is useful when installing mtd-utils in a multi-architecture
installation area.
Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Artem Bityutskiy [Fri, 27 Jun 2008 16:21:28 +0000 (19:21 +0300)]
ubiupdatevol: minor tweak
Undo my weird change which slipped accidentally to the commit.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Hamish Moffatt [Fri, 27 Jun 2008 16:13:10 +0000 (19:13 +0300)]
ubiupdate: support reading from stdio
1. Adds -s/--size switch;
2. Allows the image file to be specified as '-', meaning stdin; if used,
the size must be specified.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Bernard Blackham [Wed, 25 Jun 2008 13:17:24 +0000 (21:17 +0800)]
ubiformat: reverse question about vid offset change
Users can pass the -O option to ubiformat to override the VID header
offset on the command-line. If for some reason, the new offset does
not match what is on flash, ubiformat currently prompts the user if
they'd rather use the *old* offsets. This means that calling
ubiformat with --yes will not do what was requested on the
command-line.
This patch reverses the question so --yes is actually useful for
running in batch-mode.
Signed-off-by: Bernard Blackham <bernard@largestprime.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Grant Erickson [Fri, 13 Jun 2008 15:46:37 +0000 (01:46 +1000)]
mkfs.jffs2: Add Support for Symlinks to Device Table
Added support for symbolic links to the grammar of the device table file
such that links that already exist in the root working directory may
have their permissions and ownership changed. Creating symbolic links
anew is still unsupported.
Added a note to this effect in the manual reference page.
Print out the type character when encountering an unsupported file type
(e.g. symbolic links when created anew).
Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Josh Boyer <jwboyer@vader.jdub.homelinux.org>
Grant Erickson [Fri, 13 Jun 2008 15:46:29 +0000 (01:46 +1000)]
mkfs.jffs2: Remove Incorrect Find Optimization
Remove performance optimization in find_filesystem_entry that prevented
the successful simultaneous use of --root and --devtable where the
latter is only used to fix-up permissions and ownership and to create
device nodes.
As it stood, the performance optimization prevented a successful find
where directory recursion was required or where the file being searched
for had any mode permission bits set.
See http://lists.infradead.org/pipermail/linux-mtd/2008-June/021997.html
for additional information.
Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Josh Boyer <jwboyer@vader.jdub.homelinux.org>
Mike Frysinger [Wed, 11 Jun 2008 21:49:08 +0000 (07:49 +1000)]
respect CFLAGS/CPPFLAGS from build environment
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Adrian Hunter [Tue, 17 Jun 2008 10:54:23 +0000 (13:54 +0300)]
fs-tests: fix rename bug in integrity test
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Thu, 12 Jun 2008 07:57:29 +0000 (10:57 +0300)]
fs-tests: add symlinks to integrity test
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Wed, 11 Jun 2008 12:34:00 +0000 (15:34 +0300)]
fs-tests: check link count in integrity test
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Wed, 11 Jun 2008 12:32:52 +0000 (15:32 +0300)]
fs-tests: add rename to integrity test
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Wed, 11 Jun 2008 07:41:11 +0000 (10:41 +0300)]
fs-tests: add linking/unlinking to integrity test
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Fri, 6 Jun 2008 10:41:51 +0000 (13:41 +0300)]
fs-tests: make integrity test shrink faster
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Fri, 6 Jun 2008 07:23:18 +0000 (10:23 +0300)]
fs-tests: add mmapping to integrity test for ubifs
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Thu, 5 Jun 2008 11:11:29 +0000 (14:11 +0300)]
fs-tests: preserve mount options when mounting again
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Thu, 5 Jun 2008 11:00:11 +0000 (14:00 +0300)]
fs-tests: stop integrity test looping forever
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Tue, 13 Nov 2007 10:38:00 +0000 (12:38 +0200)]
fs-tests: fix bug in integrity test
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Tue, 6 Nov 2007 11:08:12 +0000 (13:08 +0200)]
fs-tests: add simple performance test
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Mon, 29 Oct 2007 12:45:37 +0000 (14:45 +0200)]
fs-tests: make integrity test record truncations
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Mon, 22 Oct 2007 11:06:07 +0000 (14:06 +0300)]
fs-tests: make integrity test shrink better
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Adrian Hunter [Mon, 8 Oct 2007 14:43:16 +0000 (17:43 +0300)]
fs-tests: allow for ENOSPC in test fwrite00
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Artem Bityutskiy [Wed, 4 Jun 2008 16:23:52 +0000 (19:23 +0300)]
ubi-tests: fix compilation
libubi_open interface was changed, but the tests were not
amended. Fix this.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Thu, 29 May 2008 10:05:36 +0000 (13:05 +0300)]
ubi-utils: fix typo in ubiformat
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
David Woodhouse [Thu, 22 May 2008 11:44:14 +0000 (12:44 +0100)]
Fix recv_image build harder
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Artem Bityutskiy [Fri, 16 May 2008 08:53:42 +0000 (11:53 +0300)]
ubi-utils: remove unnecessary ubinize warning
... and fix help message.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 16 May 2008 08:08:30 +0000 (11:08 +0300)]
ubi-utils: add ubiformat to Makefile
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Tue, 13 May 2008 11:28:45 +0000 (14:28 +0300)]
ubi-utils: fixe ubiupdatevol
-t option does not require image file.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Wed, 23 Apr 2008 15:21:03 +0000 (18:21 +0300)]
ubi-utils: fix long options
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Wed, 23 Apr 2008 15:13:04 +0000 (18:13 +0300)]
ubi-utils: make sure only one volume is auto-resize
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Wed, 23 Apr 2008 15:05:05 +0000 (18:05 +0300)]
ubi-utils: improve input parameters checks
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Wed, 23 Apr 2008 10:48:09 +0000 (13:48 +0300)]
mtd-utils: fix input parameter checks
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Mon, 21 Apr 2008 16:13:58 +0000 (19:13 +0300)]
ubi-utils: fix percent output in ubiformat
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Mon, 21 Apr 2008 15:09:17 +0000 (18:09 +0300)]
ubi-utils: fix the output print
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Sun, 20 Apr 2008 10:22:34 +0000 (13:22 +0300)]
ubi-utils: improve input parameters checks
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Sun, 20 Apr 2008 09:35:32 +0000 (12:35 +0300)]
ubi-utils: add ubiformat
A new utility to erase MTD devices and flash UBI images, while
preserving erase counters
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Sun, 20 Apr 2008 09:34:32 +0000 (12:34 +0300)]
ubi-utils: add libscan
A library to scan MTD devices. For now it only reads EC header.
Later it may be improved if needed.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Sun, 20 Apr 2008 09:33:32 +0000 (12:33 +0300)]
ubi-utils: add libmtd
Just collection of functions to make it easier to work with MTD devices.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Sun, 20 Apr 2008 15:14:37 +0000 (18:14 +0300)]
ubi-utils: various clean-ups and preparations
This patch introduces many clean-ups, nicifications and preparations
to the following ubiformat utility. There are also fixes.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Thu, 17 Apr 2008 13:43:20 +0000 (16:43 +0300)]
ubi-utils: use common.h in libubi
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Siarhei Siamashka [Thu, 17 Apr 2008 13:32:28 +0000 (16:32 +0300)]
mkfs.jffs2.c: fix issue with crashing when using lzo compression
Signed-off-by: Siarhei Siamashka <siarhei.siamashka@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Riku Voipio [Fri, 11 Apr 2008 09:33:37 +0000 (12:33 +0300)]
compr_lzo.c: allocate enough memory for lzo compressor.
This is the same bug as in kernel, pointed out the LZO author
(Markus Oberhumer):
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=
f2a11b158a24301e9158e9c873fa88e5eb775486
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Riku Voipio [Fri, 11 Apr 2008 09:27:38 +0000 (12:27 +0300)]
Use LSB locations for manpages
LSB says manpages belong to /usr/share/man, adjust makefile
defaults accordingly.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Artem Bityutskiy [Thu, 17 Apr 2008 12:53:35 +0000 (15:53 +0300)]
Teach libubi_open not to prirnt error message
... when it is expected that UBI is not necessarily present
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Wed, 16 Apr 2008 17:47:13 +0000 (20:47 +0300)]
ubinize: correctly calculate VID offset when min I/O unit is 1
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Mon, 7 Apr 2008 19:19:01 +0000 (22:19 +0300)]
ubi-utils: fix a typo
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Wed, 2 Apr 2008 08:04:51 +0000 (11:04 +0300)]
ubi-utils: fix printing typos
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Zoltan Sogor [Thu, 27 Mar 2008 11:26:49 +0000 (12:26 +0100)]
ubi-utils: fix wrong variable printout
Signed-off-by: Zoltan Sogor <weth@inf.u-szeged.hu>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Hamish Moffatt [Wed, 26 Mar 2008 05:17:59 +0000 (16:17 +1100)]
ubi-utils: don't use argp.h
Don't include argp.h as it's glibc-specific, and not used anyway.
Signed-Off-By: Hamish Moffatt <hamish@cloud.net.au>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
David Woodhouse [Sat, 23 Feb 2008 13:28:36 +0000 (22:28 +0900)]
Fix recv_image compilation with new glibc
struct ip_mreq is hidden behind __USE_MISC now
Otavio Salvador [Sat, 23 Feb 2008 13:25:39 +0000 (10:25 -0300)]
ubi-utils: fix compilation warnings in eb_chain.c when using gcc 4.2.3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 23 Feb 2008 13:23:29 +0000 (10:23 -0300)]
ubi-utils: fix compilation warnings in unubi_analyze.c when using gcc 4.2.3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 23 Feb 2008 13:17:51 +0000 (10:17 -0300)]
ubi-utils: fix compilation warnings in unubi.c when using gcc 4.2.3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Frank Haverkamp [Fri, 22 Feb 2008 11:37:26 +0000 (13:37 +0200)]
ubi-utils: pddcustomize fixup update volume
Somehow calling ubi_update_start was forgotten and caused the
tool not to write but silently ignore the write.
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Frank Haverkamp [Thu, 21 Feb 2008 14:00:13 +0000 (16:00 +0200)]
ubi-utils: Fixup Makefile for new version of the tools
Because of defining targets which get never build calling make multiple times
caused regeneration of the code. The fix creates proper .a files which prevent
the rebuild since they exist after build.
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Artem Bityutskiy [Wed, 20 Feb 2008 16:00:42 +0000 (18:00 +0200)]
ubi-tools: sanify old and new tools a bit
This commit adds compatible options to new ubimkvol, ubirmvol,
and ubiupdatevol and deletes corresponding old utilities.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Tue, 19 Feb 2008 16:07:02 +0000 (18:07 +0200)]
ubi-nize: fix output messages
As reported by one of the users there is a missing white-space
and unknown abbreviation in the output.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Tue, 19 Feb 2008 15:17:44 +0000 (17:17 +0200)]
Remove redundant tests
Sorry for this mess in the history, but I hope this is the
last ugly commit. I accidentally copies the tests from
mtd-utils.git/tests/ubi-tests/ to here. Remove them.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Tue, 19 Feb 2008 12:54:17 +0000 (14:54 +0200)]
Revert ubi-tools changes
Restore ubi tools to their "original" state, which means to
the state they were before I stareted cleaning them up.
Instead, create a "new-utils" subdirectory and move my work
there.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Sat, 16 Feb 2008 13:06:31 +0000 (15:06 +0200)]
Fix error message printing
Add missing "\n" to get rid of ugliness like:
[dedekind@golum test]$ ubinize -o ubi.img -m 2048 -p 128KiB -s 512 ubinize.cfg
ubinize error: cannot stat "/home/dedekind/git/ubifs.img"
error 2 (No such file or directory)[dedekind@golum test]$
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Sat, 16 Feb 2008 13:03:55 +0000 (15:03 +0200)]
ubinize: bugfix in parsing image size string
This is a copy-paste problem: copied, but forgot to change
the argument.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 8 Feb 2008 10:10:54 +0000 (12:10 +0200)]
Add load_nandsim.sh script
This script makes it easier to load nandsim and emulate a NAND flash
of specified geometry
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Wed, 6 Feb 2008 16:59:15 +0000 (18:59 +0200)]
ubi-tools: improve printing macros
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Wed, 6 Feb 2008 14:23:00 +0000 (16:23 +0200)]
ubimkvol: slightly amend printing
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Mon, 4 Feb 2008 15:32:01 +0000 (17:32 +0200)]
mtd_debug: support new flags
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 1 Feb 2008 10:40:28 +0000 (12:40 +0200)]
libubi: fix sysfs direntries scanning
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Adrian Hunter [Thu, 31 Jan 2008 15:21:57 +0000 (17:21 +0200)]
ubi-tools: fix ubinize
ubinize reserves 2 eraseblocks for the volume table at the start of the
output file and then never seeked back to the start of the file.
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 25 Jan 2008 15:54:50 +0000 (17:54 +0200)]
ubi-utils: use mtd_swab.h
Do not relay on asm/byteorder and use mtd_swab.h instead
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 25 Jan 2008 14:50:15 +0000 (16:50 +0200)]
libubi: fix comment
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 25 Jan 2008 14:43:07 +0000 (16:43 +0200)]
libubi: support atomic LEB change ioctl
And add testing for this feature.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 25 Jan 2008 12:33:58 +0000 (14:33 +0200)]
ubi-tests: stylistic amendments
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 25 Jan 2008 12:18:41 +0000 (14:18 +0200)]
ubi-tests: improve io_update
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 25 Jan 2008 09:32:40 +0000 (11:32 +0200)]
ubi-utils: use macros not hardcoded constants
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 25 Jan 2008 09:27:06 +0000 (11:27 +0200)]
ubi-utils: remove unneeded include
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 25 Jan 2008 09:22:00 +0000 (11:22 +0200)]
ubi-tools: fix compilation problems
It appears that older system do not expose __be32 and friends
to userspace, so use uint32_t and friends.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 25 Jan 2008 09:04:08 +0000 (11:04 +0200)]
ubi-tools: fix Makefile
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Thu, 24 Jan 2008 11:21:37 +0000 (13:21 +0200)]
ubinize: remove dead code
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Thu, 24 Jan 2008 11:17:24 +0000 (13:17 +0200)]
ubinize: add autoresize flag support
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Thu, 24 Jan 2008 10:00:02 +0000 (12:00 +0200)]
ubi-utils: check image file size in ubinize
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Thu, 24 Jan 2008 09:52:41 +0000 (11:52 +0200)]
ubi-utils: add ubinize documentation
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Wed, 23 Jan 2008 17:42:44 +0000 (19:42 +0200)]
ubi-utils: return old tools
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Wed, 23 Jan 2008 17:34:52 +0000 (19:34 +0200)]
ubi-utils: remove all old tools
Remove all old tools because I cannot maintain them and the original
authors do not seem to have time for this. Some of the tools do not
work properly, some are just vague and undocumented and seem to be
oriented to the environment of the IBM guys. Nevertheless, I'll
return the tool as is in the next commit, becouse they are still
useful.
This commit also adds a ubinize utility to generate UBI images.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Tue, 22 Jan 2008 14:02:52 +0000 (16:02 +0200)]
ubi-utils: massive changes
This commit basically removes most of the old ubi utilities
as they are barely maintainamble.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Tue, 22 Jan 2008 14:00:54 +0000 (16:00 +0200)]
ubi-utils: save more files
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Mon, 21 Jan 2008 09:20:21 +0000 (11:20 +0200)]
ubi-utils: save original files in sort-me-out
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 18 Jan 2008 18:05:00 +0000 (20:05 +0200)]
ubi-utils: tweak pfi2ubi
Make it not depend on pdd and pass flash-related parameters via
command line instead.
Make it look more like the other UBI utilities. It still needs some
more work.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 18 Jan 2008 18:03:16 +0000 (20:03 +0200)]
ubi-utils: save libubigen
I'm going to change libubigen so saving the old one in sort-me-out.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 18 Jan 2008 14:53:34 +0000 (16:53 +0200)]
ubi-utils: move ecclayouts.h to sort-me-out
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 18 Jan 2008 14:51:29 +0000 (16:51 +0200)]
ubi-utils: move more stuff to sort-me-out
Also remove error messages stuff from pfi2bin
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 18 Jan 2008 14:28:32 +0000 (16:28 +0200)]
ubi-utils: move pddcustomize to sort-me-out
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 18 Jan 2008 14:24:07 +0000 (16:24 +0200)]
ubi-utils: move pfiflash to sort-me-out
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 18 Jan 2008 14:05:46 +0000 (16:05 +0200)]
ubi-utils: move mkbootenv to sort-me-out
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy [Fri, 18 Jan 2008 12:34:14 +0000 (14:34 +0200)]
ubi-utils: create control device node as well
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>