Re: [U-Boot] Nand dump and nand bad block disagree

2012-02-29 Thread Scott Wood
On 02/29/2012 04:54 PM, Mike Frysinger wrote: > On Wednesday 29 February 2012 17:37:32 Scott Wood wrote: >> Do you migrate the bad block markers to the new location prior to using >> a chip? > > we leave that as an "exercise for the user" ;) > > this OOB layout is only used when the processor is

Re: [U-Boot] Nand dump and nand bad block disagree

2012-02-29 Thread Mike Frysinger
On Wednesday 29 February 2012 17:37:32 Scott Wood wrote: > On 02/29/2012 04:34 PM, Mike Frysinger wrote: > > On Wednesday 29 February 2012 14:09:44 Scott Wood wrote: > >> On 02/29/2012 01:06 PM, Mike Frysinger wrote: > >>> On Wednesday 29 February 2012 04:02:39 jean-philippe francois wrote: >

Re: [U-Boot] Nand dump and nand bad block disagree

2012-02-29 Thread Scott Wood
On 02/29/2012 04:34 PM, Mike Frysinger wrote: > On Wednesday 29 February 2012 14:09:44 Scott Wood wrote: >> On 02/29/2012 01:06 PM, Mike Frysinger wrote: >>> On Wednesday 29 February 2012 04:02:39 jean-philippe francois wrote: Le 29 février 2012 00:40, Scott Wood a écrit : > Is this a 16-b

Re: [U-Boot] Nand dump and nand bad block disagree

2012-02-29 Thread Mike Frysinger
On Wednesday 29 February 2012 14:09:44 Scott Wood wrote: > On 02/29/2012 01:06 PM, Mike Frysinger wrote: > > On Wednesday 29 February 2012 04:02:39 jean-philippe francois wrote: > >> Le 29 février 2012 00:40, Scott Wood a écrit : > >>> Is this a 16-bit NAND? If so, the first two bytes have to be 0

Re: [U-Boot] Nand dump and nand bad block disagree

2012-02-29 Thread Scott Wood
On 02/29/2012 01:06 PM, Mike Frysinger wrote: > On Wednesday 29 February 2012 04:02:39 jean-philippe francois wrote: >> Le 29 février 2012 00:40, Scott Wood a écrit : >>> Is this a 16-bit NAND? If so, the first two bytes have to be 0x, >>> unless the controller driver defines the bad block pa

Re: [U-Boot] Nand dump and nand bad block disagree

2012-02-29 Thread Scott Wood
On 02/29/2012 03:02 AM, jean-philippe francois wrote: > Le 29 février 2012 00:40, Scott Wood a écrit : >> Also please mention which version of U-Boot you're using. Top of tree >> currently has broken nand dump (fixed with the latest nand pull request). >> > I am using a pretty ancient version (20

Re: [U-Boot] Nand dump and nand bad block disagree

2012-02-29 Thread Mike Frysinger
On Wednesday 29 February 2012 04:02:39 jean-philippe francois wrote: > Le 29 février 2012 00:40, Scott Wood a écrit : > > Is this a 16-bit NAND? If so, the first two bytes have to be 0x, > > unless the controller driver defines the bad block pattern differently. > > It is an 8 bit nand. The

Re: [U-Boot] Nand dump and nand bad block disagree

2012-02-29 Thread jean-philippe francois
Le 29 février 2012 00:40, Scott Wood a écrit : > On 02/28/2012 08:34 AM, jean-philippe francois wrote: >> Hi, >> >> I have an omap3 based board with a micron 4Gbit large page nand attached. >> when using software ecc, everything is fine. >> >> When using hardware ecc, ecc is ok (ie u-boot and ROM

Re: [U-Boot] Nand dump and nand bad block disagree

2012-02-28 Thread Scott Wood
On 02/28/2012 08:34 AM, jean-philippe francois wrote: > Hi, > > I have an omap3 based board with a micron 4Gbit large page nand attached. > when using software ecc, everything is fine. > > When using hardware ecc, ecc is ok (ie u-boot and ROM bootloader agree), > but bad block detection is broken