On Thursday 05 April 2012 01:29:18 Mike Frysinger wrote:
> If we attempt to probe beyond the end of flash, MEMGETBADBLOCK will fail
> (as well it should), but we end up erroring out with the distracting:
> Cannot read bad block mark: Invalid argument
>
> Instead of the correct error:
>
On Thursday 05 April 2012 09:15:12 Bishop, Mark wrote:
> From: Mike Frysinger
> > If we attempt to probe beyond the end of flash, MEMGETBADBLOCK will
> > fail
> >
> > (as well it should), but we end up erroring out with the distracting:
> > Cannot read bad block mark: Invalid argument
> >
> >
> -Original Message-
> From: u-boot-boun...@lists.denx.de [mailto:u-boot-
> boun...@lists.denx.de] On Behalf Of Mike Frysinger
> Sent: Thursday, April 05, 2012 1:29 AM
> To: u-boot@lists.denx.de
> Subject: [U-Boot] [PATCH] tools/env: check flash length before probing
If we attempt to probe beyond the end of flash, MEMGETBADBLOCK will fail
(as well it should), but we end up erroring out with the distracting:
Cannot read bad block mark: Invalid argument
Instead of the correct error:
Too few good blocks within range
Re-order the tests so we check
4 matches
Mail list logo