From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ppc4xx: Add "ecctest" command to test/simulate ECC errors
Date: Fri, 23 Jul 2010 10:17:46 +0200 [thread overview]
Message-ID: <201007231017.46913.sr@denx.de> (raw)
In-Reply-To: <1279731970-15903-1-git-send-email-sr@denx.de>
On Wednesday 21 July 2010 19:06:10 Stefan Roese wrote:
> This patch adds the "ecctest" command to test and simulate ECC errors
> (single bit and/or double bit) while running from SDRAM. Currently only
> the IBM DDR2 controller is supported (405EX, 440SP(e), 460EX/GT).
>
> This is done by copying and calling functions, modifying the SDRAM
> controller operation mode, in internal SRAM/OCM.
>
> For correctable ECC errors (single bit) only the status will be printed
> since the DDR2 controller doesn't provide the faulting address:
>
> => ecctest 1000000 1
> Using address 01000000 for 1 bit ECC error injection
> ECC: Correctable error
>
> Uncorrectable ECC errors (double bit) will also display the faulting
> address:
>
> => ecctest 1000000 2
> Using address 01000000 for 2 bit ECC error injection
> ECC: Uncorrectable error at 0x0001000000
>
> To enable this "ecctest" function you need to define CONFIG_CMD_ECCTEST
> in the board config header.
>
> Tested on katmai and t3corp.
Applied to u-boot-ppc4xx/master. Thanks.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
prev parent reply other threads:[~2010-07-23 8:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-21 17:06 [U-Boot] [PATCH] ppc4xx: Add "ecctest" command to test/simulate ECC errors Stefan Roese
2010-07-23 8:17 ` Stefan Roese [this message]
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=201007231017.46913.sr@denx.de \
--to=sr@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.