mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Writing to the OCOTP on mx28 boards
@ 2012-09-28 12:08 Maxime Ripard
  2012-09-28 12:23 ` Maxime Ripard
  0 siblings, 1 reply; 4+ messages in thread
From: Maxime Ripard @ 2012-09-28 12:08 UTC (permalink / raw)
  To: barebox; +Cc: Brian Lilly

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 the correct syntax for the mw command?

Thanks,
Maxime


-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-28 14:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28 12:08 Writing to the OCOTP on mx28 boards Maxime Ripard
2012-09-28 12:23 ` Maxime Ripard
2012-09-28 12:42   ` Sascha Hauer
2012-09-28 14:39     ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox