Skip to contentSkip to conversation

yaffs2 image

DISCUSSION Mete Kart 2 participants 2 messages May 7, 2007 Memory technology devices (MTD)

lore
Share & tools
lore

Mete Kart

author
#0 lore raw

Hi,

I have a problem with creating YAFFS2 image on linux system.
On my debian-linux with kernel 2.6.11.7 I have the following tool: "mkyaffs2image"
I use this tool and create an image but this tool does not get any variable such as page size or erase size. Anyway I have a large page size NAND flash and after creating the image, "nandwrite" gives an error: "wrong page size". How can I create an YAFFS2 image according to my desired (large page) conditions?

Thanks.

Note: I have succesfully create and write JFFS2 file system to my large page NAND flash. I create JFFS2 file system with mkfs.jffs2 command.

#1 lore raw
Quoted 11 lines · Mete Kart

Hi,

I have a problem with creating YAFFS2 image on linux system. On my debian-linux with kernel 2.6.11.7 I have the following tool:
"mkyaffs2image"
I use this tool and create an image but this tool does not get any variable such as page size or erase size.
Anyway I have a large page size NAND flash and after creating the image, "nandwrite" gives an error: "wrong page size".
How can I create an YAFFS2 image according to my desired (large page) conditions?

You should ask on the YAFFS mailing list. Someone on this list might know, but you'll have much better luck on the YAFFS list I think.

josh