Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - NAND ETFS -C2 option: (3 Items)
   
NAND ETFS -C2 option  
We have implemented the ETFS on 2k NAND flash. It seems to work OK using the command line of etfs -r 12800 -C0 -e 
(reserve 12800 kB for boot image, no error checking, erase & format), but if -C2 is used (full error checking), we get 
the message 'etfs: No filesystem detected. Entering stopped mode.' Doing a ls of /fs/etfs gives error of 'ls: Resource 
busy (/fs/etfs)'

Have tried using etfsctl -c to resume and get 'Error status on option 'c' : Corrupted file system detected'

Tried: etfsctl -d /dev/etfs2 -f, and get no error message, but ls still does not work.

Am I doing something wrong? Or missing something?
RE: NAND ETFS -C2 option  
Todd,

Just to be clear, when you change from -C0 to -C2, you are erasing and
formatting the filesystem again?

David 

> -----Original Message-----
> From: Todd Peterson [mailto:community-noreply@qnx.com] 
> Sent: July 8, 2009 10:29 AM
> To: general-filesystems
> Subject: NAND ETFS -C2 option
> 
> We have implemented the ETFS on 2k NAND flash. It seems to 
> work OK using the command line of etfs -r 12800 -C0 -e 
> (reserve 12800 kB for boot image, no error checking, erase & 
> format), but if -C2 is used (full error checking), we get
 the 
> message 'etfs: No filesystem detected. Entering stopped 
> mode.' Doing a ls of /fs/etfs gives error of 'ls: Resource 
> busy (/fs/etfs)'
> 
> Have tried using etfsctl -c to resume and get 'Error status 
> on option 'c' : Corrupted file system detected'
> 
> Tried: etfsctl -d /dev/etfs2 -f, and get no error message, 
> but ls still does not work.
> 
> Am I doing something wrong? Or missing something?
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post33396
> 
> 
Re: RE: NAND ETFS -C2 option  
yes, I use the command:

etfs -r 12800 -C2 -e

which should erase and format. i've attached a file of what the 1st sector of the 1st 2 blocks to be erased/formatted 
(0x1900 & 0x1940) after the command completes.

Thanks,
Todd

Attachment: Text sector0x1900.txt 12.67 KB