ts-7000
[Top] [All Lists]

Re: [ts-7000] TS7250 - YAFFS or YAFFS2

To:
Subject: Re: [ts-7000] TS7250 - YAFFS or YAFFS2
From: "Eddie Dawydiuk" <>
Date: Tue, 14 Feb 2006 11:26:54 -0700 (MST)
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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU