summaryrefslogtreecommitdiff
path: root/fec.c
diff options
context:
space:
mode:
authorStanley.Miao <stanley.miao@windriver.com>2010-05-18 20:23:09 +0800
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-05-22 08:36:48 +0300
commitf0d12d2079b8b2ea667073a6bcd603765466dc58 (patch)
tree0e375f4a4dba2542ebba8719b310ba4a8f74af2f /fec.c
parent9afc1cd5c0b1e56cdd8192aadb68104aae30ae89 (diff)
nandwrite: fix the bug of writing a yaffs2 image to NAND
The tool mkyaffs2image doesn't know the oob layout of a NAND flash, so it puts the yaffs2 tags at the offset 0 of oob area, as a result, the image generated by mkyaffs2image is different with the image dumped by nanddump. Now adding a parameter "-r" for nandwrite to differentiate these images. Write a image generated by mkyaffs2image: $> nandwrite -a -o /dev/mtd3 yaffs2.bin Write a image dumped by nanddump: $> nandwrite -a -r /dev/mtd3 image.bin Signed-off-by: Stanley.Miao <stanley.miao@windriver.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fec.c')
0 files changed, 0 insertions, 0 deletions