Skip to content

Commit

Permalink
Merge pull request #8 from WallaceIT/bufsize_checksum
Browse files Browse the repository at this point in the history
Add options to limit write buffer and modify checksum behavior
  • Loading branch information
embetrix authored Dec 27, 2024
2 parents 9a0317a + f007de2 commit 4edbdd1
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 85 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ Unlike the Yocto BMAP tool, `bmap-writer` is C++ based does not require Python a

## Usage

```sh
bmap-writer [-n] <image-file> [bmap-file] <target-device>
```
bmap-writer <image-file> [bmap-file] <target-device>

```
* `-n`: Skip checksum verification

## Yocto Integration

Expand Down
4 changes: 4 additions & 0 deletions bmap-writer-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,8 @@ cmp test.img.out test.zst.img.out

echo "## Write the file with bmap-writer and zstd"
./bmap-writer test.img.zst test.zst.img.out
cmp test.img.out test.zst.img.out

echo "## Write the file with bmap-writer and zstd (skip checksum)"
./bmap-writer -n test.img.zst test.zst.img.out
cmp test.img.out test.zst.img.out
Loading

0 comments on commit 4edbdd1

Please sign in to comment.