Kernel marking NAND blocks bad

2008-07-02 Thread Ron Madrid
Scott, I know I asked about this in the past, but I can't remember where it was left. Did this get resolved in some other repository that isn't the main linux-2.6 repository? If it didn't I think I might have a solution. BTW I'm using 2.6.26-rc8 Ron __

Re: Kernel marking NAND blocks bad

2008-07-02 Thread Scott Wood
Ron Madrid wrote: I know I asked about this in the past, but I can't remember where it was left. Did this get resolved in some other repository that isn't the main linux-2.6 repository? If it didn't I think I might have a solution. BTW I'm using 2.6.26-rc8 What was the issue? -Scott _

Re: Kernel marking NAND blocks bad

2008-07-02 Thread Ron Madrid
During boot the kernel mounts the root file system and (I think) based on the size of the NAND in the dts attempts to "format" the rest of the NAND fs partition. At this point the blocks are being marked as bad. Therefore, when I reboot, the kernel thinks that there is no more usable space in

Re: Kernel marking NAND blocks bad

2008-07-02 Thread Scott Wood
Ron Madrid wrote: /* Large Page FLASH with FMR[ECCM] = 0 */ static struct nand_ecclayout fsl_elbc_oob_lp_eccm0 = { .eccbytes = 12, .eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40, 54, 55, 56}, - .oobfree = { {1, 5}, {9, 13}, {25, 13}, {41, 13}, {57, 7} }, + .oobfree = { {2,

Re: Kernel marking NAND blocks bad

2008-07-02 Thread Ron Madrid
Thank you (once again). I found the information. Ron --- Scott Wood <[EMAIL PROTECTED]> wrote: > Ron Madrid wrote: > > /* Large Page FLASH with FMR[ECCM] = 0 */ > > static struct nand_ecclayout fsl_elbc_oob_lp_eccm0 = { > > .eccbytes = 12, > > .eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40,