Sorry James, wrong reply destination.
Well thx for all three quick answers! I'll answer your question to clear things up:
Peter
Barada: Unfortunately, our device NEEDS to be shutdown at any time, or
else we would simply had kept a sdcard ext3 filesystem. This is an
handheld device used by construction road workers outside and they need
to switch power source often. Also used by power source from cars, so I
can't send a "shutdown" every time the user turn the key.
Charles
Manning and James Kehl: Thanks for the information. We currently used
Debian-arm-etch (4.0) with kernel 2.6.21 so I probably don't have the
yaffs2 fix. I tried to install Debian Lenny armel eabi (5.0), but it
had troubles with drivers and such. Still, our version have sync
command, which I didn't know how to use until I read your message.
Problem is, even with a small test application who don't write at all,
it get invalidated. Is it the OS who does the writing. I just noticed I
can mount with a "-o sync" option, but it don't seems to work. I tried
calling sync manually before power down, no help. I tried "reboot" and
"shutdown now", it still takes 25sec to mount after. BUT, if I manually
umount the block, power off and on, it takes about 5sec instead, which
would be nice.
As
for repartitionning, I was asking if it's a good idea and how to do it.
From what I understand, YAFFS2 always takes the full amount of the
mtdblock, and the size of the block is determinated when loading the
nand driver, which I can't really modify. I guess this is a question I
should ask on my board mailing list instead of here.
What about ubifs? Would it be a better alternative in my current situation?
________________________________
De : James Kehl <
jamesk@edmi.com.au>
À : Charles Manning <
manningc2@actrix.gen.nz>;
yaffs@lists.aleph1.co.uk
Envoyé le : Jeu 4 février 2010, 19 h 39 min 33 s
Objet : Re: [Yaffs] Partition size and mounting time
> -----Original Message-----
> From: yaffs-bounces@lists.aleph1.co.uk [mailto:yaffs-
> bounces@lists.aleph1.co.uk] On Behalf Of Charles Manning
> Sent: Friday, 5 February 2010 7:54 AM
> To: yaffs@lists.aleph1.co.uk
> Subject: Re: [Yaffs] Partition size and mounting time
>
> 27 secs seems like quite a bit. See if you can get some more speed out
of
> your drivers.
>
Just as an aside, I believe there have been bugfixes in yaffs which
greatly reduced the amount of data my drivers had to return (i.e. there
used to be bugs which made my system need to read every single page
out). Something about deleting obsolete object headers, about a year
back.
J
_______________________________________________
yaffs mailing list
yaffs@lists.aleph1.co.uk
http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
Devenez un meilleur amigo grâce à Yahoo! Courriel
http://cf.promos.yahoo.com/courriel/visiteguidee2/