Skip to content
Commit 14b866e6 authored by This contributor prefers not to receive mails's avatar This contributor prefers not to receive mails Committed by Stefan Roese
Browse files

tools: kwbimage: Fix generating, verifying and extracting SDIO kwbimage



Despite the official specification, Marvell BootROM does not interpret
srcaddr from SDIO image as offset in number of sectors (like for SATA
image), but as offset in bytes (like for all other images except SATA).

To generate SDIO kwbimage compatible with Marvell BootROM, it is needed to
have srcaddr in bytes. This change fixes SDIO images for Armada 38x SoCs.

Fixes: 501a54a2 ("tools: kwbimage: Fix generation of SATA, SDIO and PCIe images")
Fixes: 5c61710c ("tools: kwbimage: Properly set srcaddr in kwbimage v0")
Fixes: e0c243c3 ("tools: kwbimage: Validate data checksum of v1 images")
Fixes: aa6943ca ("kwbimage: Add support for extracting images via dumpimage tool")
Signed-off-by: default avatarPali Rohár <pali@kernel.org>
parent f10905b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment