From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932161AbeCKKDQ (ORCPT ); Sun, 11 Mar 2018 06:03:16 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:34413 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932113AbeCKKDN (ORCPT ); Sun, 11 Mar 2018 06:03:13 -0400 X-Google-Smtp-Source: AG47ELuc0+Y8SkvLy15dBt8aRuwC2e6JQjrT9kbDzBe3t4BdVTjExXKdWqknrmFV1peSvvqTSUkwdA== Date: Sun, 11 Mar 2018 06:03:13 -0400 From: Vivek Unune To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: florian.fainelli@broadcom.com, 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 Subject: Re: [PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera Message-ID: <20180311100313.znonhesgh462rz65@osboxes> References: <20180310171244.70299-1-npcomplete13@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Thanks, Vivek