From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1PvAj4-0008El-Ms for barebox@lists.infradead.org; Thu, 03 Mar 2011 15:46:05 +0000 Date: Thu, 3 Mar 2011 16:46:00 +0100 From: Sascha Hauer Message-ID: <20110303154600.GU29521@pengutronix.de> References: <0c648f6900c08f4c3db74b5a2eb9878e393bca69.1281966840.git.baruch@tkos.co.il> <4D6FB01B.7000406@eukrea.com> <20110303153146.GI20423@jasper.tkos.co.il> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110303153146.GI20423@jasper.tkos.co.il> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v2 4/6] imx25: add chip specific IIM fusebox defines To: Baruch Siach Cc: barebox@lists.infradead.org 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox