[PATCH v4] lib: sparse: Make CHUNK_TYPE_RAW buffer aligned

Tom Rini trini at konsulko.com
Sat Jan 15 13:37:32 CET 2022


On Tue, Nov 16, 2021 at 09:35:38AM +0800, qianfanguijin at qq.com wrote:

> From: qianfan Zhao <qianfanguijin at 163.com>
> 
> CHUNK_TYPE_RAW buffer is not aligned, and flash sparse images by
> fastboot will report "Misaligned operation" if DCACHE is enabled.
> 
> Flashing Sparse Image
> CACHE: Misaligned operation at range [84000028, 84001028]
> CACHE: Misaligned operation at range [84001034, 84002034]
> CACHE: Misaligned operation at range [8401104c, 8401304c]
> 
> Fix it
> 
> Signed-off-by: qianfan Zhao <qianfanguijin at 163.com>
> Reviewed-by: Sean Anderson <sean.anderson at seco.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220115/a8ecbac8/attachment.sig>


More information about the U-Boot mailing list