Re: Writing to the OCOTP on mx28 boards

2012-09-28 Thread Maxime Ripard
Hi Sascha, Le 28/09/2012 14:42, Sascha Hauer a écrit : > On Fri, Sep 28, 2012 at 02:23:32PM +0200, Maxime Ripard wrote: >> Le 28/09/2012 14:08, Maxime Ripard a écrit : >>> Hi everyone, >>> >>> I'm trying to write down some data to the /dev/ocotp file, which is >>> basically a one time programming

Re: Writing to the OCOTP on mx28 boards

2012-09-28 Thread Sascha Hauer
On Fri, Sep 28, 2012 at 02:23:32PM +0200, Maxime Ripard wrote: > Le 28/09/2012 14:08, Maxime Ripard a écrit : > > Hi everyone, > > > > I'm trying to write down some data to the /dev/ocotp file, which is > > basically a one time programming chip containing four bytes. > > > > Using the command mw

Re: Writing to the OCOTP on mx28 boards

2012-09-28 Thread Maxime Ripard
Le 28/09/2012 14:08, Maxime Ripard a écrit : > Hi everyone, > > I'm trying to write down some data to the /dev/ocotp file, which is > basically a one time programming chip containing four bytes. > > Using the command mw -b -d /dev/ocotp 0-3 0x01020304 writes down only > "4" to the first byte of t

Writing to the OCOTP on mx28 boards

2012-09-28 Thread Maxime Ripard
Hi everyone, I'm trying to write down some data to the /dev/ocotp file, which is basically a one time programming chip containing four bytes. Using the command mw -b -d /dev/ocotp 0-3 0x01020304 writes down only "4" to the first byte of the OCOTP, which is not quite what I was expecting. What's t