Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ubiformat: Allow to ubiformat with a buffer given | Sascha Hauer | 2018-02-09 | 1 | -0/+7 |
| | | | | | | | So far ubiformat can only handle files. Make it possible to pass a buffer into ubiformat. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | ubiformat: Add ubiformat write function | Sascha Hauer | 2018-01-11 | 1 | -0/+3 |
| | | | | | | | | | | | | | The ubiformat C API expects an image file as argument. With upcoming Android fastboot sparse image support we can no longer provide a complete image anymore. With this patch we can write an image in multiple chunks after we've formatted a MTD device with ubiformat. ubiformat_write will skip the EC header in both the MTD device we write to and also the image we read from, so we can flash an image on a MTD device containing EC headers already. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | commands: ubiformat: move code to common/ | Sascha Hauer | 2016-04-26 | 1 | -0/+23 |
This is the final step to separate the ubiformat code from the command. With this the ubiformat code gains a C API. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |