Hello,
> I am having toruble figuring out if the TS7250 uses the YAFFS or
> YAFFS2. The users manual says YAFFS2, but I can't find any reference
> to YAFFS2 in the kernel tree you can download. Also if search this
> site, I only find 3 references to YAFFS2 (30 for YAFFS).
>
> Can someone letme know which it uses.
The short answer is you can cat /proc/yaffs, if you see “isYaffs2...........
1”
then you have Yaffs2, if you don't then you have Yaffs1. The example below
shows a TS-7250 that is using Yaffs2. A longer explanation follows the
example...
ie
$ cat /proc/yaffs
YAFFS built:Feb 13 2006 16:01:57
$Id: yaffs_fs.c,v 1.1 2006/02/09 21:08:29 michael Exp $
$Id: yaffs_guts.c,v 1.1 2006/02/09 21:08:29 michael Exp $
Device 0 "Linux"
startBlock......... 0
endBlock........... 999
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 914
nTnodesCreated..... 500
nFreeTnodes........ 79
nObjectsCreated.... 600
nFreeObjects....... 134
nFreeChunks........ 59842
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 3
nDeletedFiles...... 2
nUnlinkedFiles..... 46
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1
We originally designed the TS-7250 to use NAND flash with 512 byte pages.
We offered a 32 MB and 128 MB model. We used Yaffs1 as our filesystem.
Recently the 128MB NAND flash with 512 byte pages were discontinued. We
strive to never discontinue a product, so we moved to 128 MB NAND flash
with 2k page sizes. Yaffs1 doesn't support 2k page sizes, so we ported
Yaffs2 to the TS-7250. Last Friday(Feb 10) was the first shipment of 128 MB
TS-7250s with Yaffs2. Currently all TS-7250s with 32 MB of flash are still
using Yaffs1...
//Eddie
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|