summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorWojciech Nizinski <[email protected]>2023-09-25 12:37:15 +0200
committerMattijs Korpershoek <[email protected]>2023-10-31 14:36:30 +0100
commit355aab94d1f675ec1118906e1f88dfdf6a3582eb (patch)
treed278e353aeb97ff64125738cc2ec1ff0e6bbed35 /doc/develop
parentcbba1b7766bd93d74e28202c46e69095ac13760b (diff)
fastboot: fix CRC32 chunk size checking
genimage create android-sparse file with CRC32 chunk at end. When U-Boot's fastboot receives this chunk it returns error message: `Fail Bogus chunk size for chunk type Dont Care` According to reference implementation of Android's sparse file format: <https://android.googlesource.com/platform/system/core/+/refs/heads/main/ libsparse/output_file.cpp#513> the chunk_header.total_sz is CHUNK_HEADER_LEN + 4 (CRC32 size). Signed-off-by: Wojciech Nizinski <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Tested-by: Mattijs Korpershoek <[email protected]> # on vim3 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions