Writing UBI image directly to flash from barebox

Jan Remmet J.Remmet at phytec.de
Wed Jun 15 06:27:58 PDT 2016


On Wed, Jun 15, 2016 at 02:57:45PM +0200, Guillermo Rodriguez Garcia wrote:
> Hi all,
> 
> 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?
You can use ubiformat MTDEVICE -f FILE to format and flash the ubi image.

Jan
> 
> (I know that it is possible to write a ubifs image to flash using the
> procedure described in the documentation [1]. What I am looking for is
> a way to work with the UBI image directly)
> 
>  [1]: http://barebox.org/doc/latest/user/ubi.html
> 
> Thank you,
> 
> Guillermo Rodriguez Garcia
> guille.rodriguez at gmail.com
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox



More information about the barebox mailing list