OneNAND kernel oops in onenand_write_bufferram

Kyungmin Park kmpark at infradead.org
Mon Apr 9 22:08:06 EDT 2007


> 
> It turns out the memcpy is trying to access the 16-bit wide 
> bufferram with
> an invalid access width causing a bus error.  Thank you again Kyungmin
> Park for providing the OMAP-specific driver code.  I ported it to the
> pxa270 and the DMA worked fine, prompting me to test PIO mode where it
> failed in the memcpy there.  I remembered you wrote your own memcpy
> (though it wasn't called) in some old u-boot code you pointed 
> me to a few
> weeks back.  Now I know why!
> 
> Thanks very much for your help; this was a critical problem 
> now solved.
> 
> Pete MacKay wrote:
> 
> When trying to copy a jffs2 image to a OneNAND partition using either
> nandwrite or cp I get a kernel oops and nothing is written.
> 

After finishing work, please send the pxa driver.
Now, I don't have pxa board. so I can't test it.
If you send the patch. I will check and commit it.

Is it working with rising trigger?

Thank you,
Kyungmin Park





More information about the linux-mtd mailing list