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:Pali Rohár <pali@kernel.org>
Loading
Please register or sign in to comment