Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 75A25E0076C; Fri, 7 Nov 2014 09:45:19 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [188.165.36.253 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mo4.mail-out.ovh.net (6.mo4.mail-out.ovh.net [188.165.36.253]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3FD6FE002A8 for ; Fri, 7 Nov 2014 09:45:10 -0800 (PST) Received: from mail405.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo4.mail-out.ovh.net (Postfix) with SMTP id 26BE7FF9871 for ; Fri, 7 Nov 2014 16:50:16 +0100 (CET) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 7 Nov 2014 17:50:16 +0200 Received: from pac33-3-88-170-243-169.fbx.proxad.net (HELO e6520eb.localdomain) (eric%eukrea.com@88.170.243.169) by ns0.ovh.net with SMTP; 7 Nov 2014 17:50:16 +0200 Date: Fri, 7 Nov 2014 16:50:13 +0100 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: Otavio Salvador Message-ID: <20141107165013.51c60e89@e6520eb.localdomain> In-Reply-To: References: <1415353415-3805-1-git-send-email-holler@ahsoftware.de> <20141107150003.27c16356@e6520eb.localdomain> <20141107160443.765f9b19@e6520eb.localdomain> Organization: =?ISO-8859-1?B?RXVrculh?= Electromatique X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-Ovh-Tracer-Id: 16877239604143893884 X-Ovh-Remote: 88.170.243.169 (pac33-3-88-170-243-169.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejhedrheehucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejhedrheehucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Cc: "meta-freescale@yoctoproject.org" , Jon Nettleton Subject: Re: [PATCH 0/1] arm: imx: fsl_otp: make fuses (OTP memory) read-only X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 17:45:19 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Otavio, Le Fri, 7 Nov 2014 13:07:26 -0200, Otavio Salvador a =E9crit : > On Fri, Nov 7, 2014 at 1:04 PM, Eric B=E9nard wrote: > > Maybe adding a otp_unlock entry to the sysfs before allowing write could > > secure more the feature when running on the evaluation boards so that > > the user can think twice before writing to the fuses. >=20 > I like Eric's idea of the unlock sysfs entry for this purpose. >=20 FWIW that's how it's done in barebox : http://git.pengutronix.de/?p=3Dbarebox.git;a=3Dblob;f=3Darch/arm/mach-imx/o= cotp.c;h=3D837500fff8865d64ea2ed0f129cb2a8869e0aa7d;hb=3DHEAD#l430 http://git.pengutronix.de/?p=3Dbarebox.git;a=3Dblob;f=3Darch/arm/mach-imx/o= cotp.c;h=3D837500fff8865d64ea2ed0f129cb2a8869e0aa7d;hb=3DHEAD#l294 Eric