public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] gpmi-nand driver and jffs2 support
Date: Thu, 19 Sep 2013 19:20:53 +0200	[thread overview]
Message-ID: <201309191920.53621.marex@denx.de> (raw)
In-Reply-To: <523B22D6.8050303@digi.com>

Dear Hector Palacios,

> On 09/19/2013 06:07 PM, Marek Vasut wrote:
> > Dear Huang Shijie,
> > 
> > Sorry, I think I got lost in the discussion. I will pull out.
> > 
> > btw Hector, I managed to verify JFFS2 mounting doesn't work on 3.10 , now
> > I'm trying to backport patches from -next and apply the GPMI NAND
> > patchset, without much luck yet.
> 
> Oops, sorry, did you mean you were trying to backport them into U-Boot?
> Then please disregards my previous message.

After applying the batch of patches, this is what I get. Interestingly enough, 
this JFFS2 was written from FSL 2.6.35 kernel.

[   24.118091] jffs2: mtd->read(0x100 bytes from 0x0) returned ECC error
[   24.164458] jffs2: mtd->read(0x1fa34 bytes from 0x5cc) returned ECC error
[   24.171377] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x000005cc: 0x7953 i
nstead
[   24.180969] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x000005d0: 0xe837 i
nstead
[   24.190675] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x000005d8: 0x85ff i
nstead
[   24.200274] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x000005dc: 0xcde0 i
nstead
[   24.209853] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x000005e0: 0x7000 i
nstead
[   24.219428] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x000005e4: 0x020f i
nstead
[   24.229000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x000005e8: 0x0200 i
nstead
[   24.238570] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x000005ec: 0x2400 i
nstead
[   24.248142] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x000005f4: 0xa400 i
nstead
[   24.257645] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00000608: 0xacc8 i
nstead
[   24.267191] jffs2: Further such events for this erase block will not be 
printed
[   24.275419] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x000021c8: 
Read 0x00000000, cal
culated 0xd5be0e0f
[   24.287221] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x000049d4: 
Read 0xd1f00000, cal
culated 0x34cb9a56
[   24.300900] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x0000b9c0: 
Read 0x7fd74190, cal                                                                       
culated 0xfdbc37a5                                                                                                                                                          
[   24.312171] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x0000d1f4: 
Read 0x16600000, cal                                                                       
culated 0x00cb3014                                                                                                                                                          
[   24.326509] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x000161d4: 
Read 0x9a500000, cal                                                                       
culated 0xcd68c7e3                                                                                                                                                          
[   24.338761] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x0001a1e4: 
Read 0x14500000, cal                                                                       
culated 0xa3e78a6c                                                                                                                                                          
[   24.352739] jffs2: mtd->read(0xc28 bytes from 0x1f3d8) returned ECC error                                                                                                
[   24.359661] jffs2: Empty flash at 0x0001f3d4 ends at 0x0001f400                                                                                                          
[   24.366953] jffs2: mtd->read(0xbec bytes from 0x1f414) returned ECC error                                                                                                
[   24.374053] jffs2: Empty flash at 0x0001f410 ends at 0x0001f604                                                                                                          
[   24.381408] jffs2: mtd->read(0x9e8 bytes from 0x1f618) returned ECC error                                                                                                
[   24.388450] jffs2: Empty flash at 0x0001f614 ends at 0x0001fa00                                                                                                          
[   24.395141] jffs2: mtd->read(0x5f4 bytes from 0x1fa0c) returned ECC error                                                                                                
[   24.402059] jffs2: Empty flash at 0x0001fa08 ends at 0x0001fc00                                                                                                          
[   24.408794] jffs2: mtd->read(0x3ec bytes from 0x1fc14) returned ECC error
[   24.415615] jffs2: Empty flash at 0x0001fc10 ends at 0x0001fca8
[   24.422351] jffs2: mtd->read(0x350 bytes from 0x1fcb0) returned ECC error
[   24.429262] jffs2: Empty flash at 0x0001fcac ends at 0x0001fe04
[   24.435930] jffs2: mtd->read(0x1e8 bytes from 0x1fe18) returned ECC error
[   24.443789] jffs2: mtd->read(0x100 bytes from 0x20000) returned ECC error
[   24.491452] jffs2: mtd->read(0x1f964 bytes from 0x2069c) returned ECC error

Best regards,
Marek Vasut

  parent reply	other threads:[~2013-09-19 17:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <522062B4.4080709@digi.com>
     [not found] ` <52206C05.8020701@freescale.com>
     [not found]   ` <5220AB35.9080409@digi.com>
     [not found]     ` <20130831025344.GA9971@gmail.com>
     [not found]       ` <5220B8F6.3080405@digi.com>
     [not found]         ` <20130831033438.GA13704@gmail.com>
     [not found]           ` <5220C8C4.5010305@digi.com>
     [not found]             ` <CAOMZO5CTQZBmvQc4y761kGHWYWRXr7GwVrTuTPE+JU=bmjq62w@mail.gmail.com>
     [not found]               ` <5220CB56.7040505@digi.com>
     [not found]                 ` <20130831133728.GA22069@gmail.com>
     [not found]                   ` <52244886.8060205@digi.com>
     [not found]                     ` <52244B22.3020605@freescale.com>
     [not found]                       ` <52244F85.4030904@digi.com>
     [not found]                         ` <52245171.3050900@freescale.com>
2013-09-02 10:10                           ` [U-Boot] gpmi-nand driver and jffs2 support Hector Palacios
2013-09-02 10:23                             ` Huang Shijie
2013-09-02 11:32                               ` Marek Vasut
2013-09-03  2:06                                 ` Huang Shijie
2013-09-03 11:53                                   ` Marek Vasut
2013-09-04  2:26                                     ` Huang Shijie
2013-09-04 14:00                                       ` Marek Vasut
2013-09-05  2:41                                         ` Huang Shijie
2013-09-04 14:38                                           ` Marek Vasut
2013-09-04 15:46                                             ` Hector Palacios
2013-09-05  6:01                                               ` Huang Shijie
2013-09-15 14:18                                                 ` Marek Vasut
2013-09-16  2:35                                                   ` Huang Shijie
2013-09-19 16:07                                                     ` Marek Vasut
2013-09-19 16:13                                                       ` Hector Palacios
2013-09-19 16:14                                                       ` Hector Palacios
2013-09-19 16:16                                                         ` Marek Vasut
2013-09-19 17:20                                                         ` Marek Vasut [this message]
2013-09-15 14:12                                               ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201309191920.53621.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox