Received: by 10.223.164.202 with SMTP id h10csp1631939wrb; Mon, 27 Nov 2017 05:28:55 -0800 (PST) X-Google-Smtp-Source: AGs4zMZIbvvKccwOhes+ws819JXpbrKo6KxPi0EvHXuXP1+Yi/x5AEN421SauvyDbX+qTEjDXLga X-Received: by 10.159.216.150 with SMTP id s22mr38296823plp.158.1511789335825; Mon, 27 Nov 2017 05:28:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511789335; cv=none; d=google.com; s=arc-20160816; b=vrGYvPr07bOCcLDK+i4rXZwPK2wEnEBA0QhZB78oJjueyg4i36PziNT5MgQQyiyGtd ktdT8cyYBVm/bTE5DSr1Nn+eZioaXPRHR62KvNUe97Qmctph7ouQw8f9TTUIkHbxgiBL bMWIQzPKESRtCsnWVKzy/IJJ9WaPDyUhrFhsd3HiqYydcf+cjf3+2LR2gru1IvoBA2iu 1jlRzihP0CS1jzI5SsQLHEDX49FZt+S7R2v8i+YJVVU422mf4ciDdnzOsHyieE67Cl+L hNJwLsEc6IoAO2G36Dls6Oj18uXG0UefatF6jC2FhUZEfQ8+qS2Qsx7ArZC7UpM7wC1s Fbwg== 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=1AFp/qkPQadv9+9E62IGic/LMtVzYU5bj+novbLJOFQ=; b=Pp88Cw5p/s8NkbIut1CDMQklIS2BPsTNmc+BFSg+Oe9Bsvl2Ve3HD0GeeOJIOERyPz 75uZF2pVVn1TPWQn75T2/lsy289NvqL3KVX3C0LaDrhJwGXvV1PgN9pxf6Pb9BuN+sXV r0ZQN0rP//dNns4eBlda6X72mt2ByN/Rzld8MUSdhCOtTK6auKoDhwJwwW9oeo0KMY4u uMlnm6qvJAtevhk0KsB6fGzE4OkqnczD3n/XRqOAHfnXm0ZKqCIznBWskllDw2F++KYn Z4/TcdcpX8L6MVJZMUY19TIfn8rCczU+lNMNmTRVTusxEVomXgZxqEVGjPx65wDn1dYe 0TCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ossystems-com-br.20150623.gappssmtp.com header.s=20150623 header.b=uHsEnh3P; 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 s186si18165908pgb.692.2017.11.27.05.28.44; Mon, 27 Nov 2017 05:28:55 -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=uHsEnh3P; 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 S1752356AbdK0N2J (ORCPT + 77 others); Mon, 27 Nov 2017 08:28:09 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:38054 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752037AbdK0N2H (ORCPT ); Mon, 27 Nov 2017 08:28:07 -0500 Received: by mail-oi0-f66.google.com with SMTP id g139so9398121oic.5 for ; Mon, 27 Nov 2017 05:28:06 -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=1AFp/qkPQadv9+9E62IGic/LMtVzYU5bj+novbLJOFQ=; b=uHsEnh3P8njcdsT3UVWauVD+Vn9F5DZs5ptwSSiQCoEKBu4MS2L6kiGHLMQylgytQH anQh9nIBGB3+o/ZvfAGi9GQ7YHCAa5+02s58RM1b/UosNb5Z10Yxou0iRwH7bDPnKns0 3BYtDSyOqUg97cAvVyDypyHLBULV9ysolTagZxEPV305Js9LI7pvdARrfh3ZRj+Hf9jX QAEg/b6Ssa9af32mLh+w9SjB3Jl29hYK5UhqI65+ps7SzT+fziziboLC5JcECWro1yy2 PREGSMtlCdhIZe90d7VhIwMP4A/nQAH4hQmqiYAwXK3YkFeay6PapU91LGcPOApNVecu 8BQA== 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=1AFp/qkPQadv9+9E62IGic/LMtVzYU5bj+novbLJOFQ=; b=oHUhOF661uIJ/fOqbKUog8vdiVO53PN3FxKSzl86zCGW8DavYMO0vs0qicRZ8TVcIO cSyc/uiNMHyFmQj5WaHx77zFqyd4xtHcCnjuuQtUH5IcEvgEyQ7lgmDYpfM8v62+JNz3 2njo9pmm/Q7SV15cQTvFpp0BOrPwK5IW/NUwjgGR3PS0eIJc4xaXBorN2wRDPnVev78O Kg37H+Gxa36vOP7i7Opi4600C9qdcWmqbQRTi1DrD4NRsHZOJqgDHEsIuA2/iXrmITDM +N3JbW/BRuTfiQ0apXmULae8tPehOo2D2mdZKOu9OAsVHGBX+On51QvDcGTVQQjQDkoL 0+xw== X-Gm-Message-State: AJaThX74nmSeWowFwFpdtWCbqBCfXM44uEnCkiGTnXFOmBPzuwJFyaeM 3A16EfL3OrRfWdpBfx4NCxVQt8Gq X-Received: by 10.202.166.206 with SMTP id t75mr16273326oij.28.1511789286369; Mon, 27 Nov 2017 05:28:06 -0800 (PST) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com. [209.85.218.47]) by smtp.gmail.com with ESMTPSA id k67sm11057714oib.0.2017.11.27.05.28.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 05:28:05 -0800 (PST) From: Otavio Salvador X-Google-Original-From: Otavio Salvador Received: by mail-oi0-f47.google.com with SMTP id a81so19333740oii.13; Mon, 27 Nov 2017 05:28:04 -0800 (PST) X-Received: by 10.202.67.65 with SMTP id q62mr8496723oia.37.1511789284383; Mon, 27 Nov 2017 05:28:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.17.210 with HTTP; Mon, 27 Nov 2017 05:28:03 -0800 (PST) In-Reply-To: <20171127101739.qs6ws3232hd5qwgv@t450s.lan> References: <20171124170004.31133-1-otavio@ossystems.com.br> <20171127101739.qs6ws3232hd5qwgv@t450s.lan> Date: Mon, 27 Nov 2017 11:28:03 -0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] ARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions To: Gary Bisson Cc: Mark Rutland , "devicetree@vger.kernel.org" , Otavio Salvador , Kernel development list , Russell King , Rob Herring , Sascha Hauer , Fabio Estevam , Shawn Guo , "linux-arm-kernel@lists.infradead.org" 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 Mon, Nov 27, 2017 at 8:17 AM, Gary Bisson wrote: > Hi Otavio, > > On Sat, Nov 25, 2017 at 07:55:53AM -0200, Otavio Salvador wrote: >> 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? > > Agreed, I would rather have the lock option, especially for the splash > and environment. I will prepare a new patch using the lock option on the three partitions so we allow the user to change them but knowing it may break the system. -- 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 1585214054435478407@xxx Mon Nov 27 10:18:49 +0000 2017 X-GM-THRID: 1584967580564648452 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread