<br><font size=2 face="sans-serif">Thanks all for the answers. Sorry, but
I've not done full check of a problem and my previous description was wrong.
Let me describe it again.</font>
<br>
<br><font size=2 face="sans-serif">The problem is that I have only something
like 256 Kb on mtd partition after mounting procedure. So I can only copy
file (or files) which total size less then 256Kb. In a case if the size
will be more then 256Kb it write only the first part of the file and say
"Operation not permitted". If I try to copy any more file it
says "Couldn't allocate the memory".</font>
<br>
<br><font size=2 face="sans-serif">I've 128 MB devise, and mtd when it
starts booting says something like: </font>
<br>
<br><font size=2 face="sans-serif">0x00000000-0x00200000 : "MSP boot
partition"</font>
<br><font size=2 face="sans-serif">0x00200000-0x00400000 : "Linux
boot partition"</font>
<br><font size=2 face="sans-serif">0x00400000-0x03600000 : "Comcerto
Filesystem partition"</font>
<br><font size=2 face="sans-serif">0x03600000-0x06800000 : "Comcerto
Filesystem partition2"</font>
<br>
<br><font size=2 face="sans-serif">As I see from this table I should have
something like 52Mb for mtd3 and mtd2.</font>
<br>
<br><font size=2 face="sans-serif">Here is my partition structure which
was ok for first version of yaffs.</font>
<br>
<br><font size=2 face="sans-serif">static struct mtd_partition partition_info128M[]
= {</font>
<br><font size=2 face="sans-serif"> { name:
"MSP boot partition",</font>
<br><font size=2 face="sans-serif"> offset:
0,</font>
<br><font size=2 face="sans-serif"> size:
2*SZ_1M,</font>
<br><font size=2 face="sans-serif"> mask_flags:
0},</font>
<br><font size=2 face="sans-serif"> { name:
"Linux boot partition",</font>
<br><font size=2 face="sans-serif"> offset:
MTDPART_OFS_APPEND,</font>
<br><font size=2 face="sans-serif"> size:
2*SZ_1M ,</font>
<br><font size=2 face="sans-serif"> mask_flags:
0},</font>
<br><font size=2 face="sans-serif"> { name:
"Comcerto Filesystem partition",</font>
<br><font size=2 face="sans-serif"> offset:
MTDPART_OFS_APPEND,</font>
<br><font size=2 face="sans-serif"> size:
50*SZ_1M ,</font>
<br><font size=2 face="sans-serif"> mask_flags:
0},</font>
<br><font size=2 face="sans-serif"> {
name: "Comcerto Filesystem partition2",</font>
<br><font size=2 face="sans-serif"> offset:
MTDPART_OFS_APPEND,</font>
<br><font size=2 face="sans-serif"> size:
50*SZ_1M ,</font>
<br><font size=2 face="sans-serif"> mask_flags:
0}</font>
<br><font size=2 face="sans-serif">};</font>
<br>
<br><font size=2 face="sans-serif">Thank you,</font>
<br><font size=2 face="sans-serif"> Yuri
Golovach</font>
<br>
<br>