mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Gabriel Tisan <gabriel.tisan@gmail.com>
To: barebox@lists.infradead.org
Subject: UnCorrectable RS-ECC Error
Date: Tue, 12 Jun 2012 09:49:09 +0200	[thread overview]
Message-ID: <CAD9ZU8D0tcHKiqrgPf0oyhJjDsMDV3yNiRJM+NjiUf6AzHLaFQ@mail.gmail.com> (raw)

Hi !

I try to support a new flash from Micron(MT29F4G08ABAEA) with 4k page size,
64 pages per block and 224 oob on a custom board based on
freescale-mx35-3-stack.

I managed to run the barebox from RAM, flash is right detected, bbts are found,
but I get some errors "UnCorrectable RS-ECC Error" when I read from flash.
Do you have any suggestions ?

Here is the log together with some debug messages:
-------------------------------------------------------------------------------
barebox 2012.04.0-test-00050-gc9641e4-dirty (Jun 11 2012 - 17:38:08)
Board: mx35custom
found uid: 0x3277d9f2786b0022ff00ff00ff00ff00
mtd->writesize:4096, mtd->oobsize:224, mtd->erasesize:262144
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB
3,3V 8-bit)
host->eccsize:8 NFC_V1_V2_CONFIG1:0xA08
CCM_RCSR: 0x1AC00B00
NFC_V2_SPAS:0x6D
mtd->oobavail: 2547255511 chip->ecc.steps: 8 chip->ecc.total: 0

Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01

imx-ipu-fb@imx-ipu-fb0: i.MX Framebuffer driver

Malloc space: 0x86f00000 -> 0x87efffff (size 16 MB)
Stack space : 0x86ef8000 -> 0x86f00000 (size 32 kB)

UnCorrectable RS-ECC Error
...
UnCorrectable RS-ECC Error (comes 8 times in total)
mtd->ecc_stats.failed: 8, mtd->ecc_stats.corrected: 0
err -74

UnCorrectable RS-ECC Error
...
UnCorrectable RS-ECC Error (comes 136 times in total)
mtd->ecc_stats.failed: 144, mtd->ecc_stats.corrected: 0
err -74

wrong crc on env

no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
unable to read /env/splash.bmp

Hit any key to stop autoboot:  3 2 1 0
unable to read /env/splash.bmp
Unknown OS filetype (try -f)

uboot:/ cat /dev/env0

UnCorrectable RS-ECC Error
...
UnCorrectable RS-ECC Error (comes 8 times in total)
mtd->ecc_stats.failed: 152, mtd->ecc_stats.corrected: 0
err -74

uboot:/
-------------------------------------------------------------------------------

Thanks,
Gabriel

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

                 reply	other threads:[~2012-06-12  7:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAD9ZU8D0tcHKiqrgPf0oyhJjDsMDV3yNiRJM+NjiUf6AzHLaFQ@mail.gmail.com \
    --to=gabriel.tisan@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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