Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

2018-04-27 Thread Rafał Miłecki
On 28 April 2018 at 06:19, Vivek Unune wrote: > On Fri, Apr 27, 2018 at 10:05 AM, Vivek Unune wrote: >> On Wed, Apr 25, 2018 at 11:02:04AM +0200, Rafał Miłecki wrote: >>> >>> The easiest solution: ignore all these "error -74 (ECC error) while >>> reading" errors (they may last for few minutes!).

Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

2018-04-27 Thread Vivek Unune
On Fri, Apr 27, 2018 at 10:05 AM, Vivek Unune wrote: > On Wed, Apr 25, 2018 at 11:02:04AM +0200, Rafał Miłecki wrote: >> >> The easiest solution: ignore all these "error -74 (ECC error) while >> reading" errors (they may last for few minutes!). I believe UBI should >> simply recreate all pages it

Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

2018-04-27 Thread Vivek Unune
On Wed, Apr 25, 2018 at 11:02:04AM +0200, Rafał Miłecki wrote: > > [ 13.530863] ubi0 warning: 0xc037c9e4: error -74 (ECC error) while > > reading 64 bytes from PEB 115:0, read only 64 bytes, retry > > [ 13.542763] ubi0 warning: 0xc037c9e4: error -74 (ECC error) while > > reading 64 bytes from

Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

2018-04-25 Thread Rafał Miłecki
On 13.03.2018 02:02, Vivek Unune wrote: On Mon, Mar 12, 2018 at 03:52:27PM -0700, Florian Fainelli wrote: On 03/11/2018 03:03 AM, Vivek Unune wrote: Hi Rafał, On Sat, Mar 10, 2018 at 10:41:04PM +0100, Rafał Miłecki wrote: On 10 March 2018 at 18:12, Vivek Unune wrote: Using BCH8 gives ecc er

Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

2018-04-25 Thread Rafał Miłecki
On 11 March 2018 at 11:03, Vivek Unune wrote: > Hi Rafał, > > On Sat, Mar 10, 2018 at 10:41:04PM +0100, Rafał Miłecki wrote: >> On 10 March 2018 at 18:12, Vivek Unune wrote: >> > Using BCH8 gives ecc errors and makes the router unsuable. >> > Switching to BCH1 fixes these errors. >> >> Can you pr

Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

2018-03-12 Thread Vivek Unune
Hi Florian, On Mon, Mar 12, 2018 at 03:52:27PM -0700, Florian Fainelli wrote: > On 03/11/2018 03:03 AM, Vivek Unune wrote: > > Hi Rafał, > > > > On Sat, Mar 10, 2018 at 10:41:04PM +0100, Rafał Miłecki wrote: > >> On 10 March 2018 at 18:12, Vivek Unune wrote: > >>> Using BCH8 gives ecc errors and

Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

2018-03-12 Thread Florian Fainelli
On 03/11/2018 03:03 AM, Vivek Unune wrote: > Hi Rafał, > > On Sat, Mar 10, 2018 at 10:41:04PM +0100, Rafał Miłecki wrote: >> On 10 March 2018 at 18:12, Vivek Unune wrote: >>> Using BCH8 gives ecc errors and makes the router unsuable. >>> Switching to BCH1 fixes these errors. >> >> Can you provide

Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

2018-03-11 Thread Vivek Unune
Hi Rafał, On Sat, Mar 10, 2018 at 10:41:04PM +0100, Rafał Miłecki wrote: > On 10 March 2018 at 18:12, Vivek Unune wrote: > > Using BCH8 gives ecc errors and makes the router unsuable. > > Switching to BCH1 fixes these errors. > > Can you provide CFE's log messages starting with > "Decompressing.

Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

2018-03-10 Thread Rafał Miłecki
On 10 March 2018 at 18:12, Vivek Unune wrote: > Using BCH8 gives ecc errors and makes the router unsuable. > Switching to BCH1 fixes these errors. Can you provide CFE's log messages starting with "Decompressing...done" and up to the "Press Ctrl+C to stop in CFE" please? I'd like to see what NAND

[PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

2018-03-10 Thread Vivek Unune
Using BCH8 gives ecc errors and makes the router unsuable. Switching to BCH1 fixes these errors. Signed-off-by: Vivek Unune --- arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/a