From: Simon Schwarz <simonschwarzcor@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/7] omap_gpmc: use SOFTECC in SPL if it's enabled
Date: Fri, 21 Oct 2011 13:08:57 +0200 [thread overview]
Message-ID: <4EA152C9.1040407@gmail.com> (raw)
In-Reply-To: <4EA03CFB.8040302@emcraft.com>
Hi Ilya,
On 10/20/2011 05:23 PM, Ilya Yanok wrote:
> Hi Simon,
>
> On 20.10.2011 16:00, Simon Schwarz wrote:
>>> Use software ECC for the SPL build if support for software ECC in
SPL is
>>> enabled.
>>
>> I'am curious: Is there a special reason for having software ecc in SPL?
>
> Well, yes. On OMAP2+ ECC mode defaults to software (incompatible with HW
> mode; 256 vs 512 bytes block size) both in U-Boot and Linux (U-Boot has
> command to change it while in Linux you have to recompile the kernel).
>
> So we need software ecc to read images written from Linux.
ok. Agreed.
Another thing just poped into my mind, ATM I have a DMA patch for
devkit8000 on the ML:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/109744
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/112661
It speeds up the process of copying the u-boot/linux image. ATM this is
in combination with HW ecc and I doubt that it will work seamlessly with
SW-ecc, yet. However IMHO DMA in combination with SW-ecc could be nearly
as fast as using HW-ecc.
So maybe an adaption is worth a try?
Regards
Simon
next prev parent reply other threads:[~2011-10-21 11:08 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 23:33 [U-Boot] [PATCH 0/7] NAND SPL support for mcx board Ilya Yanok
2011-10-17 23:33 ` [U-Boot] [PATCH 1/7] omap3/emif4: fix registers definition Ilya Yanok
2011-10-17 23:33 ` [U-Boot] [PATCH 2/7] omap/spl: don't assume u-boot.bin size, use CONFIG_SYS_NAND_U_BOOT_SIZE Ilya Yanok
2011-10-17 23:43 ` Tom Rini
2011-10-17 23:50 ` Ilya Yanok
2011-10-31 12:38 ` Ilya Yanok
2011-10-31 14:43 ` Tom Rini
2011-10-17 23:33 ` [U-Boot] [PATCH 3/7] omap/spl: actually enable the console Ilya Yanok
2011-10-19 19:24 ` Tom Rini
2011-10-31 12:39 ` Ilya Yanok
2011-10-31 14:44 ` Tom Rini
2011-10-17 23:33 ` [U-Boot] [PATCH 4/7] nand_spl_simple: add support for software ECC Ilya Yanok
2011-10-17 23:33 ` [U-Boot] [PATCH 5/7] omap_gpmc: use SOFTECC in SPL if it's enabled Ilya Yanok
2011-10-20 12:00 ` Simon Schwarz
2011-10-20 15:23 ` Ilya Yanok
2011-10-21 11:08 ` Simon Schwarz [this message]
2011-10-27 20:27 ` Ilya Yanok
2011-10-31 17:30 ` Ilya Yanok
2011-10-17 23:33 ` [U-Boot] [PATCH 6/7] nand_spl_simple: store temp data at CONFIG_SPL_NAND_WORKSPACE Ilya Yanok
2011-10-17 23:33 ` [U-Boot] [PATCH 7/7] mcx: NAND SPL support Ilya Yanok
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=4EA152C9.1040407@gmail.com \
--to=simonschwarzcor@googlemail.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