Received: by 10.223.164.202 with SMTP id h10csp3100166wrb; Sat, 25 Nov 2017 01:57:15 -0800 (PST) X-Google-Smtp-Source: AGs4zMbeDRfLYs9iyiRK9RmMjomreDDKhHxi/nG9aVtN6e9Ueaf6kjyqbBrMd7t8u7Q+/CKD3md1 X-Received: by 10.84.240.6 with SMTP id y6mr30756348plk.301.1511603834913; Sat, 25 Nov 2017 01:57:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511603834; cv=none; d=google.com; s=arc-20160816; b=anRWnWPfheeHLxUiED22bSlGKW3O4JwaRyZGMpcfytyuVJrfhNba7M0eKOokkoavqy 29oaSuBA2o0+RyWJQ4lS2zs0vL2MsJZoSGtmpOVy5ESZ0zninVSpMB43YYevUClG6pl6 +uuxz18mqEQay/4ULPDI4nNEW7jW1DPt9AbxDY0A1W2OpOUbBuRxEZZktmMJGRUN5wTR yQ3tDjGOnUcxN417O032F2UNwhgTvWwpPtyN2DvhX6JppxBsGP0pvATlMA4wyRSziBua CmjIfF138NO//Ea91o9EcVXbPcaj7UIUnWLwcMVFZmCDNEjqi2O9NpXy5VltBHteFMps zLVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:references :in-reply-to:mime-version:from:dkim-signature :arc-authentication-results; bh=Ocq+wPeSEXdhhvTDcGwX849lTzHf6hxKU3lDbsopFxk=; b=itXFpqJe0tcZ4yKX1QNr/vHbXJsCuaOMSnBX9u3FySXzOWsKA2CTyGM89wGjLg+KaT a2CW6JNF5YYqrpYpGRtw9qL0uSY1pfLIahLjG00gCMb8/JxwHRP0zhCAnRzinu9/yUFp LpURxTS45Xe6yo4q9glPQzwIam92Lmvp8PfrUxvdfvC/UEdeDrusC0N9/0oxbj7rHCpQ RAjC+ljbh9dZHpO6Ts155Q51vS6Sym3+TRKYhAKBQGbHXfyPKr2eDaRkAC2Wr8xwSVMA oQ6yKSlVy6omy4rfcCFEunzLpho8hTycvlLZzU08Q/8bT+TAjHTsBTIVhCxIBUK9G4vL cleg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ossystems-com-br.20150623.gappssmtp.com header.s=20150623 header.b=z43zvdjQ; 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 i87si5961375pfi.301.2017.11.25.01.56.56; Sat, 25 Nov 2017 01:57:14 -0800 (PST) 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=pass header.i=@ossystems-com-br.20150623.gappssmtp.com header.s=20150623 header.b=z43zvdjQ; 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 S1751122AbdKYJz7 (ORCPT + 79 others); Sat, 25 Nov 2017 04:55:59 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:33954 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbdKYJz5 (ORCPT ); Sat, 25 Nov 2017 04:55:57 -0500 Received: by mail-oi0-f68.google.com with SMTP id a75so16465434oib.1 for ; Sat, 25 Nov 2017 01:55:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:mime-version:in-reply-to:references:date:message-id:subject:to :cc; bh=Ocq+wPeSEXdhhvTDcGwX849lTzHf6hxKU3lDbsopFxk=; b=z43zvdjQKZinqyysbjOrwqjR4/Up2+Z8ucePUw8zeRxg6sRVYVDn7v5Hqn7Nnp7Ne4 R4YQxoLcH9Tg/V82x8t7KDBwpElg4QjTtB0STmnJqfUifDvoyxbzyMJVhpMS95kV7ip3 qbtjFeKH21agHAAndmpVhGyJVTAkRDV0VqS3/+/xNM/GvRb6m/+pi+Z1SAu/MB5GBrQ9 W3LmJXMO2xQRKrP7Q4Rfv6xZZdaEAS+Ro5fzf68FWpNN6Ec7JhnTRCumhvqFYOnjkV+d +gPZw1sQhpbJaHPz9UzNYexwgG1oplMvJkcLCZqLTa0NM5wppTUWu0Iwvl1YwlYjI+g2 JhBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:in-reply-to:references:date :message-id:subject:to:cc; bh=Ocq+wPeSEXdhhvTDcGwX849lTzHf6hxKU3lDbsopFxk=; b=DiKTfJ6ZFm59x3DtaLycszQNVGT7Q+LVgIHOYCJzb7jwthAhWy7Em/IgB4jEE96isq HhdqOuZfSQ2qNngk+Onjj0HwTXcNZKN/c4jb8OdsdG+dBNF22ic0Mbj34H4Fb3pHRn8o 3eSwPR4TJ+DYkzfFRvnTitkuIYEDSbhWKDBvdcr7EWgZHMm2Vn8Eh1CMRNlJAcZbTP5u D23B34pc5I0YQunK/3w7eMQux6hqRSCcO2dCAKFV89QKTY6nZ8WWTnbfJKhivbI++bKI tpamh7HE+4/3pYS1Y/plfS+9h0pOrWXcfh4cFMwpeNO1TA5p1iYldWdLz6b8iVFKP1I5 CICA== X-Gm-Message-State: AJaThX5mLVISNIWMJcf7AUGPrpX7xRBLjRFXM/aZ7JzpJhVoobkwFitc jU2OoHZsV4luvyO9/UG0NiuOpoM8 X-Received: by 10.202.191.196 with SMTP id p187mr19106024oif.162.1511603757001; Sat, 25 Nov 2017 01:55:57 -0800 (PST) Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com. [209.85.218.48]) by smtp.gmail.com with ESMTPSA id u19sm2092894otu.41.2017.11.25.01.55.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Nov 2017 01:55:55 -0800 (PST) From: Otavio Salvador X-Google-Original-From: Otavio Salvador Received: by mail-oi0-f48.google.com with SMTP id z143so4001852oia.10; Sat, 25 Nov 2017 01:55:55 -0800 (PST) X-Received: by 10.202.67.65 with SMTP id q62mr4105634oia.37.1511603754695; Sat, 25 Nov 2017 01:55:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.17.210 with HTTP; Sat, 25 Nov 2017 01:55:53 -0800 (PST) In-Reply-To: <20171124170004.31133-1-otavio@ossystems.com.br> References: <20171124170004.31133-1-otavio@ossystems.com.br> Date: Sat, 25 Nov 2017 07:55:53 -0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] ARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions To: Otavio Salvador Cc: "linux-arm-kernel@lists.infradead.org" , Gary Bisson , Fabio Estevam , "devicetree@vger.kernel.org" , Sascha Hauer , Kernel development list , Rob Herring , Mark Rutland , Russell King , Shawn Guo Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 24, 2017 at 3:00 PM, Otavio Salvador wrote: > This adds the partitions definition for the SPI NOR to provide > backward compatibility with the documented[1] layout used with > Boundary Devices BSP. > > 1. https://boundarydevices.com/boot-flash-access-linux/ > > It exports to Linux: > > mtd0: bootloader > mtd1: env > mtd2: splash > > Signed-off-by: Otavio Salvador After thinking a bit about Fabio's recommendation to use 'read-only' to protect the partitions, I think it'd be better to use 'lock' so it is still possible to write them on Linux but it requires a unlock prior changing it. In my case, I am interested in being capable of upgrading the bootloader from Linux. What people think? -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 From 1584967580564648452@xxx Fri Nov 24 17:01:13 +0000 2017 X-GM-THRID: 1584967580564648452 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread