[linux-sunxi] Re: [PATCH-RFC] ARM: sun4i: spi: Allow transfers larger than FIFO size

2016-03-28 Thread Alex G.
On 03/27/2016 02:10 AM, Iru Cai wrote: > Thanks for this patch, and I can use flashrom in Cubieboard with the > patch v6 and mainline kernel. > > However, there's still some problems. I flashed a chip off the board and > it works well, but when I read a chip on a mainboard twice, the result > is

Re: [linux-sunxi] Re: [PATCH-RFC] ARM: sun4i: spi: Allow transfers larger than FIFO size

2016-03-27 Thread Iru Cai
在 2016年3月27日星期日 UTC+8下午8:46:51,Priit Laes写道: > > On Sun, 2016-03-27 at 02:10 -0700, Iru Cai wrote: > > Thanks for this patch, and I can use flashrom in Cubieboard with the > > patch v6 and mainline kernel. > > > > However, there's still some problems. I flashed a chip off the board > > and i

Re: [linux-sunxi] Re: [PATCH-RFC] ARM: sun4i: spi: Allow transfers larger than FIFO size

2016-03-27 Thread Priit Laes
On Sun, 2016-03-27 at 02:10 -0700, Iru Cai wrote: > Thanks for this patch, and I can use flashrom in Cubieboard with the > patch v6 and mainline kernel. > > However, there's still some problems. I flashed a chip off the board > and it works well, but when I read a chip on a mainboard twice, the >

[linux-sunxi] Re: [PATCH-RFC] ARM: sun4i: spi: Allow transfers larger than FIFO size

2016-03-27 Thread Iru Cai
Thanks for this patch, and I can use flashrom in Cubieboard with the patch v6 and mainline kernel. However, there's still some problems. I flashed a chip off the board and it works well, but when I read a chip on a mainboard twice, the result is different. Is there something wrong with the SPI

[linux-sunxi] Re: [PATCH-RFC] ARM: sun4i: spi: Allow transfers larger than FIFO size

2014-03-18 Thread mrnuke
On Tuesday, March 18, 2014 10:43:28 AM Maxime Ripard wrote: > > This patch should NOT be merged, as it only handles long Rx transfers. > > Long Tx transfers have not been tested, and they will most likely fail > > miserably. There is currently no refreshing of Tx FIFOs when they run > > empty on lo

[linux-sunxi] Re: [PATCH-RFC] ARM: sun4i: spi: Allow transfers larger than FIFO size

2014-03-18 Thread Maxime Ripard
Hi, On Mon, Mar 17, 2014 at 08:28:26PM -0500, mrnuke wrote: > From c541c363b339d145f326747db5a3b0fabce2780a Mon Sep 17 00:00:00 2001 > From: Alexandru Gagniuc > Date: Mon, 17 Mar 2014 20:08:05 -0500 > Subject: [PATCH] NOTFORMERGE: ARM: sun4i: spi: Allow transfers larger than > FIFO size > > SPI

[linux-sunxi] Re: [PATCH-RFC] ARM: sun4i: spi: Allow transfers larger than FIFO size

2014-03-17 Thread mrnuke
On Monday, March 17, 2014 08:28:26 PM mrnuke wrote: I re-ran some captures after a clean reset. > However, on higher speeds, the > bursts seem to happen in 64-byte micro-bursts. My assumption is that > we aren't servicing the 3/4 FIFO interrupts fast enough, the FIFOs get > filled, and the contro