to Nick
>what does /proc/yaffs say?
this is the output of my /proc/yaffs
# cat /proc/yaffs
YAFFS built:Oct 5 2004 10:04:10
$Id: yaffs_fs.c,v 1.32 2003/10/29 20:42:34 charles Exp $
$Id: yaffs_guts.c,v 1.34 2004/06/08 08:47:55 charles Exp $
Device yaffs
startBlock......... 1
endBlock........... 2174
chunkGroupBits..... 1
chunkGroupSize..... 2
nErasedBlocks...... 6
nTnodesCreated..... 0
nFreeTnodes........ 0
nObjectsCreated.... 100
nFreeObjects....... 97
nFreeChunks........ 192
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 6
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
#
>How big is the mtd partition in the boot messages?
# cat /proc/mtd
dev: size erasesize name
mtd0: 04000000 00004000 "BON"
mtd1: 021fc000 00004000 "mtd"
Thanks
-----Original Message-----
From: Nick Bane [
mailto:nick@cecomputing.co.uk]
Sent: Tuesday, October 05, 2004 11:31 AM
To: Pesce Gianfranco;
yaffs@stoneboat.aleph1.co.uk
Subject: RE: [Yaffs] I: yaffs - file system on ARM
Pesce
Could you use plain text? It makes replying much easier.
what does /proc/yaffs say?
If its all used it may be that it isn't all erased ot being accessed
correctly.
How big is the mtd partition in the boot messages?
Nick
-----Original Message-----
From:
yaffs-admin@stoneboat.aleph1.co.uk
[
mailto:yaffs-admin@stoneboat.aleph1.co.uk]On Behalf Of Pesce Gianfranco
Sent: 05 October 2004 10:01
To: '
yaffs@stoneboat.aleph1.co.uk'
Subject: [Yaffs] I: yaffs - file system on ARM
Sorry , more informations
I am using a NAND flash Samsung K9D1208V0M
-----Messaggio originale-----
Da: Pesce Gianfranco
Inviato: martedì 5 ottobre 2004 10.56
A: 'yaffs@stoneboat.aleph1.co.uk'
Oggetto: yaffs - file system on ARM
Hi ,
I am using an ARM machine with 2.4.18 kernel
I want to use yaffs , the file system is mounted , but when I try to do any
operation , as mkdir or cp , I get the message
"cannot allocate memory" and the command df says 100% used for
/dev/mtdblock/1
Any help will be appreciated
--------------------------------------------------------------
GENERALE ELETTRONICA e AUTOMAZIONE S.r.l.
Via Renata Bianchi 40 - 16152 GENOVA (ITALY)
Tel.: +39 010 65966.1
Fax: +39 010 65966.311
http://www.gea-automotive.com <
http://www.gea-automotive.com> ;
E-mail:
mailbox@gea-automotive.com
Ing. Gianfranco Pesce
APPLICATION DEVELOPMENT DEPT.
Project Engineer
Tel. +39.010.659.66.507
E-mail:
pesceg@gea-automotive.com
--------------------------------------------------------------