[U-Boot] [RFC/PATCH] jffs2/mtdparts: Fix problem with usage from JFFS2 and MTDPARTS together

Wolfgang Denk wd at denx.de
Sun May 17 19:25:07 CEST 2009


Dear Stefan,

on NOR fals systems with just a single bank of memory it seems to
work:

=> chpart  nor0,3
partition changed to nor0,3
=> fsinfo
### filesystem type is JFFS2
Scanning JFFS2 FS: . done.
Compression: NONE
        frag count: 25
        compressed sum: 0
        uncompressed sum: 0
Compression: ZERO
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: RTIME
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: RUBINMIPS
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: COPY
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: DYNRUBIN
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: ZLIB
        frag count: 719
        compressed sum: 1649162
        uncompressed sum: 2858640
=> ls
 -rwxr-xr-x    14296 Tue Apr 01 22:51:21 2008 false
 -rwxr-xr-x    83624 Tue Apr 01 22:52:22 2008 fgrep
 -rwx------   294912 Sun May 17 15:32:14 2009 gawk
 -rwxr-xr-x     5672 Fri Nov 21 12:32:02 2008 dmesg
 -rwxr-xr-x    10272 Tue Apr 01 22:57:28 2008 dnsdomainname
 -rwxr-xr-x     3596 Tue Apr 01 23:20:22 2008 doexec
 -rwxr-xr-x    10272 Tue Apr 01 22:57:28 2008 domainname
 -rwxr-xr-x    56972 Wed Apr 02 00:27:30 2008 dumpkeys
...


So we have:

- problems on NAND flash
- problems on systems with more than one bank NOR
- other storage media not tested yet


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Quote from a recent meeting:   "We are going to continue having these
meetings everyday until I find out why no work is getting done."


More information about the U-Boot mailing list