Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2012-01-03 Thread Marek Vasut
On 12/19/2011 02:23 PM, Marek Vasut wrote: On 12/18/2011 11:50 AM, Marek Vasut wrote: What specifically is happening in ubi part with ecc.size = 512? The driver doesn\t support subpage writes. Is this meant to be a workaround for the NAND layer ignoring a driver setting

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2012-01-03 Thread Scott Wood
On 01/03/2012 03:20 PM, Marek Vasut wrote: On 12/19/2011 02:23 PM, Marek Vasut wrote: On 12/18/2011 11:50 AM, Marek Vasut wrote: What specifically is happening in ubi part with ecc.size = 512? The driver doesn\t support subpage writes. Is this meant to be a workaround for the NAND layer

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2012-01-03 Thread Marek Vasut
On 01/03/2012 03:20 PM, Marek Vasut wrote: On 12/19/2011 02:23 PM, Marek Vasut wrote: On 12/18/2011 11:50 AM, Marek Vasut wrote: What specifically is happening in ubi part with ecc.size = 512? The driver doesn\t support subpage writes. Is this meant to be a workaround for the NAND

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2011-12-19 Thread Veli-Pekka Peltola
Hi Marek, On 12/18/2011 07:50 PM, Marek Vasut wrote: The ecc.size for mxs NAND driver is set to 1 in Linux kernel and to 512 in U-Boot, which causes ubi part command malfunction due to wrong subpage size. [snip] Subpage size is now reported correctly and ubifs works fine. Thanks! Tested-by:

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2011-12-19 Thread Marek Vasut
Hi Marek, On 12/18/2011 07:50 PM, Marek Vasut wrote: The ecc.size for mxs NAND driver is set to 1 in Linux kernel and to 512 in U-Boot, which causes ubi part command malfunction due to wrong subpage size. [snip] Subpage size is now reported correctly and ubifs works fine. Thanks!

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2011-12-19 Thread Veli-Pekka Peltola
On 12/19/2011 05:05 PM, Marek Vasut wrote: You're the guy doing the bluegiga mx28 board ? I think I noticed in linux kernel, are you for example working on mx28/device tree support too? Yes, I have done something but most of kernel stuff related to our board is done by my colleague Lauri

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2011-12-19 Thread Scott Wood
On 12/18/2011 11:50 AM, Marek Vasut wrote: The ecc.size for mxs NAND driver is set to 1 in Linux kernel and to 512 in U-Boot, which causes ubi part command malfunction due to wrong subpage size. Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Detlev

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2011-12-19 Thread Marek Vasut
On 12/18/2011 11:50 AM, Marek Vasut wrote: The ecc.size for mxs NAND driver is set to 1 in Linux kernel and to 512 in U-Boot, which causes ubi part command malfunction due to wrong subpage size. Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc:

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2011-12-19 Thread Scott Wood
On 12/19/2011 02:23 PM, Marek Vasut wrote: On 12/18/2011 11:50 AM, Marek Vasut wrote: What specifically is happening in ubi part with ecc.size = 512? The driver doesn\t support subpage writes. Is this meant to be a workaround for the NAND layer ignoring a driver setting

Re: [U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2011-12-19 Thread Marek Vasut
On 12/19/2011 02:23 PM, Marek Vasut wrote: On 12/18/2011 11:50 AM, Marek Vasut wrote: What specifically is happening in ubi part with ecc.size = 512? The driver doesn\t support subpage writes. Is this meant to be a workaround for the NAND layer ignoring a driver setting

[U-Boot] [PATCH] MXS-NAND: Backport ecc.size from linux kernel

2011-12-18 Thread Marek Vasut
The ecc.size for mxs NAND driver is set to 1 in Linux kernel and to 512 in U-Boot, which causes ubi part command malfunction due to wrong subpage size. Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Cc: Stefan Roese s...@denx.de Cc: