mtd: ubiformat: Add support for image confirmation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mtd: ubiformat: Add --confirm argumentubi-utils/ | +24 | 2 replies | |
| 2/2 | mtd: ubiformat: Add confirmation fail exitubi-utils/ | +12 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] mtd: ubiformat: Add support for image confirmation
Working with ubi images being flashed to NAND using ubiformat, I found it desirable to ensure that the data that has been flashed is properly written to the device using a readback mechanism.
These patches add a -c, --confirm argument to ubiformat that will cause the program to read back the eraseblock written in the flash_image function, then use a memcmp to verify it was written correctly.
This is my first patch and I am happy to make any requested changes.
Joe Balough (2):
mtd: ubiformat: Add --confirm argument
mtd: ubiformat: Add confirmation fail exit
ubi-utils/ubiformat.c | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.3