Hi Artem,

 

 

Rohit Hagargundgi , author of mtd: Flex-OneNAND support has left the organization.

Any Flex OneNAND specific issues will be taken care by us from now onwards.

 

>On Thu, 2010-07-08 at 12:11 +0200, Enric Balletbò i Serra wrote:

>> Hello,

> >

> >2010/7/8 Artem Bityutskiy <dedekind1 at gmail.com>:

> >> On Thu, 2010-07-08 at 11:55 +0200, Enric Balletbò i Serra wrote:

> >>> Hello,

> >>>

> >> >I made new tests regarding this issue. Looks like the problem is > >> reading from the OneNAND device.

> >>

> > >Did you try older kernel and then bisecting who is responsible for the

> > >breakage?

> >

> >Yes, before commit

> >

> >5988af2319781bc8e0ce418affec4e09cfa77907 (mtd: Flex-OneNAND support)

> >

> >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5988af2319781bc8e0ce418affec4e09cfa77907

> >

> >my OneNAND is working, after the commit, the OneNAND support is broken.

>

>Ok, we could revert it, but it is better to fix it. CCing the author of

the commit.

>

 

We tested Samsung Muxed OneNAND(DDP) on Apollon Board with

kernel 2.6.35-rc4 and did not face any problems with DDP OneNand read/write.

We didn't face any problem with the below code as pointed by Eric in

file:: onenand_base.c

378: default:

block = onenand_block(this, addr);

page = (int) (addr - onenand_addr(this, block)) >> this->page_shift;

 

We didn't changed anything in onenand_base.c and have runned nandtest utility. Below are the results.

mtd3 and mtd4 are our OneNAND paritions.

==================================================================

# nandtest /dev/mtd3

ECC corrections: 0

ECC failures : 0

Bad blocks : 1

BBT blocks : 0

Bad block at 0x00bc0000

00fe0000: checking...

Finished pass 1 successfully

# nandtest /dev/mtd4

ECC corrections: 0

ECC failures : 0

Bad blocks : 0

BBT blocks : 0

01fe0000: checking...

Finished pass 1 successfully

==================================================================

 

 

We don't have Nymonix OneNAND DDP chip as used by Eric. So can't say why issue

is coming up in that.

 

 

Eric we need more details about the internal organization of Nymonix chips which you are using.

Reciprocating the envirnoment is not possible but atleast we will try to

figure out if there is any difference in internal organization.

 

 

Regards,

Rohit.H.S & Vivek Dalal