summaryrefslogtreecommitdiff
path: root/ubi-utils/perl/f128_nand_sample.cfg
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2008-08-25 21:09:51 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-08-26 10:52:18 +0300
commitb6a0dcf2591e809e929ba60aec72288c7b301356 (patch)
treedfc5e59693c2c872363cdbcf1de8a59dd50af783 /ubi-utils/perl/f128_nand_sample.cfg
parentf49af470bccb6097088e6542931530b7f305ac0b (diff)
ubi-utils: allow 'ubiformat' to read from stdin
This patch allows to read the image from stdin and adds an '--image-size' option to specify its size. 'upiupdatevol' has this feature already and it is useful for 'ubiformat' too. It adds a read_all() function which reads a block of data. Plain 'read(2)' can fail on nc -l -p 1234 | ubiformat -f - -S 25427968 else. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/perl/f128_nand_sample.cfg')
0 files changed, 0 insertions, 0 deletions