Hi,

I would have replied directly to the original thread but I wasn't on
the mailing list back then. I wanted to report I encountered some
problems using the [PATCH v5 1/1] davinci: spi: replace existing
driver.

I am currently using the Arago tree. I also applied the required DMA
patch 
(http://linux.davincidsp.com/pipermail/davinci-linux-open-source/2010-March/018022.html).
I will try to test with linux-davinci but for that I would need more
work on the omapl138 spi first.

Reading a block of at least 64k of data does not work with the new
driver. Here is how I reproduced (/dev/mtd1 is a spi flash with 256KB
sector size):

dd if=/dev/mtd1 of=/dev/null count=1bs=32768 #OK
dd if=/dev/mtd1 of=/dev/null count=2bs=32768 #OK
dd if=/dev/mtd1 of=/dev/null count=1bs=65536 #Stalls in davinci_spi_txrx_bufs

Trying with a block size of 128KB also fails. I am just unsure if this
failure is due to me using the Arago tree (maybe something else is
missing) or this is really an issue with the driver. If anybody else
can confirm or deny, it would be great.

Regards
Marc
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to