Problem with mxc_nand driver

Jernej Turnsek jernej.turnsek at gmail.com
Mon Sep 28 06:30:46 EDT 2009


static struct mxc_nand_platform_data nand_board_info = {
	.width = 1,
	.hw_ecc = 1,
};

Isn't number 85 19 something from jffs2? Magic or something.

Jernej

On Mon, Sep 28, 2009 at 11:43 AM, Eric Bénard <eric at eukrea.com> wrote:
> Hi,
>
> Jernej Turnsek a écrit :
>>
>> after writing root fs image into nand partition, running the image and
>> then checking the first empty block I've got following OOB data which
>> is suspicious to me:
>>
>> OOB:
>>        ff ff 85 19 03 20 ff ff
>>        ff 65 02 08 00 00 00 ff
>>        ff ff ff ff ff ff ff ff
>>        ff ff 03 ff ff ff ff ff
>>        ff ff ff ff ff ff ff ff
>>        ff ff 03 ff ff ff ff ff
>>        ff ff ff ff ff ff ff ff
>>        ff ff 03 ff ff ff ff ff
>>
>> One can see that bytes on offset 2 to 5 are not empty and when using
>> the smallpage_memorybased badblock_pattern byte 6 is not FF like it
>> should be.
>>
>> Anyone knows what is going on here?
>>
> which configuration are you using ? SW ECC + without the commit ?
>
> Eric
>



More information about the linux-arm-kernel mailing list