mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gary Bisson <gary.bisson@boundarydevices.com>
To: Otavio Salvador <otavio.salvador@ossystems.com.br>
Cc: Otavio Salvador <otavio@ossystems.com.br>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	Fabio Estevam <fabio.estevam@nxp.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Sascha Hauer <kernel@pengutronix.de>,
	Kernel development list <linux-kernel@vger.kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Russell King <linux@armlinux.org.uk>,
	Shawn Guo <shawnguo@kernel.org>
Subject: Re: [PATCH v2] ARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions
Date: Mon, 27 Nov 2017 11:17:39 +0100	[thread overview]
Message-ID: <20171127101739.qs6ws3232hd5qwgv@t450s.lan> (raw)
In-Reply-To: <CAP9ODKoefNEcQtrCCLEa7hzx2D_2vJTit0t8ooQGTx7Uyds1mQ@mail.gmail.com>

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
> <otavio@ossystems.com.br> 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 <otavio@ossystems.com.br>
> 
> 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.

Regards,
Gary

  reply	other threads:[~2017-11-27 10:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-24 17:00 Otavio Salvador
2017-11-25  9:55 ` Otavio Salvador
2017-11-27 10:17   ` Gary Bisson [this message]
2017-11-27 13:28     ` Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171127101739.qs6ws3232hd5qwgv@t450s.lan \
    --to=gary.bisson@boundarydevices.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabio.estevam@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=otavio.salvador@ossystems.com.br \
    --cc=otavio@ossystems.com.br \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®