Re: [Yaffs] compatibility between old and new yaffs

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Mark Whitney
Date:  
To: Andrea Gasparini
CC: yaffs
Subject: Re: [Yaffs] compatibility between old and new yaffs
On Thu, Jun 23, 2011 at 12:08, Andrea Gasparini <>wrote:

> Mark Whitney wrote, Thursday, June 23, 2011:
> > Thanks a lot for your help. Would it be helpful to look at a nanddump
> > of the partition written using old yaffs? I can also build the old
> > yaffs2 kernel with the additional trace msgs.
>
> oh, another thing: try to disable ecc_tags mounting it with -o tags-ecc-off
> (check it, don't recall correctly).
>


Thanks for the quick response. I had some success this time! My test file
did not did not disappear mounting with the new yaffs with tags-ecc-off:

root@homebase:~# mount -t yaffs2 -o tags-ecc-off /dev/mtdblock5 /mnt/card/
yaffs: dev is 32505861 name is "mtdblock5" rw
yaffs: passed flags "tags-ecc-off"
322 data (null) tags cedc7db0
194 data (null) tags cedc7db0
>yaffs: nandmtd2_read_chunk_tags chunk 1002 data (null) tags cedc7db0

el 0 ser 0 seq 4133
hused 1 obj 261 chunk168 byte 2048 del 0 ser 0 seq 4123
root@homebase:~# ls -/mnt/card/l/mnt/card/t/mnt/card/mnt/card/i/mnt/card/
/mnt/card//mnt/card/
      2 drwx------    1 root     root          2048 Jun 23 16:14 lost+found
    261 -rw-r--r--    1 root     root       3293184 Jun 23 16:12 testdata
root@homebase:~# cat /proc/yaffs
Multi-version YAFFS built:Jun 23 2011 10:32:11



Device 0 "system_a"
start_block.......... 0
end_block............ 785
total_bytes_per_chunk 2048
use_nand_ecc......... 1
no_tags_ecc.......... 1
is_yaffs2............ 1
inband_tags.......... 0
empty_lost_n_found... 1
disable_lazy_load.... 0
refresh_period....... 500
n_caches............. 10
n_reserved_blocks.... 5
always_check_erased.. 0

data_bytes_per_chunk. 2048
chunk_grp_bits....... 0
chunk_grp_size....... 1
n_erased_blocks...... 759
blocks_in_checkpt.... 0

n_tnodes............. 117
n_obj................ 5
n_free_chunks........ 48693

n_page_writes........ 67
n_page_reads......... 135
n_erasures........... 2
n_gc_copies.......... 66
all_gcs.............. 14
passive_gc_count..... 14
oldest_dirty_gc_count 0
n_gc_blocks.......... 1
bg_gcs............... 1
n_retired_writes..... 0
n_retired_blocks..... 0
n_ecc_fixed.......... 0
n_ecc_unfixed........ 0
n_tags_ecc_fixed..... 0
n_tags_ecc_unfixed... 0
cache_hits........... 0
n_deleted_files...... 0
n_unlinked_files..... 0
refresh_count........ 1
n_bg_deletions....... 0
tags_used............ 1664
summary_used......... 0
root@homebase:~#



> (don't CC-ing the list as i'm running home, sorry for the fast reply)
> bye
> --
> Andrea Gasparini
> ---- ImaVis S.r.l. ----
> web: www.imavis.com
>