From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759575AbeD1GoJ (ORCPT ); Sat, 28 Apr 2018 02:44:09 -0400 Received: from mail-wr0-f175.google.com ([209.85.128.175]:46311 "EHLO mail-wr0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752083AbeD1GoG (ORCPT ); Sat, 28 Apr 2018 02:44:06 -0400 X-Google-Smtp-Source: AB8JxZrHDbII6yJkNqhGM2ZF64DvXWroqoZTbVr3OEu8kBzlT9qRVxcLvZ7r+McHHtZqGuWYjX5VZSevlJ0MogA8GM4= MIME-Version: 1.0 In-Reply-To: References: <20180310171244.70299-1-npcomplete13@gmail.com> <20180311100313.znonhesgh462rz65@osboxes> <2ef6e4fc-cce7-372e-e35f-578fd6ada9ca@gmail.com> <20180313010210.ws4dugy3rrpqwzmk@osboxes> <00df9ee9-2bd2-ad2b-fdf8-682efdb9a4d1@gmail.com> <20180427140542.c3t5taztkciimfny@osboxes> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Date: Sat, 28 Apr 2018 08:44:04 +0200 Message-ID: Subject: Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera To: Vivek Unune Cc: Florian Fainelli , Hauke Mehrtens , Jon Mason , bcm-kernel-feedback-list , Rob Herring , Mark Rutland , Russell King , "linux-arm-kernel@lists.infradead.org" , devicetree@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id w3S6iHZK000859 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!). I believe UBI should >>> simply recreate all pages it couldn't access and once you wait long >>> enough, all your NAND flash will be using BCH8. >> >> Let me build the firmware with BCH-8 and wait it out. I'll report back my >> results. > > I can confirm that BCH-8 indeed works after letting it run through those > ECC errors. > > Thanks! Great, thanks! That controller behavior (reading BCH8 fine while working in BCH4 mode) is really confusing. -- Rafał