Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp528542imm; Wed, 25 Jul 2018 01:17:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpchJX+dvk9bQvm8EOnrLNs1EV8/iaTYUqCivPuLn1G+jZBRJmRMy+v1HULgzLQzZ0JFN8Pm X-Received: by 2002:a63:ed56:: with SMTP id m22-v6mr19596186pgk.148.1532506661850; Wed, 25 Jul 2018 01:17:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532506661; cv=none; d=google.com; s=arc-20160816; b=fjURLObGnV4RKbugTMRK2yhU3xIWOEvMpFVE9O3MxNC1LLHPi3CZsm7ysheuTjdMQr Aky6VHx9S0yUdMgajAiE/BS58EzGRSKZbiURvgahLmjNDZCrM2zKoEwe5uByWY7FY+SE 4BJINtnpysB1ZGeBT6aiLuar898ZbBwHXmniTyv/RxqROvGhe1y2HF1QDv34nh2B3qBj 0LVS/AnVwKbMVeHQVeyjVX8huLQ28cknxXeXaCfHAQeynaQ6nx+Rw4cZTZOPujrOYFbq uk/tZrApe5cWUR/HgOXUJBgIyfohfsFoHMqX5i16uAAxqGuxdFgbYiyOu30EfwLvXPtg HdKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:arc-authentication-results; bh=o0t7+EDG/CqGjkfH6F74zQCj37vF19tZ8mE1Ni3CEVk=; b=aPojJ8EXJ5gDH3IJqnZa+3zoTR7ILOml0Ok5RNauQBkPhs2YZMkuudx8BsK4ov3E8d g5lZc2hQW5YdY/uIRsZ6smPnU11zYzE9021kHOMAhWQfJ7Sq92Qm/EgbI1Je6NEkk6q2 W7uicgPGxodQ7O5EuDuBjiFSIddptZWsHodwDAmVMroBKiXx6l399zBtD0qjAKGNczNX 1LWTC4WqD+2wVd3l5u3jEN2Q6rvSKZisnebgcOXbEcqJpi2YlXDDadxHt+vT7Y3hUEB5 AnCFR1LZbGrllFfQr9mtYUKGFi7Vx/ucoxOjGy3XV0San1k9M6FjEcW5PSNC+3M8mEJ1 WLdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=bkkQ7o6e; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l18-v6si12656693pgi.249.2018.07.25.01.17.26; Wed, 25 Jul 2018 01:17:41 -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=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=bkkQ7o6e; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728606AbeGYJ1K (ORCPT + 99 others); Wed, 25 Jul 2018 05:27:10 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.165]:34833 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728560AbeGYJ1J (ORCPT ); Wed, 25 Jul 2018 05:27:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1532506594; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=o0t7+EDG/CqGjkfH6F74zQCj37vF19tZ8mE1Ni3CEVk=; b=bkkQ7o6eIRN3n5HRpph5HhhAj9JLwTkWAT4xQOXLXT6NQnyEVt32C64fIc5OVTBQZL 5O79A0kIFjzHiRO/Jq8VdEGDsIQQROwMVKIHFalb4hsNHH1Ew3/LcjNI++Sne3j86qPn bMmZ0qz9LVHpgGFGMA/owEjCtVOowZfECsregAt41ZkfWGtEK4SMHY1teJZQhqFc9DNM 48Sdv4/7iUKlK/QFXDG/5Bn7HWeTy/oh9gnALhBE9MT6geoLLZUADdcSj44Cb02Up4SF o2ryJs0t+hq7Q9GMnU3t86zqKby9daaB3OTG+0vsJJgiqTxPV5WKX3fo8egTPm2h9osJ MAtg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw87Wiuc1qET/2Lw==" X-RZG-CLASS-ID: mo00 Received: from mbp-13-nikolaus.fritz.box by smtp.strato.de (RZmta 43.13 DYNA|AUTH) with ESMTPSA id 6047f4u6P8GQdVf (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 25 Jul 2018 10:16:26 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH 10/32] ARM: dts: omap3-gta04: update gpmc NAND setup From: "H. Nikolaus Schaller" In-Reply-To: <20180725081058.GB7467@lenoch> Date: Wed, 25 Jul 2018 10:16:28 +0200 Cc: Marek Belisko , =?utf-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org Content-Transfer-Encoding: quoted-printable Message-Id: <1E7B727D-1AED-4B00-AD2C-CF9FC562E53D@goldelico.com> References: <20180725081058.GB7467@lenoch> To: Ladislav Michl X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > Am 25.07.2018 um 10:10 schrieb Ladislav Michl : >=20 > On Wed, Jul 25, 2018 at 08:58:42AM +0200, H. Nikolaus Schaller wrote: >> to better match omap3-beagle.dts (which was the basis >> of designing the GTA04). >>=20 >> Signed-off-by: H. Nikolaus Schaller >> --- >> arch/arm/boot/dts/omap3-gta04.dtsi | 14 +++++++------- >> 1 file changed, 7 insertions(+), 7 deletions(-) >>=20 >> diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi = b/arch/arm/boot/dts/omap3-gta04.dtsi >> index 03fe404cbf56..9568e0c4d4bf 100644 >> --- a/arch/arm/boot/dts/omap3-gta04.dtsi >> +++ b/arch/arm/boot/dts/omap3-gta04.dtsi >> @@ -616,27 +616,27 @@ >> interrupt-parent =3D <&gpmc>; >> interrupts =3D <0 IRQ_TYPE_NONE>, /* fifoevent */ >> <1 IRQ_TYPE_NONE>; /* termcount */ >> + ti,nand-ecc-opt =3D "ham1"; >> + rb-gpios =3D <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 = */ >> nand-bus-width =3D <16>; >> - ti,nand-ecc-opt =3D "bch8"; >=20 > You are using weeker ECC scheme just to be compatible with another = machine? No not another machine. The GTA04 uses the same SoC and NAND chip as the = BeagleBoard, so you can imagine GTA04 being a BeagleBoard + a lot of other things. The key reason is to change the ecc scheme is to be compatible with the = U-Boot used. BootROM can only handle ham1 for the MLO. And there is no nand-ecc-opt for each partition. So we either can't mix ECC schemes if we want to be = able to read/write MLO as the first partition from kernel. > So now you cannot boot already deployed filesystem... No. We always used ham1 and bch8 wasn't working at all here. Therefore = nobody did use upstream kernel for NAND yet... > Also is it enough for > NAND chip used? Well, the chip is recommended to use bch8 but BootROM imposes above = mentioned limits. BR, Nikolaus >=20 > ladis >=20 >> + #address-cells =3D <1>; >> + #size-cells =3D <1>; >>=20 >> - gpmc,sync-clk-ps =3D <0>; >> + gpmc,device-width =3D <2>; >> gpmc,cs-on-ns =3D <0>; >> gpmc,cs-rd-off-ns =3D <44>; >> gpmc,cs-wr-off-ns =3D <44>; >> gpmc,adv-on-ns =3D <6>; >> gpmc,adv-rd-off-ns =3D <34>; >> gpmc,adv-wr-off-ns =3D <44>; >> - gpmc,we-off-ns =3D <40>; >> gpmc,oe-off-ns =3D <54>; >> + gpmc,we-off-ns =3D <40>; >> gpmc,access-ns =3D <64>; >> gpmc,rd-cycle-ns =3D <82>; >> gpmc,wr-cycle-ns =3D <82>; >> gpmc,wr-access-ns =3D <40>; >> gpmc,wr-data-mux-bus-ns =3D <0>; >> - gpmc,device-width =3D <2>; >> - >> - #address-cells =3D <1>; >> - #size-cells =3D <1>; >> + gpmc,sync-clk-ps =3D <0>; >>=20 >> x-loader@0 { >> label =3D "X-Loader"; >> --=20 >> 2.12.2 >>=20 >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-omap" = in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html