From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bDQtM-00083l-WD for barebox@lists.infradead.org; Thu, 16 Jun 2016 06:35:06 +0000 From: Juergen Borleis Date: Thu, 16 Jun 2016 08:34:45 +0200 References: <201606151526.31836.jbe@pengutronix.de> <20160615145714.GC3053@lws-weitzel2@phytec.de> In-Reply-To: <20160615145714.GC3053@lws-weitzel2@phytec.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201606160834.45162.jbe@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Writing UBI image directly to flash from barebox To: barebox@lists.infradead.org, Jan Remmet Hi Jan, On Wednesday 15 June 2016 16:57:14 Jan Remmet wrote: > On Wed, Jun 15, 2016 at 03:26:31PM +0200, Juergen Borleis wrote: > > On Wednesday 15 June 2016 14:57:45 Guillermo Rodriguez Garcia wrote: > > > I need to write an UBI image (generated by ubinize) directly to flash > > > from barebox. Does barebox provide any equivalent to U-boot's > > > write.trimffs command for this? > > > > ubiformat /dev/ -y -f /mnt/tftp/ > > This may fail if the used tftp sever don't support the reporting of the > file size. The file size then defaults to -1 and ubiformat complains. > > ls -l /mnt/tftp/barebox.bin > -rwxrwxrwx 18446744073709551615 /mnt/tftp/barebox.bin Thanks, important to know. Cheers J=FCrgen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Borleis =A0 =A0 =A0 =A0 =A0 =A0 | Industrial Linux Solutions =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| http://= www.pengutronix.de/ =A0| _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox