Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1187957imm; Wed, 25 Jul 2018 13:09:28 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdB+lhPUsVDewM4rCrUPutjmBuVvIAq8WWdQwVvKKo6MwVbXvd04EkmaYn4NZyRa/TUaXig X-Received: by 2002:a17:902:8215:: with SMTP id x21-v6mr22165344pln.175.1532549368676; Wed, 25 Jul 2018 13:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532549368; cv=none; d=google.com; s=arc-20160816; b=ST31vmsp1RNC0TFXiTTOLKAyRqrThksW0k7YPOkD1psxxmQyDe1PByCe1kqRTvADVS n07H/Yo28roHmIi4ntifKgSVGOklFuKkAQnBT+hOwlPkOZdFp25IHH8BrpBjzPBoISE0 CzwoqusC6q7kyFpx8hjDv9G+mLCPXsfXwC2b7pGWyB2BvXB+2bvjE+xPdDh5pjwSBV59 +FdFUik0EHmttM0dK7IR6z/eG+11Fbfqb8OBz2Q4J4q7PZNcXkElD2OkdWaOUm96mcXS 6FNtDMv+YxAeGvpQocezuJOFRstNIm3B6f2eP0pgVnqVoIXwtjqmZadGXVATmZwQ0oBA qzGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=d0gHBrbFAPhRfypKYrzgHTIW6tDdMMb6iUbBmlaynlM=; b=y5g11eoD6gEQW3VpDe6I5svtZdDwhXSxQFZUamxHerJALJAsDDvPSycyTEhMx+unEn DIiBCXZrvOAFvBlb55FE+AdToZ9bH3KMZ1ODnaaxmgiyAs4jH3/xwLu+koZ3l5enswUP nRNpP2r+y0nTOqbGsCNORK7r6Ky5BVLaY3hLTMcIuQOOxtpuwGW5Si4DqYOznGqn0nSS NFyl2MCM/ADdzQ8xkN9KDGFJw+kbR63EpU/5U3TSnW3UeIp+LbYB4qTYKolpEPqNl5t2 BHLKvX93nJ5PmjJvH/6iWbMaJLRzaa7RyLrXAvgCQjqCe7vGSghr+U0HBWeJ2yvJ8MFS LzAw== ARC-Authentication-Results: i=1; mx.google.com; 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 6-v6si15173741pfk.287.2018.07.25.13.09.13; Wed, 25 Jul 2018 13:09:28 -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; 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 S1731174AbeGYVUj (ORCPT + 99 others); Wed, 25 Jul 2018 17:20:39 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:46908 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730956AbeGYVUj (ORCPT ); Wed, 25 Jul 2018 17:20:39 -0400 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23992289AbeGYUHXGkuy6 (ORCPT + 2 others); Wed, 25 Jul 2018 22:07:23 +0200 Date: Wed, 25 Jul 2018 22:07:19 +0200 From: Ladislav Michl To: Andreas Kemnade Cc: Discussions about the Letux Kernel , "H. Nikolaus Schaller" , Mark Rutland , devicetree@vger.kernel.org, Tony Lindgren , linux-kernel@vger.kernel.org, Rob Herring , =?iso-8859-2?Q?Beno=EEt?= Cousson , linux-omap@vger.kernel.org Subject: Re: [Letux-kernel] [PATCH 09/32] ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot Message-ID: <20180725200719.GA28936@lenoch> References: <8dcf3efd3270451314a663c125841ca87ed2b387.1532501910.git.hns@goldelico.com> <20180725080735.GA7467@lenoch> <20180725083305.GB8303@lenoch> <20180725182745.6e436abc@aktux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180725182745.6e436abc@aktux> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 25, 2018 at 06:27:45PM +0200, Andreas Kemnade wrote: > On Wed, 25 Jul 2018 10:33:05 +0200 > Ladislav Michl wrote: > > > On Wed, Jul 25, 2018 at 10:18:28AM +0200, H. Nikolaus Schaller wrote: > > > > > > > Am 25.07.2018 um 10:07 schrieb Ladislav Michl : > > > > > > > > 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: > > > >> > > > >> * 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 > > > >> > > > >> Let's be compatible (e.g. Debian kernel built from upstream). > > > > > > > > That, in fact, is breaking compatibility. > > > > > > With what? Nobody is using the old u-boot partition scheme any more > > > (it is >5 years old). > > > > > > > So once you are touching this > > > > what about relying on partitioning provided by bootloader just to prevent > > > > something like this happening again? > > > > > > 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. > > > > 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) > > > hmm, so using mtdparts kernel commandline parameter? Somehow it sounds > to be sane to not have partition tables in kernel. What only is needed > is to have a nice transition scheme for systems in the wild, can > commandline mtdparts overwrite dtb? So dtb is a fallback? That's beginning to be offtopic here... Anyway, see U-Boot's CONFIG_FDT_FIXUP_PARTITIONS. Probably better to start a thread on U-Boot mailing list if needed. > But I think all that is a future improvement? Depends on vendor decision, it could be done in a few days :) Best regards, ladis