Thread (8 messages) 8 messages, 3 authors, 2009-09-30

Problem with mxc_nand driver

From: Jernej Turnsek <hidden>
Date: 2009-09-28 10:30:46

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 [off-list ref] wrote:
Hi,

Jernej Turnsek a ?crit :
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help