Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp535086imm; Wed, 25 Jul 2018 01:27:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd4nl1pcVur8XY1wAgzvg64lYRYEWPwoEUJ9xEDbMLhu206gfeAxoLeELK8Krxtyw7tzKnn X-Received: by 2002:a17:902:8f93:: with SMTP id z19-v6mr19164955plo.241.1532507223270; Wed, 25 Jul 2018 01:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532507223; cv=none; d=google.com; s=arc-20160816; b=mhMEDtsgAuqMcCWfoQpGfHNXh7LdxL7T0KprpJVuwYrs5bp8kmwZ4L0dsSzPYk7kM5 qbbQiFk/NLm3VVcltWGOYx0xPTxe3C7xbWReJz9R0SwBJU6nC5Fp+PE9AUAWD26HMblI DaoD+VKZ+l6Shy9e2VB4LFmdmpavFv1rRWDmLPVxHbwxMJFxUGWrt5TwxHfWsEt84vid VZlNCUuWqt925i2sepHjBSzNhV9X5Ni5MnbM42ACHI8WRNYG6GtVtYZuc+E5OxQ9BQGH eTdJmCw5ka0pJopybXSAHNhG6KphMwoEyg462pv3MLVF4HMiP/1qzaHjGQ6a9EXlF/fG Huaw== 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=31GQ4dx5TuWCHRDQQ+xKyV6nWoG6OqzpEZLM+7YrHls=; b=aTybynt6mK9yynUNpUQX+CxG3ndjpYI18HnD2NCq1ywuGJS3WY5NNNnNnQYXMoBNpy ZugA8uL4Y0duK52j5spZsAIwWqeHKgDMBfy2wxhq2hhTeqNRMT0pbU7eQKpQRCkg5wPh O3yQo3ydom/hZ1bYfngyzif5aOX78Fli+T9vIK8nez+uu3vQ1jZgo3tQXvTqLnCDptGR oDE9Vvpyb1l4lHfCgyTnhssRtK9RmPN9xTxwhx03ohsD933uM1pgA8AdDC/1XV5JQnvq b6JxJvO+Xv5s2OW/6dtRthpxz7GWkiNgN2G0ytizWvey77Pgy2oWxlCfsnOBEaHcTJRb Fpew== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=bibVZW2+; 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.26.47; Wed, 25 Jul 2018 01:27:03 -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=bibVZW2+; 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 S1728647AbeGYJge (ORCPT + 99 others); Wed, 25 Jul 2018 05:36:34 -0400 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.82]:27012 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728571AbeGYJge (ORCPT ); Wed, 25 Jul 2018 05:36:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1532507156; 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=31GQ4dx5TuWCHRDQQ+xKyV6nWoG6OqzpEZLM+7YrHls=; b=bibVZW2+uNde2BsDgN/cEMAbhLjYZgdlBljhaqZI7x11E6uDKS7Sx4BWUqUcC9nIsn KkNoA+TYW2B78EEIF2RKC928FU/MLkbtYAQEH3HlZwIDSaRHOUcIggp80CiXoAgNVwAT mJCUMSFeAaLDSjdOSIE9kw3umgKV/AL21FswJM5t0KhxsAs2GBLt7MZvFbbWa+wqSXfh qi7pRGVt9+1qa5UJ4ic8xKksqgC9g5JYXDDEcI/JXj6b9TMLmWyY6V54mqIAexLsAXh3 VmGh29wiZ0x2hZ52txjEV3OLfXbdQu9t2hXNk7r6wy7GDcBAzFTvPa1dKloYdBf7Gq4e 6nYw== 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 6047f4u6P8PqddA (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:25:52 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [Letux-kernel] [PATCH 09/32] ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot From: "H. Nikolaus Schaller" In-Reply-To: Date: Wed, 25 Jul 2018 10:25:53 +0200 Cc: Ladislav Michl , Mark Rutland , devicetree@vger.kernel.org, Tony Lindgren , linux-kernel@vger.kernel.org, Rob Herring , =?utf-8?Q?Beno=C3=AEt_Cousson?= , linux-omap@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <8dcf3efd3270451314a663c125841ca87ed2b387.1532501910.git.hns@goldelico.com> <20180725080735.GA7467@lenoch> To: Discussions about the Letux Kernel 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:18 schrieb H. Nikolaus Schaller = : >=20 >=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. I should also mention that a modern and fully configured kernel binary = is already too big for a 4MB kernel partition. >=20 >=20 >>=20 >> ladis >>=20 >>> Signed-off-by: H. Nikolaus Schaller >>> --- >>> arch/arm/boot/dts/omap3-gta04.dtsi | 12 ++++++------ >>> 1 file changed, 6 insertions(+), 6 deletions(-) >>>=20 >>> diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi = b/arch/arm/boot/dts/omap3-gta04.dtsi >>> index 65f77a0b5dd4..03fe404cbf56 100644 >>> --- a/arch/arm/boot/dts/omap3-gta04.dtsi >>> +++ b/arch/arm/boot/dts/omap3-gta04.dtsi >>> @@ -645,22 +645,22 @@ >>>=20 >>> bootloaders@80000 { >>> label =3D "U-Boot"; >>> - reg =3D <0x80000 0x1e0000>; >>> + reg =3D <0x80000 0x1c0000>; >>> }; >>>=20 >>> - bootloaders_env@260000 { >>> + bootloaders_env@240000 { >>> label =3D "U-Boot Env"; >>> - reg =3D <0x260000 0x20000>; >>> + reg =3D <0x240000 0x40000>; >>> }; >>>=20 >>> kernel@280000 { >>> label =3D "Kernel"; >>> - reg =3D <0x280000 0x400000>; >>> + reg =3D <0x280000 0x600000>; >>> }; >>>=20 >>> - filesystem@680000 { >>> + filesystem@880000 { >>> label =3D "File System"; >>> - reg =3D <0x680000 0xf980000>; >>> + reg =3D <0x880000 0>; /* 0 =3D = MTDPART_SIZ_FULL */ >>> }; >>> }; >>> }; >>> --=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 >=20 > _______________________________________________ > http://projects.goldelico.com/p/gta04-kernel/ > Letux-kernel mailing list > Letux-kernel@openphoenux.org > http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel