summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-15Add fs-tests from Adrian HunterAdrian Hunter
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2007-03-15MTD-Utils: fix handling of ioctl return value in nand-utilsFrank Haverkamp
Older kernel do not implement the MTDFILEMODE ioctl. In this case nandwrite and nanddump should have used MEMGETOOBSEL in combination with MEMSETOOBSEL. Unfortunately the return value of the unsucessfull ioctl is not -ENOTTY, but -1 and errno contains ENOTTY. This change fixes this issue. I have not tested all cornercases. Would be good if someone could do more careful testing than I did, or maybe reviewing is sufficient in this case. Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com> Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2007-03-15Update header file to latest MTD ABI and fix mtd_debug to work properlyJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2007-02-09Add feature removal schedule fileJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2007-02-08[MTD] Utils: Add 1KB page & 32 bytes spare NANDKyungmin Park
Some OneNAND chips use this spec. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-12-05nanddump.c: fix up long_optionsTimo Lindhorst
Add the missing long option '--file'. From: Timo Lindhorst <lindhors@linux.vnet.ibm.com> Signed-off-by: Timo Lindhorst <lindhors@linux.vnet.ibm.com> Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-11-15Patch from KaiGai Kohei to enable building without xattr supportKaiGai Kohei
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-10-09Fixup whitespaceJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-09-18Report compressed file sizes (including node headers) in mkfs.jffs2 stats.Daniel P. Berrange
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-08-07Add xseqno into jffs2_raw_xref on mkfs.jffs2KaiGai Kohei
Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com> Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-08-03Add patch from David Byron for separating source and build directoriesDavid Byron
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-06-21Added 64-bit swapping functionsJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-06-21Fix swab32 to use standard typesJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-06-14Remove crufty autocrap MakefileJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-05-30Update yet again to latest mtd-abi.h from kernel tree. And fix mtd_debug.c.Josh Boyer
Again. Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-05-30Add .gitignore fileThomas Gleixner
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2006-05-30Update mtd-abi.h and use new NAND ECC functionalityThomas Gleixner
The NAND rework exposes more information to userspace and has a different mechanism to read raw FLASH contents without ECC. Update nanddump and nandwrite. Use the new ECC statistics ioctl to inform the user about corrected and uncorrectable bitflips. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2006-05-29Update user headers from latest kernel treeJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-05-27Fix mtd_debug for new upstream mtd-abi.hJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-05-27Merge git://git.infradead.org/users/joern/utilsJosh Boyer
2006-05-27Update mtd-abi.h from upstream kernel.Josh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-05-23s/oobblock/writesize/gJoern Engel
Follow the kernel in the rename. Signed-off-by: Joern Engel <joern@wh.fh-wedel.de>
2006-05-17Need to include stdint.h to use standard typesJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-05-17Switch to using standard types. This is userspace, not kernel.Josh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-05-17Remove ancient filesystem tool that never went anywhereJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-05-16Consolidate the swab macros into one locationJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-05-14MTD Utils. (Resubmit as attachment)Steve Finney
Modify nanddump to take a '-n' argument for reading without error correction; also accept hex (and octal) for start and length. Signed-off-by: Steven Finney (sfinney@healthhero.com)
2006-05-14MTD Utils. (Resubmit as attachment)Steve Finney
Modify nandwrite to accept hex argument for "-s" argument; also make an error message more accurate. Signed-off-by: Steven Finney <sfinney@healthhero.com>
2006-05-14MTD Utils. (Resubmit as attachment)Steve Finney
Add a basic usage message to flash_erase.c. Signed-off-by: Steven Finney <sfinney@healthhero.com>
2006-05-14Remove XATTR struct typedefsDavid Woodhouse
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-05-06Add XATTR support to mkfs.jffs2David Woodhouse
Since this is optional, it might as well go in immediately.
2006-05-01Add GPL license textJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-04-30Fix make installv1.0.0David Woodhouse
2006-04-22Fix mtd_debug after removal of some MTD types and flagsJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-04-17Update ABI header with latest changes from kernelJosh Boyer
Signed-off-by: Josh Boyer <jwboyer@yoda.jdub.homelinux.org>
2006-04-11Fix cbuf free properly.David Woodhouse
Noted by Dan Berrange. Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-04-11Fix memory leak in write_regular_file()David Woodhouse
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-04-11- Update utils to build from in tree include filesJosh Boyer
- Revert any ebh stuff for now Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-04-11Add include directory to new mtd-utils repo. This contains all the user spaceJosh Boyer
include files needed for the utils Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2006-04-11Initial commitDavid Woodhouse