[PATCH v2 4/6] imx25: add chip specific IIM fusebox defines

Sascha Hauer s.hauer at pengutronix.de
Thu Mar 3 10:46:00 EST 2011


On Thu, Mar 03, 2011 at 05:31:47PM +0200, Baruch Siach wrote:
> Hi Eric,
> 
> On Thu, Mar 03, 2011 at 04:13:31PM +0100, Eric Benard wrote:
> > do you have an example on how to blow fuses on i.MX25 for example
> > for setting the mac address or the boot configuration bits ?
> 
> Here you go:
> 
> # allow fuses blow
> imx_iim_bank0.permanent_write_enable=1
> # put the MAC address 02:4b:b1:71:0f:29
> mw -b -d /dev/imx_iim_bank0 26+6 0x02 0x4b 0xb1 0x71 0x0f 0x29

The +6 is a noop here. mw will write the amount of data given no matter
how big the area is you specify.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list