diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-08 20:03:14 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-07-01 09:00:49 +0300 |
commit | e77565ee458a7d6863f8434a97156a66547f2b98 (patch) | |
tree | 4e489b84a56ead1b87ecf33a0d959de53a23869f /include | |
parent | 6d17edd24cfcf3595a7f302d70afcfaebfb45629 (diff) |
nandwrite: add --input-{skip,size} options
If you have a file image and want to copy sub-portions out and into
NAND, there's no easy way to do that. You can use dd to extract it
to a temp file, or pipe it to nandwrite 1 page at a time. Both suck.
Add two new flags to explicitly set the size and offset of the input
file. Seeking stdin isn't currently supported as I'm not sure it's
necessary. It wouldn't be hard to add though...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions