Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-20 Thread Yegor Yefremov
On Thu, Mar 19, 2015 at 4:56 PM, Daniel Mack zon...@gmail.com wrote: On 03/19/2015 04:13 PM, Yegor Yefremov wrote: Strange. Have tried with nand read command, but still the same result with and without CONFIG_NAND_OMAP_GPMC_PREFETCH : [2.150655 0.001006] NAND read: device 0 offset 0x26,

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-20 Thread Roger Quadros
On 20/03/15 13:24, Yegor Yefremov wrote: On Thu, Mar 19, 2015 at 4:56 PM, Daniel Mack zon...@gmail.com wrote: On 03/19/2015 04:13 PM, Yegor Yefremov wrote: Strange. Have tried with nand read command, but still the same result with and without CONFIG_NAND_OMAP_GPMC_PREFETCH : [2.150655

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-20 Thread Roger Quadros
+Tony and l-o On 20/03/15 15:37, Yegor Yefremov wrote: On Fri, Mar 20, 2015 at 1:37 PM, Roger Quadros rog...@ti.com wrote: On 20/03/15 13:24, Yegor Yefremov wrote: On Thu, Mar 19, 2015 at 4:56 PM, Daniel Mack zon...@gmail.com wrote: On 03/19/2015 04:13 PM, Yegor Yefremov wrote: Strange. Have

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-20 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [150320 07:59]: On 20/03/15 15:37, Yegor Yefremov wrote: Btw. where DMA support should be configured? GPMC config has no dmas like other components like mmc, uart, USB etc. I've never tested dma on omap-nand in mainline. We've been solely relying on

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-20 Thread Daniel Mack
Hi, On 03/20/2015 12:24 PM, Yegor Yefremov wrote: I've also put printf() into omap_nand_read_prefetch8() just to make sure it is called - it was called. Does it fall back to polled mode because the engine is busy maybe? See the comment in the code that deals with the return value of

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-20 Thread Yegor Yefremov
On Fri, Mar 20, 2015 at 3:54 PM, Daniel Mack zon...@gmail.com wrote: Hi, On 03/20/2015 12:24 PM, Yegor Yefremov wrote: I've also put printf() into omap_nand_read_prefetch8() just to make sure it is called - it was called. Does it fall back to polled mode because the engine is busy maybe?

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-20 Thread Yegor Yefremov
On Fri, Mar 20, 2015 at 1:37 PM, Roger Quadros rog...@ti.com wrote: On 20/03/15 13:24, Yegor Yefremov wrote: On Thu, Mar 19, 2015 at 4:56 PM, Daniel Mack zon...@gmail.com wrote: On 03/19/2015 04:13 PM, Yegor Yefremov wrote: Strange. Have tried with nand read command, but still the same result

[U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-19 Thread Yegor Yefremov
I've got v2015.04-rc4 running on my custom am335x (600MHz) based board. My 8-bit NAND chip: [17.297793 0.004021] omap-gpmc 5000.gpmc: GPMC revision 6.0 [17.303850 0.006057] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda [17.309706 0.005856] nand: Micron MT29F2G08ABAEAWP [17.312823

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-19 Thread Daniel Mack
Hi, On 03/19/2015 02:41 PM, Yegor Yefremov wrote: I've got v2015.04-rc4 running on my custom am335x (600MHz) based board. My 8-bit NAND chip: [17.297793 0.004021] omap-gpmc 5000.gpmc: GPMC revision 6.0 [17.303850 0.006057] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-19 Thread Daniel Mack
On 03/19/2015 04:13 PM, Yegor Yefremov wrote: Strange. Have tried with nand read command, but still the same result with and without CONFIG_NAND_OMAP_GPMC_PREFETCH : [2.150655 0.001006] NAND read: device 0 offset 0x26, size 0x120 [15.978943 13.828288] 18874368 bytes read: OK What

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-19 Thread Yegor Yefremov
On Thu, Mar 19, 2015 at 2:56 PM, Daniel Mack dan...@zonque.org wrote: Hi, On 03/19/2015 02:41 PM, Yegor Yefremov wrote: I've got v2015.04-rc4 running on my custom am335x (600MHz) based board. My 8-bit NAND chip: [17.297793 0.004021] omap-gpmc 5000.gpmc: GPMC revision 6.0 [17.303850