Re: atmel_nand pmecc on 8k page [RFC]

2014-06-18 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:19 Mon 16 Jun , Bo Shen wrote: Hi Matteo, On 06/13/2014 08:48 PM, Matteo Fortini wrote: Hi all, glad you found my patch useful. Sascha rejected it because he sees it more fit to separate the initialization of sama5d3 and sam9 since they are quite different. I started, as

Re: atmel_nand pmecc on 8k page [RFC]

2014-06-18 Thread Bo Shen
Hi Jean-Christophe PLAGNIOL-VILLARD, On 06/19/2014 12:31 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:19 Mon 16 Jun , Bo Shen wrote: Hi Matteo, On 06/13/2014 08:48 PM, Matteo Fortini wrote: Hi all, glad you found my patch useful. Sascha rejected it because he sees it more fit to

Re: atmel_nand pmecc on 8k page [RFC]

2014-06-16 Thread Bo Shen
Hi Matteo, On 06/13/2014 08:48 PM, Matteo Fortini wrote: Hi all, glad you found my patch useful. Sascha rejected it because he sees it more fit to separate the initialization of sama5d3 and sam9 since they are quite different. I started, as advised by Sascha, to create into sam9_smc.c the

Re: atmel_nand pmecc on 8k page

2014-06-13 Thread Raphaël Poggi
Hi, I'm testing with a custom board. I have just with the applied test and it's working ! I can use 8k page nand with atmel_nand driver. Do I have to wait until Matteo's patches are applied or can I submit mine right now ? Best regards, Raphaël Poggi 2014-06-13 3:26 GMT+02:00 Bo Shen

Re: atmel_nand pmecc on 8k page [RFC]

2014-06-13 Thread Matteo Fortini
Hi all, glad you found my patch useful. Sascha rejected it because he sees it more fit to separate the initialization of sama5d3 and sam9 since they are quite different. I started, as advised by Sascha, to create into sam9_smc.c the function void sama5d3_smc_configure(int id, int cs, struct

atmel_nand pmecc on 8k page

2014-06-12 Thread Raphaël Poggi
Hi, I'm working on a series of patches, to support 8k nand page in atmel_nand driver. Currently, I can detect the nand and handle an oob size of 448. But i have a problem with the pmecc, when barebox tried to perform pmecc operation, I get the following message: PMECC: Timeout to calculate

Re: atmel_nand pmecc on 8k page

2014-06-12 Thread Bo Shen
Hi Raphaël, On 06/12/2014 08:28 PM, Raphaël Poggi wrote: Hi, I'm working on a series of patches, to support 8k nand page in atmel_nand driver. Currently, I can detect the nand and handle an oob size of 448. But i have a problem with the pmecc, when barebox tried to perform pmecc operation, I