Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp530414imm; Wed, 25 Jul 2018 01:20:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcLlDjWJpJ70yfL8tqGTYPRJM9YgCzIdzwwcm5JVseV1AHEwzRd8Pj7+c8+TQHzScsKCqbc X-Received: by 2002:aa7:88d3:: with SMTP id p19-v6mr21158329pfo.160.1532506814815; Wed, 25 Jul 2018 01:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532506814; cv=none; d=google.com; s=arc-20160816; b=BMRqEcqLvs1MKxwTYeY+spI5P2gPSAgbtugxFdyo7fUVynN3IdarIieF6wEEfri0kW DolMs9iXG40dZLMnoWJWMF88a5jf7rDG0s4fOf/sUFX9hwnqTaBaFZBSm5m2i/FvoqXn gRNRTMxDO1Ipe69BG8cWcL4QoN5pedqV96//VNlWZ/NHFkrmeGZKSmEqp6PnaSCgJ+Lm okTipFpjHSce26+VZeBLMNMmJGxfwbEl5UDKrlC4DIB9KQXkEgQLtgx1qFVUu6pQioOF R0ktVkuS5J/Y03UodLVbkuoi+LzdQHjd6msAQDR4lcqvCxqhbYxe0TRXIiZIOYRnjRY7 sGMw== 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=FrlSZ3safBBWgxvjCNwgkvQIMG+VGeh9ygw8ycEhi00=; b=0jEknQgo7rwBLsihmIXnvy2vhNzewkyY9lYZfY6sLYjK7N8XClJszRDfVSYwefvl8k lmo+3fsnwrBQkBEObTvDHAD+Zdq1h+oNyZ1A7MUw+fauNrTKCHAEVFPL3nPI8CJIIYGZ IqOBtIf5L3G3DA13sIaQx8VL7g3oA6PyW3coxCxQ48lakflTxvS1Su3p0uTmjU4vfUCH 3Esu3B6AKjlJJwlloCR5Rg/NV/2E68k2JEikz8QLd7hsPBv4zt+aYks4qlTC8OJjG0QD AOdnS51GI8LvzDatdnNaZ96AR1ge2YeOZ2viWTDgxhr58xDs1yHN8e2tVyGqUegqW93U NDWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=Wy5Clo3q; 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.20.00; Wed, 25 Jul 2018 01:20:14 -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=Wy5Clo3q; 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 S1728696AbeGYJ3E (ORCPT + 99 others); Wed, 25 Jul 2018 05:29:04 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.51]:26711 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728573AbeGYJ3D (ORCPT ); Wed, 25 Jul 2018 05:29:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1532506708; 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=FrlSZ3safBBWgxvjCNwgkvQIMG+VGeh9ygw8ycEhi00=; b=Wy5Clo3q6leNLMQO1LUGkI5vvS2Xo/5Tc7i6oWllGBVbKOiSDsP4ZZ9Q5bQ5J5yUi3 f8dzu7F7/DnWbJ9AQDv+Ija8lxckXi81NhCsmVZSmXDtN3H+tUzWNgQ5yEEInGaBHE/+ tIe2RReAo7S3E9tX7HpcuEAKz7ZsT6jiRRky4CybxJIBpY6aUwcIN2TqjolRG262XSrK Vc8pWM8BFBC1mJtQFKUsTpSiA/KRrqyrUwGNwafm7Td+ephXgcMG28uw6WZbo5UBmufn iIPXcSyEE9g54WEJQZeKZ0SlKG0Gdv0t130y2lHODUjV+JY6xD+cQ5jNm9VUgNYyWTpa Iy6g== 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 6047f4u6P8IRdWQ (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:18:27 +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: <20180725080735.GA7467@lenoch> Date: Wed, 25 Jul 2018 10:18: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: References: <8dcf3efd3270451314a663c125841ca87ed2b387.1532501910.git.hns@goldelico.com> <20180725080735.GA7467@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: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. 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. BR, Nikolaus >=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