Re: Writing UBI image directly to flash from barebox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/<your-partition> -y -f /mnt/tftp/<your-ubi-image>
>
> 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ürgen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

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




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux