Writing UBI image directly to flash from barebox

Juergen Borleis jbe at pengutronix.de
Wed Jun 15 06:26:31 PDT 2016


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>

Cheers
Jürgen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Linux Solutions for Science and Industry      | Phone: +49-5121-206917-5128 |
Peiner Str. 6-8, 31137 Hildesheim, Germany    | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |



More information about the barebox mailing list