Writing to the OCOTP on mx28 boards

Maxime Ripard maxime.ripard at free-electrons.com
Fri Sep 28 08:08:58 EDT 2012


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



More information about the barebox mailing list