Writing UBI image directly to flash from barebox
Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com
Wed Jun 15 07:55:04 PDT 2016
Hi Jürgen,
2016-06-15 15:26 GMT+02:00 Juergen Borleis <jbe at pengutronix.de>:
> Hi,
>
> 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>
I did not realize that ubiformat could also flash an image. This works perfect.
Thank you,
Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com
More information about the barebox
mailing list