Received: by 10.213.65.68 with SMTP id h4csp21069imn; Mon, 12 Mar 2018 15:54:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELvkydKGU6gt9epmu0gF62DHEFE22abQbiarMQFhXcfRy2rwejX2sDU6zx/LX3mTc2zD7+Fo X-Received: by 2002:a17:902:724b:: with SMTP id c11-v6mr9940870pll.352.1520895249672; Mon, 12 Mar 2018 15:54:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520895249; cv=none; d=google.com; s=arc-20160816; b=DplOR+ZJOPgjO0iYf7aZV4zel1bCNboj08mkiDqWjRW5oqGn8f3F6Ac0ZAhjHsF4UU 3gmP0cgzPmloYnKdV98iWXKxha/4oeEGIVTZ2nuNlfC51YY8ZOHHX2QzTLwQ3IkJ9Rjm PlPVGZTWxxtSJAy+fVHilGiQVGLdk7kyqOQKWxwyD88MphkwSbgL4bsBp5A6OTGbDm3q 3eQ8trFw8IajA4eFJZUtS5IOX5Hmw8NQ1D3yr+y7iduO9rceTdI/PbvsC4EpQR+C6/lk uQJRSnwW2wcwvrUw8QmX7dJEfZ9cgtiI8d+vSH+Xx/BObXNYRD51lSD5dwORG0yCV7BL kowQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=4XyboGsD57SIygOgaJ1F36uNGdanNZXpc55PNM5tmJE=; b=pt8VlZ+gv4ee9L3z2Ar9quZlHvRc5JTQtIs5VoZNyJQvI5e426C5NXVGt9kHgZ+ycN WhBdelU+FdQbvwMSnX4I4x9V8GbcPQMAfjMRzCy0WkQcUdy+2nrSN5z+ZzPkYDFAvM0N VrFxqqPqRU9SkZhugeH4X1m3UXgwwF9Sy0Og/mhKpU651SlP+x8g8w3MrQPPcoK/a2Nn 49GG0MGI/Lp2r1xRSlXH6E1f7lIHq/U1HzM4WQTLS1/VWpgpBqZMcyapErV32b0LcWLn iuN8xI1+Lu1BWMmVFWgsz5JnGwV3FS/lQsPZLatkUXcwtDUcBuwdl+kLpXMxz8DO8iok Oehw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sUwlib1E; 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 w22-v6si6555101plq.196.2018.03.12.15.53.55; Mon, 12 Mar 2018 15:54:09 -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=sUwlib1E; 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 S1751554AbeCLWwk (ORCPT + 99 others); Mon, 12 Mar 2018 18:52:40 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:39299 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbeCLWwi (ORCPT ); Mon, 12 Mar 2018 18:52:38 -0400 Received: by mail-qt0-f196.google.com with SMTP id a26so2115962qtj.6; Mon, 12 Mar 2018 15:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=4XyboGsD57SIygOgaJ1F36uNGdanNZXpc55PNM5tmJE=; b=sUwlib1E2AqtC1Swg5S2T1KaQcoMf5xkfUKrJEsB/vq41ObqO5Mg5bIgP0EiTSlbdL 1Ea30Fu6XD+HzbzrtmfWW0Fll8bGqgnA9NarYkF8CZ8ITgadOCpFZqYdFZpKU7e3gSck D4CWLpPJaOxbEUVfBJxFftdrw6Vvgfe8IDzjKBB2xfgcpCB+LXghqKb2ASeD+O1ou6nk yFo3cY4bGoCPQfMjnQOpvktnLS/HzJtYy3uFNwWxSWOqPTjrkQ5f6oPWaaXtdv/DnLD3 EINIdBYE0Y/4KYEi9poyJtbR46LUj450MfMyuSR3ktKn8IjhJATBQCLTZaMrlJa74SsF jwmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4XyboGsD57SIygOgaJ1F36uNGdanNZXpc55PNM5tmJE=; b=Kzdwgf5mrc4F3TOeacqIJNTM2s+XpnL9u4UxfetOfI5azhF0WGdUKfaTfNZOf11rKq xuP6f+YPv0hX4NgPANygJkpVM5jY5donkZw/Gl01+VR8FS19tY/or0GnyqZcNOYRpfgE IT+aBWWup9uW1+uuScFpf3LuhaWU+//wpjdIeq9FLp0mF3KvuAbikgrdx4/gPZL3KOFL Q4OhOoovHxogacWIn2KfoKiHLLcLlcmXTkbHNQxIqyhKdgRledQmUdfl8TdekLyUnP/Q o/eJIaEL/w9/7Uhad8jLlDsixeBd3mmmi3Gu6NtmBW4KPFX3Ej7e8BgtHVZ6Ut72b/R0 KWJw== X-Gm-Message-State: AElRT7EANyJPixGOL3PHqcwaZrS7SKyioQ9/xy3sV69X8ayYrCu23V05 Dz9A0RXZD20zcWA4YlcKj3UP2Bqm X-Received: by 10.200.56.249 with SMTP id g54mr14040520qtc.245.1520895157302; Mon, 12 Mar 2018 15:52:37 -0700 (PDT) Received: from [10.69.41.93] ([192.19.223.250]) by smtp.googlemail.com with ESMTPSA id y124sm5834627qke.40.2018.03.12.15.52.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Mar 2018 15:52:35 -0700 (PDT) Subject: Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera To: Vivek Unune , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: 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 References: <20180310171244.70299-1-npcomplete13@gmail.com> <20180311100313.znonhesgh462rz65@osboxes> From: Florian Fainelli Message-ID: <2ef6e4fc-cce7-372e-e35f-578fd6ada9ca@gmail.com> Date: Mon, 12 Mar 2018 15:52:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180311100313.znonhesgh462rz65@osboxes> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 info CFE prints there. > > See below. It does say BCH-8, however I can't get it to work. > > CFE log: > > Decompressing...done > Found a Toshiba NAND flash: > Total size: 128MB > Block size: 128KB > Page Size: 2048B > OOB Size: 64B > Sector size: 512B > Spare size: 16B > ECC level: 8 (8-bit) > Device ID: 0x98 0xf1 0x80 0x15 0xf2 0x16 > find_devinfo: devinfo block found at 0x00180000! > > Press Ctrl+C to stop in CFE What kind of error are you getting in Linux with BCH-8? -- -- Florian