Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-29 Thread boris brezillon dev
On 29/01/2014 17:08, Michal Suchanek wrote: On 29 January 2014 16:43, boris brezillon dev wrote: Hello Michal, On 29/01/2014 16:11, Michal Suchanek wrote: On 13 January 2014 10:02, boris brezillon wrote: boot 0 part properties: - uses sequential ECC - uses 1024 bytes ECC blocks - boot0 co

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-29 Thread Michal Suchanek
On 29 January 2014 16:43, boris brezillon dev wrote: > Hello Michal, > > > On 29/01/2014 16:11, Michal Suchanek wrote: >> >> On 13 January 2014 10:02, boris brezillon wrote: >>> >>> >>> boot 0 part properties: >>> - uses sequential ECC >>> - uses 1024 bytes ECC blocks >>> - boot0 code is stored o

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-29 Thread boris brezillon dev
Hello Michal, On 29/01/2014 16:11, Michal Suchanek wrote: On 13 January 2014 10:02, boris brezillon wrote: Hi Henrik, On 11/01/2014 22:11, Henrik Nordström wrote: thanks for pointing out your documents I'm trying to get the NAND driver with HW ECC (and HW RND) without using DMA at all I

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-29 Thread Michal Suchanek
On 13 January 2014 10:02, boris brezillon wrote: > Hi Henrik, > > > On 11/01/2014 22:11, Henrik Nordström wrote: >> >> thanks for pointing out your documents >> I'm trying to get the NAND driver with HW ECC (and HW RND) >> without using DMA at all >> >> I tried many things but did not quite get

Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-29 Thread boris brezillon
Hello Rob, On 23/01/2014 16:22, Rob Herring wrote: On Sat, Jan 11, 2014 at 7:38 AM, boris brezillon wrote: On 08/01/2014 15:21, Boris BREZILLON wrote: Hello, This series add the sunxi NFC support with up to 8 NAND chip connected. I'm still in the early stages drivers development and some key

Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-23 Thread Rob Herring
On Sat, Jan 11, 2014 at 7:38 AM, boris brezillon wrote: > On 08/01/2014 15:21, Boris BREZILLON wrote: >> >> Hello, >> >> This series add the sunxi NFC support with up to 8 NAND chip connected. >> I'm still in the early stages drivers development and some key features >> are >> missing, but it's us

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-21 Thread Henrik Nordström
tis 2014-01-21 klockan 19:13 +0100 skrev Henrik Nordström: > > Are you sure ? > > This thread says that only the first 1024 bytes of data (+ 96 bytes of > > ECC) of each page are used: > > yes I am sure. There was no page access commands between the sectors, > only linear read of data,ecc,data,ecc

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-21 Thread Henrik Nordström
lör 2014-01-18 klockan 05:46 -0800 skrev Boris BREZILLON: > Do you know which mode are used (X ECC strength / 512 or 1024 bytes ?) > and > when they are are selected (does it depend on the connected NAND > chip ?) ? It seems to blindly try some modes until something usable is found. Varying both

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-13 Thread Henrik Nordström
mån 2014-01-13 klockan 10:02 +0100 skrev boris brezillon: > The most complicated part is the boot0 partition. Not really. It's only a little different (sequential ECC, static randomizer seed on every page). > Tell me if I'm wrong, but here's what I understood from your work (and > yuq's work to

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-13 Thread boris brezillon
Hi Henrik, On 11/01/2014 22:11, Henrik Nordström wrote: thanks for pointing out your documents I'm trying to get the NAND driver with HW ECC (and HW RND) without using DMA at all I tried many things but did not quite get the ECC reading command to return meaningful resuts. But should work som

Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-11 Thread boris brezillon
On 08/01/2014 15:21, Boris BREZILLON wrote: Hello, This series add the sunxi NFC support with up to 8 NAND chip connected. I'm still in the early stages drivers development and some key features are missing, but it's usable (I tested it on the cubietruck board). Here's what's missing: - HW EC