Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id F258FE008D7; Sun, 9 Nov 2014 08:28:07 -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: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [178.32.228.69 listed in list.dnswl.org] Received: from mo69.mail-out.ovh.net (mo69.mail-out.ovh.net [178.32.228.69]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BEC11E007C2 for ; Sun, 9 Nov 2014 08:28:04 -0800 (PST) Received: from mail174.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo69.mail-out.ovh.net (Postfix) with SMTP id 8103AFFA89F for ; Sun, 9 Nov 2014 16:10:11 +0100 (CET) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 9 Nov 2014 17:10:09 +0200 Received: from tal33-3-82-233-81-124.fbx.proxad.net (HELO e6520eb.localdomain) (eric%eukrea.com@82.233.81.124) by ns0.ovh.net with SMTP; 9 Nov 2014 17:10:05 +0200 Date: Sun, 9 Nov 2014 16:09:25 +0100 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: Alexander Holler Message-ID: <20141109160925.17f94589@e6520eb.localdomain> In-Reply-To: <545F3E8F.8040003@ahsoftware.de> References: <1415353415-3805-1-git-send-email-holler@ahsoftware.de> <20141107150003.27c16356@e6520eb.localdomain> <20141107160443.765f9b19@e6520eb.localdomain> <545CE3DE.4070902@ahsoftware.de> <545CF576.5050403@ahsoftware.de> <545D79DC.8030701@mail.bg> <545E65D3.5080003@ahsoftware.de> <545F3E8F.8040003@ahsoftware.de> 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: 9497247190143053170 X-Ovh-Remote: 82.233.81.124 (tal33-3-82-233-81-124.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejhedriedtucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejhedriedtucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Cc: "meta-freescale@yoctoproject.org" , Jon Nettleton , Otavio Salvador 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: Sun, 09 Nov 2014 16:28:08 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Alexander, Le Sun, 09 Nov 2014 11:14:39 +0100, Alexander Holler a =E9crit : > Am 08.11.2014 19:49, schrieb Alexander Holler: >=20 > > I'm not confused, at least not in regard what you want to suggest. Of > > course, I'm totally confused about the fact that almost nobody else > > before has critized that write functionality of this driver, also I'm > > already used to the fact that I'm unable to understand many things which > > are happing in todays world. But nobody is perfect. ;) >=20 > Just to make it more clear what this thread is about, here is a relevant= =20 > sentence copied form the reference manual for the chip: >=20 > "In order to avoid "rogue" code performing erroneous writes to OTP, a=20 > special unlocking sequence is required for writes to the fuse banks." >=20 That's why adding an unlock sysfs entry would match the required sequence to unlock the write access on the user point of view, but that's Freescale's problem and policy. > Now guess why the HW was designed this way. And then look again at the=20 > driver which nullifies the careful implementation in the HW. It doesn't=20 > have to be the fault of the author, e.g. he just might have written it=20 > for internal use. The problem is that it went into kernels for public=20 > use and nobody has seen a problem. Might be because of missing knowledge= =20 > about what the driver does at all or whatever. I don't know. >=20 Evaluation boards come with unlocked/unburned fuse so if a designer wants to evaluate his fuse configuration on an EVB during the design phase of his custom product he may need this driver especially when using Freescale's MFG Tools. If your Wandboard has unburned fuses and their kernel has this driver, then ask them why they keep this features open to their users by default (this can be because the SOM are intended to be used in final products and they let the final user of their SOM burn what he wants in the fuse - his own MAC address for example - so here again that's the job of the end product designer to remove this feature once he launch his product on the market). Best regards, Eric