diff options
author | Stanley.Miao <stanley.miao@windriver.com> | 2010-05-18 20:23:09 +0800 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-05-22 08:36:48 +0300 |
commit | f0d12d2079b8b2ea667073a6bcd603765466dc58 (patch) | |
tree | 0e375f4a4dba2542ebba8719b310ba4a8f74af2f /feature-removal-schedule.txt | |
parent | 9afc1cd5c0b1e56cdd8192aadb68104aae30ae89 (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 'feature-removal-schedule.txt')
0 files changed, 0 insertions, 0 deletions