From: Josh Wu <josh.wu@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] NAND Flash with Internal Hardware ECC
Date: Fri, 27 Mar 2015 10:52:29 +0800 [thread overview]
Message-ID: <5514C5ED.1040004@atmel.com> (raw)
In-Reply-To: <D13977B3.1FCCE%rajivd@disignconsultants.com>
Hello, Dave
On 3/26/2015 4:45 PM, Rajiv Dave wrote:
> Hi,
>
> We are using an Atmel AT91SAM9263 processor which supports 1 Bit ECC flash
> devices that have Block 0 Valid with no ECC. These devices are now obsolete.
>
> We have fitted a board with a MT29F2G08ABAEWP-E-E, which has an internal
> Hardware ECC engine. Would you know how provide support for this device
> within U-Boot?
As your flash have internal ecc, you should disable the AT91SAM9263 ecc.
it means you need to set the nand->ecc.mode to NAME_ECC_NONE
in the U-Boot if you already enabled internal Hardware ECC.
Best Regards,
Josh Wu
>
> The following output is generated by a board fitted with the NAND Flash with
> Internal Hardware ECC
>
> RomBOOT
>
> U-Boot 1.3.4 (Sep 19 2013 - 15:10:38)
>
> DRAM: 64 MB
> NAND: 256 MiB
> No Valid Environment Area Found
> In: serial
> Out: serial
> Err: serial
> Net: macb0
> macb0: Starting autonegotiation...
> macb0: Autonegotiation timed out (status=0x7849)
> macb0: link down (status: 0x7849)
> Hit any key to stop autoboot: 3 \b\b\b 2 \b\b\b 1 \b\b\b 0
>
> NAND read: device 0 offset 0x200000, size 0x17e16c
> 1565036 bytes read: ERROR
> ## Booting kernel from Legacy Image at 22200000 ...
> Image Name: Linux-2.6.30
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 1564972 Bytes = 1.5 MB
> Load Address: 20008000
> Entry Point: 20008000
> Verifying Checksum ... Bad Data CRC
> ERROR: can't get kernel image!
> U-Boot>
>
> Regards
>
> Rajiv Dave
>
> Disign Consultants
> t: +44 (0) 207 544 8486
> w: www.disignconsultants.com
>
> This message and any attachment are confidential and may be privileged or
> otherwise protected from disclosure. If you are not the intended recipient,
> please telephone or email the sender and delete this message and any
> attachment from your system. If you are not the intended recipient you must
> not copy this message or attachment or disclose the contents to any other
> person.
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
next prev parent reply other threads:[~2015-03-27 2:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-26 8:45 [U-Boot] NAND Flash with Internal Hardware ECC Rajiv Dave
2015-03-27 2:52 ` Josh Wu [this message]
2015-03-27 12:41 ` Rajiv Dave
2015-03-30 1:42 ` Josh Wu
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=5514C5ED.1040004@atmel.com \
--to=josh.wu@atmel.com \
--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