Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp737713imm; Wed, 25 Jul 2018 05:29:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdvjbU1zlc8gisIwlAc2Zddj77wa0qfQH/HJp/K8nT+N9VsMTBSFKPEjSxdQY5D57QOoI3V X-Received: by 2002:a62:198e:: with SMTP id 136-v6mr21934689pfz.103.1532521744187; Wed, 25 Jul 2018 05:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532521744; cv=none; d=google.com; s=arc-20160816; b=wanWh7Uc8zi1slDYZUCgBjG79BPxQDQ4I6gokV7dheZd7Ah94Y6JT2LjO9qnW2LpX5 9nvqbiyDyUuajwA+WdfzUHRHQu3DqFb67RNHhBO3xigeOwzEmPR204eheX157KiS2QID 6Ni24ZoIqU+KohwNnAuDHJo1iRk5ZRIOhkKUCBo2k6bI3r21SIDVKB2ZsHVoj3YsfWnx nDBS2IO98paoVAGhvgTtTGUMgdO+D1ZZU7G9MaPDDiMBw+enEhVBs9AnfmDFtw+eEiQW jhvWyKLE3qkM8KuED957grF0UMD+KDFiaWgWEWErLF8+B3FMjThKqewpOA7WKAdWSmvR ukeA== 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=JsntnmaWsubbScLuU7xEocNdIi9CO4sb/iuOcIjCzsQ=; b=EqrB9mxNNd/uAQInit+shAwNIh/1ju51VylQgcxPXkqqPGe4m3ozEAnRshqePoJHMW V2U47gzJkTb8mw+F/H4JlwXrGfxgkk3NV1Na3oCNxrYUrsNDXZzDowxETIyPgraJmkfo w4boMDZzO70XJnPOfofwD8iEufWbJtuwmwspvU+9Vt6sjKD4U6l+CrlgU9QCy/SaLyHL wf4DiPUMeTeYGOlLf6toM+xMyQNDOCvZbuhYk+AT/2d8oyXTtsy51VthUF53k0DuiBzL NO1JOvSonoNxfw0PxQURuS9fuoCRnzktLgLEgeqNtATxXnQrV6nKVjMmdi8TdW8SQW28 2Jyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=SCvToeCE; 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 v129-v6si14394716pfv.278.2018.07.25.05.28.49; Wed, 25 Jul 2018 05:29:04 -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=SCvToeCE; 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 S1729087AbeGYNjH (ORCPT + 99 others); Wed, 25 Jul 2018 09:39:07 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.53]:30838 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728791AbeGYNjG (ORCPT ); Wed, 25 Jul 2018 09:39:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1532521656; 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=JsntnmaWsubbScLuU7xEocNdIi9CO4sb/iuOcIjCzsQ=; b=SCvToeCE31UOcstqwMmBsbbJ3fqxqDHK6RhuoCvOqyEavnq+NWi6epAHQvYhc3ZY/3 xiWF4difhJzTncZF3V5H0vCh0NJCOGXwcY8ScX/Z062nm+JIq+FePra2O14HJ7FUDgiT essaRvaLeloh+jz0FrBuvfQJYGzpnXb7enRGv3bG8iYxb7/ExNIc5zcG1UM5GVDPJuFT Aitgo0c8j9O9rUFUdoiOfsGMxs9PM1iSNcJp/NseMvjUuW6yNa4LVeWOmRg5fMdZc1yA ckoPeMVQXBVspan+0I+HfpJzVr9K0FYtpsY9+wsiHxytU//hKQ3ZlZngltTdnnyM7Grv HWgg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw87Wiuc1qET/2Lw==" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 43.13 DYNA|AUTH) with ESMTPSA id 6047f4u6PCRWfPK (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 14:27:32 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH 09/32] ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot From: "H. Nikolaus Schaller" In-Reply-To: <20180725083305.GB8303@lenoch> Date: Wed, 25 Jul 2018 14:27:31 +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: <85BC9F70-2E58-4915-9405-7CC1855975C4@goldelico.com> References: <8dcf3efd3270451314a663c125841ca87ed2b387.1532501910.git.hns@goldelico.com> <20180725080735.GA7467@lenoch> <20180725083305.GB8303@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 > Am 25.07.2018 um 10:33 schrieb Ladislav Michl : >=20 > On Wed, Jul 25, 2018 at 10:18:28AM +0200, H. Nikolaus Schaller wrote: >>=20 >>> Am 25.07.2018 um 10:07 schrieb Ladislav Michl = : >>>=20 >>> On Wed, Jul 25, 2018 at 08:58:41AM +0200, H. Nikolaus Schaller = wrote: >>>> Vendor defined U-Boot has changed the partition scheme a while ago: >>>>=20 >>>> * kernel partition 6MB >>>> * file system partition uses the remainder up to end of the NAND >>>> * increased size of the environment partition (to get an OneNAND = compatible base address) >>>> * shrink the U-Boot partition >>>>=20 >>>> Let's be compatible (e.g. Debian kernel built from upstream). >>>=20 >>> That, in fact, is breaking compatibility. >>=20 >> With what? Nobody is using the old u-boot partition scheme any more >> (it is >5 years old). >>=20 >>> So once you are touching this >>> what about relying on partitioning provided by bootloader just to = prevent >>> something like this happening again? >>=20 >> Well, we define what compatible means here (since we are the vendor). >> And people complain with us. We simply recommend them to upgrade the >> boot-loader. >=20 > Fair enough. Suggestion was to remove partitioning scheme from DTB = alltogether > and let U-Boot provide one. But you being vendor you decide, of course = :) > (I'd use only two partitions: MLO and UBI, latter one with BCH8, and = store > everything in UBI volumes. That's a bit more flexible approach) Yes, that is a good goal for a future setup and would of course be = better. Like U-Boot already provides the memory layout for RAM. Hopefully, someone will work out patches for u-boot plus kernel (which = is always painful to keep these two in sync and tested). But I don't want to do = that now. BR and thanks, Nikolaus