[U-Boot] [PATCH 0/1] Correct ONFI chip size detection for LUN count 1

2012-07-03 Thread Rafael Beims
, but I don't know if this would be the best solution. Any comments are appreciated. -- Rafael Rafael Beims (1): nand: Support ONFI chip size detection for lun_count 1 drivers/mtd/nand/nand_base.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions

[U-Boot] [PATCH] nand: Support ONFI chip size detection for lun_count 1

2012-07-03 Thread Rafael Beims
in the current ONFI detection code. Signed-off-by: Rafael Beims rafael.beims@rafael.be...@gmail.com --- drivers/mtd/nand/nand_base.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index bfd668f..3dd4dd6 100644

[U-Boot] [PATCH v4] nand: Hack to support 4k page in fsl_elbc_nand

2012-07-03 Thread Rafael Beims
from the default for 4096kiB page sizes. Therefore, we need to migrate the factory bad block markers from the original position to the new layout. Signed-off-by: Shengzhou Liu shengzhou@freescale.com Signed-off-by: Liu Shuo b35...@freescale.com Signed-off-by: Rafael Beims rafael.be

[U-Boot] [PATCH v4 0/1] fsl_elbc support for 4k devices and factory badblock migration

2012-07-03 Thread Rafael Beims
and kmalloc calls. Only malloc() and free() used now - Start searching the migration marker from the end of NAND Changes in v4: - Read all the pages of the block until migrated marker is found - Write the marker in all pages of the block Rafael Beims (1): nand: Hack to support 4k page

Re: [U-Boot] [PATCH v2] nand: Hack to support 4k page in fsl_elbc_nand

2012-07-02 Thread Rafael Beims
On Fri, Jun 29, 2012 at 8:06 PM, Scott Wood scottw...@freescale.com wrote: On 06/28/2012 09:13 PM, Rafael Beims wrote: On Thu, Jun 28, 2012 at 10:36 PM, Scott Wood scottw...@freescale.com wrote: On 06/28/2012 03:47 PM, Rafael Beims wrote: Freescale FCM controller has a 2K size limitation

[U-Boot] [PATCH v3 0/1] fsl_elbc support for 4k devices and factory badblock migration

2012-07-02 Thread Rafael Beims
- Removed useless dir variable - Removed vmalloc and kmalloc calls. Only malloc() and free() used now - Start searching the migration marker from the end of NAND Rafael Beims (1): nand: Hack to support 4k page in fsl_elbc_nand drivers/mtd/nand/fsl_elbc_nand.c | 431

[U-Boot] [PATCH v2 0/1] fsl_elbc support for 4k devices and factory badblock migration

2012-06-28 Thread Rafael Beims
suggestions of what this pattern should be. I would really appreciate any feedback related to the patch. Changes in v2: - Added check to disallow the migration code to run in devices with page size = 2048 Rafael Beims (1): nand: Hack to support 4k page in fsl_elbc_nand drivers/mtd/nand

[U-Boot] [PATCH v2] nand: Hack to support 4k page in fsl_elbc_nand

2012-06-28 Thread Rafael Beims
from the default for 4096kiB page sizes. Therefore, we need to migrate the factory bad block markers from the original position to the new layout. Signed-off-by: Shengzhou Liu shengzhou@freescale.com Signed-off-by: Liu Shuo b35...@freescale.com Signed-off-by: Rafael Beims rafael.be

Re: [U-Boot] [PATCH v2] nand: Hack to support 4k page in fsl_elbc_nand

2012-06-28 Thread Rafael Beims
On Thu, Jun 28, 2012 at 10:36 PM, Scott Wood scottw...@freescale.com wrote: On 06/28/2012 03:47 PM, Rafael Beims wrote: Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip with pagesize larger than 2K bytes, we read/write 2k data repeatedly

[U-Boot] [PATCH] [nand]: Hack to support 4k page in fsl_elbc_nand

2012-06-27 Thread Rafael Beims
from the default for 4096kiB page sizes. Therefore, we need to migrate the factory bad block markers from the original position to the new layout. Signed-off-by: Shengzhou Liu shengzhou@freescale.com Signed-off-by: Liu Shuo b35...@freescale.com Signed-off-by: Rafael Beims rafael.be

[U-Boot] [PATCH 0/1] fsl_elbc support for 4k devices and factory badblock migration

2012-06-27 Thread Rafael Beims
suggestions of what this pattern should be. I would really appreciate any feedback related to the patch. Rafael Beims (1): [nand]: Hack to support 4k page in fsl_elbc_nand drivers/mtd/nand/fsl_elbc_nand.c | 445 +++--- 1 files changed, 417 insertions(+), 28

Re: [U-Boot] Status of fsl_elbc_nand driver and 4k page NAND / 4bit ECC

2012-05-08 Thread Rafael Beims
On Mon, Apr 16, 2012 at 6:10 PM, Scott Wood scottw...@freescale.com wrote: On 04/13/2012 05:15 PM, Rafael Beims wrote: On Wed, Apr 11, 2012 at 9:22 PM, Scott Wood scottw...@freescale.com mailto:scottw...@freescale.com wrote:     On 04/11/2012 07:14 PM, Rafael Beims wrote

Re: [U-Boot] Status of fsl_elbc_nand driver and 4k page NAND / 4bit ECC

2012-04-13 Thread Rafael Beims
On Wed, Apr 11, 2012 at 9:22 PM, Scott Wood scottw...@freescale.com wrote: On 04/11/2012 07:14 PM, Rafael Beims wrote: Hello Scott, On Wed, Apr 11, 2012 at 6:54 PM, Scott Wood scottw...@freescale.com mailto:scottwood@freescale.**com scottw...@freescale.com wrote: On 04/11/2012 04:28 PM

[U-Boot] Status of fsl_elbc_nand driver and 4k page NAND / 4bit ECC

2012-04-11 Thread Rafael Beims
Hello, I work with several MPC83xx boards in our company, and a while ago we were informed that the NAND chip we used was being discontinued. The only options for a replacement were the newer 4k page ones. Specifically, we are using now the Micron 29F8G08ABABA (8 gigabit). I was sweeping the