summaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src
AgeCommit message (Collapse)Author
2008-06-27ubiupdate: support reading from stdioHamish Moffatt
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>
2008-06-25ubiformat: reverse question about vid offset changeBernard Blackham
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>
2008-05-29ubi-utils: fix typo in ubiformatArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-05-16ubi-utils: remove unnecessary ubinize warningArtem Bityutskiy
... and fix help message. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-05-13ubi-utils: fixe ubiupdatevolArtem Bityutskiy
-t option does not require image file. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-23ubi-utils: fix long optionsArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-23ubi-utils: make sure only one volume is auto-resizeArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-23ubi-utils: improve input parameters checksArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-23mtd-utils: fix input parameter checksArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-21ubi-utils: fix percent output in ubiformatArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-21ubi-utils: fix the output printArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-20ubi-utils: improve input parameters checksArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-20ubi-utils: add ubiformatArtem Bityutskiy
A new utility to erase MTD devices and flash UBI images, while preserving erase counters Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-20ubi-utils: add libscanArtem Bityutskiy
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>
2008-04-20ubi-utils: add libmtdArtem Bityutskiy
Just collection of functions to make it easier to work with MTD devices. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-20ubi-utils: various clean-ups and preparationsArtem Bityutskiy
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>
2008-04-17ubi-utils: use common.h in libubiArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-17Teach libubi_open not to prirnt error messageArtem Bityutskiy
... when it is expected that UBI is not necessarily present Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-16ubinize: correctly calculate VID offset when min I/O unit is 1Artem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-07ubi-utils: fix a typoArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-04-02ubi-utils: fix printing typosArtem Bityutskiy
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-03-27ubi-utils: fix wrong variable printoutZoltan Sogor
Signed-off-by: Zoltan Sogor <weth@inf.u-szeged.hu> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-03-27ubi-utils: don't use argp.hHamish Moffatt
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>
2008-02-20ubi-tools: sanify old and new tools a bitArtem Bityutskiy
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>
2008-02-19ubi-nize: fix output messagesArtem Bityutskiy
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>
2008-02-19Revert ubi-tools changesArtem Bityutskiy
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>