[U-Boot] BCH8 support when we do not have ELM h/w engine.

Gupta, Pekon pekon at ti.com
Thu Dec 12 19:12:57 CET 2013


Hi Enric, 

>From: Enric Balletbo Serra [mailto:eballetbo at gmail.com]
>>>> Note that look the same except after byte number 16. In the first case is
>>>>     ff 52 3f 7d 2a 7f a2 98 70
>>>> and in the second case is
>>>>     52 3f 7d 2a 7f a2 98 70
>>>>
>>>> It's possible that something is wrong writting the OOB data ? Any clue
>>>> ? I'm in the right direction or completely wrong ?
>>>>
>> Yes, there seems to be an mis-match between u-boot and kernel
>> ecc-layout. Give me a day's time, and I'll try to root cause this.
>> However, don't have OMAP3 boards, so I can test this only on other boards.
>>
I have done some fix here.
But I hv still not completely tested this for all boot modes.
So plz consider this as RFC. And once I'm done, I'll post a formal patch.
(attaching the patches here for reference)..

with regards, pekon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mtd-nand-omap-fix-ecclayout-oobfree-offset.patch
Type: application/octet-stream
Size: 3398 bytes
Desc: 0001-mtd-nand-omap-fix-ecclayout-oobfree-offset.patch
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131212/ea4f43d5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mtd-nand-omap-fix-ecclayout-for-BCH4_SW-and-BCH8_SW-.patch
Type: application/octet-stream
Size: 4575 bytes
Desc: 0002-mtd-nand-omap-fix-ecclayout-for-BCH4_SW-and-BCH8_SW-.patch
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131212/ea4f43d5/attachment-0001.obj>


More information about the U-Boot mailing list