From: Thomas Herrmann <THerrmann@ADwin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ECC/OOB question for kwbimage/openrd
Date: Mon, 17 Feb 2014 13:22:54 +0100 [thread overview]
Message-ID: <5301FF1E.5000502@ADwin.de> (raw)
I am using a kirkwood-based CPU and u-boot 2013.07 (problem is probably
not specific to the u-boot version).
When I program u-boot using jtag, I use the "oob_softecc_kw" option to
write the image. U-boot boots fine and the bootROM register of the CPU
shows no ECC errors.
When I flash the bootloader in u-boot (standard "nand write"), the wrong
ECC algorithm is used, and the bootROM shows ECC errors (but u-boot
boots fine as long as no bits flip in the flash).
I have already tried NAND_ECC_MODE default, rs and hamming in mkimage,
with no success.
I guess I could read out the oob data with the correct ecc checksums
from the image written by jtag and then use u-boots write.oob to flash
the bootloader, but that seems to be an ugly workaround.
Any ideas?
Regards
Thomas
reply other threads:[~2014-02-17 12:22 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=5301FF1E.5000502@ADwin.de \
--to=therrmann@adwin.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.