* [U-Boot] ECC/OOB question for kwbimage/openrd
@ 2014-02-17 12:22 Thomas Herrmann
0 siblings, 0 replies; only message in thread
From: Thomas Herrmann @ 2014-02-17 12:22 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-02-17 12:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-17 12:22 [U-Boot] ECC/OOB question for kwbimage/openrd Thomas Herrmann
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.