Received: by 10.192.165.148 with SMTP id m20csp1545408imm; Fri, 27 Apr 2018 23:45:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrSZbJNsmdfiOJAPz9I9wv4yiRbN83uYUN521GFH0ZCiEGRKL+i3MjQGHt/sJH20j9QvTH5 X-Received: by 10.98.222.2 with SMTP id h2mr2884220pfg.205.1524897945227; Fri, 27 Apr 2018 23:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524897945; cv=none; d=google.com; s=arc-20160816; b=p6LAk1JoAPdjOCp/snxhSLql7PTEK2WNtrjsONiPl7Tk1UZkk82xf8oSlKMImwYKHi ZpkGnpGe4Wpmxwj8B+EJFgIifcKqM378AO8ZGEukT8hDkEms0dSe8nIR05Ad5tZsNWz3 7l9JR9MVek0AS8XADxW3N0+D8RR2f8wzkRwNwI0Splib7DpSMFXVX4KhR7xg7Bj+3Nfo 1zRC6dbLza1UBLECJ4RwoKsFWQhvBgtM7pi0R/LXfUJLOSn/9rqn1X6fdmFmH9HR3Wbc 7a2GVtlJuWNlQFkNPoZFyS3PvcqDTbj90y31LLR6DIJgE2FsFXWO0HUfiWyT2Q6taOPO wzmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=b3eAK+0TbXGfAhFBTTXnvJ4be9w8eGHCwqZeRsfk7qo=; b=r/hi4gCn7YVdMrj/rpZ3Z3Hb2qoTyHuCwaDs6N7YCwOtEaxmVcMJCx9a6gGMj8+dgK 9Eiz6u7/0B/pI7kkRVWKTnGGA68IssWGh5TdD4C2nnejdPCEKNzNGhh3MRn7W78av88b 3cXMnZSIakz0ZrNfQVGEhtBBVeORCWyRe0Eh1skUaYZ1+o9ja6TalGuKhWXVOWd2omPk IoBxz0QJCUCdartLkuf1RYxgCByv1xRwNrQDhs2RHGHyJCIgSGqOhy1LnwofG+lSeJ7N tLxEcShFqQmbIsFnOBQxEGQuKAsDrAy/ayvfbPpAbDKVyw49/v7Y1VhFg7D4CWA+9v+q h0jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aizQDTZr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z13si2963742pfc.128.2018.04.27.23.45.31; Fri, 27 Apr 2018 23:45:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aizQDTZr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759573AbeD1GoJ (ORCPT + 99 others); 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 Received: by mail-wr0-f175.google.com with SMTP id o2-v6so663153wrj.13; Fri, 27 Apr 2018 23:44:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=b3eAK+0TbXGfAhFBTTXnvJ4be9w8eGHCwqZeRsfk7qo=; b=aizQDTZrlYw5L5CTme5074jUoht3g3p9t0KCpviEuXwGSwQ6AH+NqBYhvhUKazr88V VKi6hXV6y3QV8kZyjmrVm8BjEOBnc5kS8ss1GSBjDtpX2wOpqxssjDqHG/ZZrsvr+A2U DgEZTfDs9bF4YTtsXomZcEgqpjcj4ucDZe8Y4kgocg410td6JO7Dm9QpV9WI5ftjA3su GVULJ02Lhj3MLecXSm7jzlUuucJcIcR8NAEc3QSf3omN3rFuPEVsUGA7EHxZTyQkqavN VSX9PjVDVlHUHP7iu0U41B5CptoaVqHu/MIzrLW1aZ2w/Rgm8gy/pzR4KWJQoOWqoLRD l0dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=b3eAK+0TbXGfAhFBTTXnvJ4be9w8eGHCwqZeRsfk7qo=; b=RWYd9YTCDuI5M5StopjOTeNkxICH//wclNGpzLNPzGfI6/3D6BMAvJWPTT5jxI/3Ah uPEKozvUNaIxEa5XYkyPQ8FzrGB2ik4a0cItsn2v+wYvyiFF709x1AR/iCFTKgVJkGkX SK3bnxxw4SBtFqYUCSM/6mSoZ/HHF8n21aWuyrcg7/1TJ0H8YC0LwJAsHDY5HpgtxfrE KdSMiDM807o2O41a8/6Vs8gGR/nvn4SWcTEAfn0aWzgruVLOVlTZU6gpDzypYdqwCcxK 2QC/tXjyKtM8Z04bnnfFkASXr0tN1m68asayrmMfJ9ZfV2gKhHPY3U6lvylqdwjhqudl SLQg== X-Gm-Message-State: ALQs6tDw44n+6qnXcoPXiwcaZvFoqskrLpjtMzGd9a3Ry4ZkeXqqlCdI w6rhN0V/C45CNV/JHV+GKZXT6jQAL/GT8JURqD4= X-Received: by 2002:adf:ce8b:: with SMTP id r11-v6mr3354383wrn.242.1524897845063; Fri, 27 Apr 2018 23:44:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.181.1 with HTTP; Fri, 27 Apr 2018 23:44:04 -0700 (PDT) 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" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28 April 2018 at 06:19, Vivek Unune wrote: > On Fri, Apr 27, 2018 at 10:05 AM, Vivek Unune wr= ote: >> On Wed, Apr 25, 2018 at 11:02:04AM +0200, Rafa=C5=82 Mi=C5=82ecki 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 m= y >> 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. --=20 Rafa=C5=82