Re: [U-Boot] environment in NAND

2011-09-15 Thread Scott Wood
On 09/07/2011 04:34 AM, Arno Steffen wrote: > "# save > Saving Environment to NAND... > Erasing Nand... > Warning: Erase size 0x2000 smaller than one erase block 0x0002 > Erasing 0x0002 instead > Skipping bad block at 0x000c > > Writing to Nand... FAILED!" In newer versi

Re: [U-Boot] environment in NAND

2011-09-07 Thread Wolfgang Wegner
On Wed, Sep 07, 2011 at 12:20:51PM +0200, Arno Steffen wrote: > > There is a question left for redundancy, which is imho a bug (or maybe > I don't get the design concept of redundancy): > If I have an empty environment (both standard and redund - env1 and > env2 ) and boot, it recognizes CRC erro

Re: [U-Boot] environment in NAND

2011-09-07 Thread Arno Steffen
2011/9/7 Wolfgang Wegner : > Hi, > > sorry, not sure about it right now, but could it be you simply need > to define CONFIG_ENV_RANGE to some multiple of the sector size? > > At least is what I seem to remember... > > Wolfgang > > You are my hero - thats what I'm looking for ! Out of all boards in

Re: [U-Boot] environment in NAND

2011-09-07 Thread Wolfgang Wegner
Hi, sorry, not sure about it right now, but could it be you simply need to define CONFIG_ENV_RANGE to some multiple of the sector size? At least is what I seem to remember... Wolfgang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/m

Re: [U-Boot] environment in NAND

2011-09-07 Thread Arno Steffen
2011/9/7 Wolfgang Wegner : > Hi Arno, > > On Wed, Sep 07, 2011 at 08:20:22AM +0200, Arno Steffen wrote: >> Hi Marek and Wolfgang, Thanks for your answers. >> I kept already one sector space for bad blocks, so 1st environment is >> at c., 2nd at 10.. Blocksize is 2. (so 1 block left). >>

Re: [U-Boot] environment in NAND

2011-09-07 Thread Wolfgang Wegner
Hi Arno, On Wed, Sep 07, 2011 at 08:20:22AM +0200, Arno Steffen wrote: > Hi Marek and Wolfgang, Thanks for your answers. > I kept already one sector space for bad blocks, so 1st environment is > at c., 2nd at 10.. Blocksize is 2. (so 1 block left). > Maybe I have to announce uboot, tha

Re: [U-Boot] environment in NAND

2011-09-06 Thread Arno Steffen
2011/9/6 Marek Vasut : > On Tuesday, September 06, 2011 04:16:59 PM Arno Steffen wrote: >> NAND is sufferered from Bad blocks and bit errors. Thats why usually >> exists a bad block handling and an ECC. Am I wrong, that I miss both >> on uboot  for it's environment? >> Or is my uboot just to old (2

Re: [U-Boot] environment in NAND

2011-09-06 Thread Wolfgang Wegner
Hi Arno, On Tue, Sep 06, 2011 at 04:16:59PM +0200, Arno Steffen wrote: > NAND is sufferered from Bad blocks and bit errors. Thats why usually > exists a bad block handling and an ECC. Am I wrong, that I miss both > on uboot for it's environment? U-Boot 2010.06 already has bad block handling in t

Re: [U-Boot] environment in NAND

2011-09-06 Thread Marek Vasut
On Tuesday, September 06, 2011 04:16:59 PM Arno Steffen wrote: > NAND is sufferered from Bad blocks and bit errors. Thats why usually > exists a bad block handling and an ECC. Am I wrong, that I miss both > on uboot for it's environment? > Or is my uboot just to old (2010.06) and newer versions ha

[U-Boot] environment in NAND

2011-09-06 Thread Arno Steffen
NAND is sufferered from Bad blocks and bit errors. Thats why usually exists a bad block handling and an ECC. Am I wrong, that I miss both on uboot for it's environment? Or is my uboot just to old (2010.06) and newer versions handle this? Is there a special setting necessary to handle this? I see t