summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix recv_image compilation with new glibcoriginDavid Woodhouse2008-02-231-0/+1
| | | | struct ip_mreq is hidden behind __USE_MISC now
* properly install files on the packageOtavio Salvador2008-02-232-1/+1
|
* add liblzo2-dev as build-dependencyOtavio Salvador2008-02-221-1/+1
|
* add myself as uploaderOtavio Salvador2008-02-221-0/+1
|
* change source and binary packages to mtd-utils, following upstreamOtavio Salvador2008-02-221-3/+5
|
* import debian/ from 20061007-1 packageOtavio Salvador2008-02-226-0/+164
|
* ubi-utils: pddcustomize fixup update volumeFrank Haverkamp2008-02-222-7/+14
| | | | | | | 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>
* ubi-utils: Fixup Makefile for new version of the toolsFrank Haverkamp2008-02-211-11/+11
| | | | | | | | 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>
* ubi-tools: sanify old and new tools a bitArtem Bityutskiy2008-02-2016-1128/+164
| | | | | | | 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>
* ubi-nize: fix output messagesArtem Bityutskiy2008-02-191-3/+4
| | | | | | | 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>
* Remove redundant testsArtem Bityutskiy2008-02-1915-3532/+0
| | | | | | | | 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>
* Revert ubi-tools changesArtem Bityutskiy2008-02-19121-3543/+7314
| | | | | | | | | | 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>
* Fix error message printingArtem Bityutskiy2008-02-162-2/+2
| | | | | | | | | | 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>
* ubinize: bugfix in parsing image size stringArtem Bityutskiy2008-02-161-1/+1
| | | | | | | This is a copy-paste problem: copied, but forgot to change the argument. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* Add load_nandsim.sh scriptArtem Bityutskiy2008-02-081-0/+123
| | | | | | | 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>
* ubi-tools: improve printing macrosArtem Bityutskiy2008-02-0613-535/+295
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubimkvol: slightly amend printingArtem Bityutskiy2008-02-061-2/+2
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* mtd_debug: support new flagsArtem Bityutskiy2008-02-042-0/+5
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* libubi: fix sysfs direntries scanningArtem Bityutskiy2008-02-011-34/+18
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-tools: fix ubinizeAdrian Hunter2008-02-011-0/+5
| | | | | | | | 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>
* ubi-utils: use mtd_swab.hArtem Bityutskiy2008-01-259-125/+129
| | | | | | Do not relay on asm/byteorder and use mtd_swab.h instead Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* libubi: fix commentArtem Bityutskiy2008-01-251-1/+1
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* libubi: support atomic LEB change ioctlArtem Bityutskiy2008-01-254-28/+98
| | | | | | And add testing for this feature. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-tests: stylistic amendmentsArtem Bityutskiy2008-01-259-520/+492
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-tests: improve io_updateArtem Bityutskiy2008-01-251-185/+74
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: use macros not hardcoded constantsArtem Bityutskiy2008-01-251-4/+5
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: remove unneeded includeArtem Bityutskiy2008-01-251-1/+0
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-tools: fix compilation problemsArtem Bityutskiy2008-01-257-49/+95
| | | | | | | 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>
* ubi-tools: fix MakefileArtem Bityutskiy2008-01-251-1/+1
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubinize: remove dead codeArtem Bityutskiy2008-01-241-30/+0
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubinize: add autoresize flag supportArtem Bityutskiy2008-01-243-10/+29
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: check image file size in ubinizeArtem Bityutskiy2008-01-241-0/+10
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: add ubinize documentationArtem Bityutskiy2008-01-242-5/+37
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: return old toolsArtem Bityutskiy2008-01-2365-3/+16171
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: remove all old toolsArtem Bityutskiy2008-01-2381-17713/+2312
| | | | | | | | | | | | | 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>
* ubi-utils: massive changesArtem Bityutskiy2008-01-2221-2341/+1261
| | | | | | | This commit basically removes most of the old ubi utilities as they are barely maintainamble. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: save more filesArtem Bityutskiy2008-01-2210-0/+3063
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: save original files in sort-me-outArtem Bityutskiy2008-01-219-0/+1709
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: tweak pfi2ubiArtem Bityutskiy2008-01-183-298/+301
| | | | | | | | | | 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>
* ubi-utils: save libubigenArtem Bityutskiy2008-01-183-1/+492
| | | | | | I'm going to change libubigen so saving the old one in sort-me-out. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: move ecclayouts.h to sort-me-outArtem Bityutskiy2008-01-181-0/+0
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: move more stuff to sort-me-outArtem Bityutskiy2008-01-189-38/+34
| | | | | | Also remove error messages stuff from pfi2bin Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: move pddcustomize to sort-me-outArtem Bityutskiy2008-01-183-8/+5
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: move pfiflash to sort-me-outArtem Bityutskiy2008-01-184-5/+6
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: move mkbootenv to sort-me-outArtem Bityutskiy2008-01-183-4/+4
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: create control device node as wellArtem Bityutskiy2008-01-181-1/+13
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: move various stuff to sort-me-outArtem Bityutskiy2008-01-1821-32/+45
| | | | Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: tweak mkpfiArtem Bityutskiy2008-01-181-84/+69
|
* ubi-tools: move ubigen to sort-me-outArtem Bityutskiy2008-01-183-4/+5
| | | | | | This tool is not really needed and is unused. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
* ubi-utils: tweak ubigenArtem Bityutskiy2008-01-182-279/+239
| | | | | | Make ubigen consistent with other UBI utilities Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>