Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-08-10 Thread Scott Wood
On Mon, 2015-08-10 at 09:17 +0800, Peng Fan wrote: Hi Scott, Do you have plan to pick the 3 patches? https://patchwork.ozlabs.org/patch/498050/ https://patchwork.ozlabs.org/patch/498049/ https://patchwork.ozlabs.org/patch/498048/ Yes. -Scott

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-08-09 Thread Peng Fan
Hi Scott, Do you have plan to pick the 3 patches? https://patchwork.ozlabs.org/patch/498050/ https://patchwork.ozlabs.org/patch/498049/ https://patchwork.ozlabs.org/patch/498048/ If not, then I prefer these 3 patches can go throught i.mx tree. Thanks, Peng. On Sun, Aug 02, 2015 at 11:18:38AM

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-08-01 Thread Peng Fan
On Fri, Jul 31, 2015 at 09:36:45PM -0500, Scott Wood wrote: On Sat, 2015-08-01 at 09:15 +0800, Peng Fan wrote: On Fri, Jul 31, 2015 at 12:07:50PM -0500, Scott Wood wrote: On Tue, 2015-07-21 at 16:15 +0800, Peng Fan wrote: If ecc chunk data size is 512 and oobsize is bigger than 512, there is

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-08-01 Thread Marek Vasut
On Saturday, August 01, 2015 at 08:32:07 PM, Scott Wood wrote: On Sat, 2015-08-01 at 17:18 +0200, Marek Vasut wrote: On Saturday, August 01, 2015 at 07:56:39 AM, Peng Fan wrote: On Fri, Jul 31, 2015 at 09:36:45PM -0500, Scott Wood wrote: On Sat, 2015-08-01 at 09:15 +0800, Peng Fan wrote:

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-08-01 Thread Scott Wood
On Sat, 2015-08-01 at 17:18 +0200, Marek Vasut wrote: On Saturday, August 01, 2015 at 07:56:39 AM, Peng Fan wrote: On Fri, Jul 31, 2015 at 09:36:45PM -0500, Scott Wood wrote: On Sat, 2015-08-01 at 09:15 +0800, Peng Fan wrote: On Fri, Jul 31, 2015 at 12:07:50PM -0500, Scott Wood wrote:

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-08-01 Thread Peng Fan
On Sat, Aug 01, 2015 at 01:54:48PM -0500, Scott Wood wrote: On Sat, 2015-08-01 at 20:38 +0200, Marek Vasut wrote: On Saturday, August 01, 2015 at 08:32:07 PM, Scott Wood wrote: On Sat, 2015-08-01 at 17:18 +0200, Marek Vasut wrote: On Saturday, August 01, 2015 at 07:56:39 AM, Peng Fan wrote:

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-08-01 Thread Scott Wood
On Sat, 2015-08-01 at 20:38 +0200, Marek Vasut wrote: On Saturday, August 01, 2015 at 08:32:07 PM, Scott Wood wrote: On Sat, 2015-08-01 at 17:18 +0200, Marek Vasut wrote: On Saturday, August 01, 2015 at 07:56:39 AM, Peng Fan wrote: On Fri, Jul 31, 2015 at 09:36:45PM -0500, Scott Wood

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-08-01 Thread Marek Vasut
On Saturday, August 01, 2015 at 07:56:39 AM, Peng Fan wrote: On Fri, Jul 31, 2015 at 09:36:45PM -0500, Scott Wood wrote: On Sat, 2015-08-01 at 09:15 +0800, Peng Fan wrote: On Fri, Jul 31, 2015 at 12:07:50PM -0500, Scott Wood wrote: On Tue, 2015-07-21 at 16:15 +0800, Peng Fan wrote: If

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-07-31 Thread Peng Fan
On Fri, Jul 31, 2015 at 12:07:50PM -0500, Scott Wood wrote: On Tue, 2015-07-21 at 16:15 +0800, Peng Fan wrote: If ecc chunk data size is 512 and oobsize is bigger than 512, there is a chance that block_mark_bit_offset conflicts with bch ecc area. The following graph is modified from kernel

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-07-31 Thread Tim Harvey
On Tue, Jul 21, 2015 at 1:15 AM, Peng Fan peng@freescale.com wrote: If ecc chunk data size is 512 and oobsize is bigger than 512, there is a chance that block_mark_bit_offset conflicts with bch ecc area. The following graph is modified from kernel gpmi-nand.c driver with each data block

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-07-31 Thread Scott Wood
On Tue, 2015-07-21 at 16:15 +0800, Peng Fan wrote: If ecc chunk data size is 512 and oobsize is bigger than 512, there is a chance that block_mark_bit_offset conflicts with bch ecc area. The following graph is modified from kernel gpmi-nand.c driver with each data block 512 bytes. We can see

Re: [U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-07-31 Thread Scott Wood
On Sat, 2015-08-01 at 09:15 +0800, Peng Fan wrote: On Fri, Jul 31, 2015 at 12:07:50PM -0500, Scott Wood wrote: On Tue, 2015-07-21 at 16:15 +0800, Peng Fan wrote: If ecc chunk data size is 512 and oobsize is bigger than 512, there is a chance that block_mark_bit_offset conflicts with bch

[U-Boot] [PATCH resend V2 1/3] mtd: nand: mxs support oobsize bigger than 512

2015-07-21 Thread Peng Fan
If ecc chunk data size is 512 and oobsize is bigger than 512, there is a chance that block_mark_bit_offset conflicts with bch ecc area. The following graph is modified from kernel gpmi-nand.c driver with each data block 512 bytes. We can see that Block Mark conflicts with ecc area from bch view.