Skip to content
Snippets Groups Projects
Commit d28baea0 authored by Michal Simek's avatar Michal Simek
Browse files

tools: xilinx: Fix zynq/zynqmp image recognition


There is an issue to recognize zynq or zynqmp image because header
checking is just the same. That's why zynqmp images are recognized as
zynq one.
Check unused fields which are initialized to zero in zynq format
(__reserved1 0x38 and __reserved2 0x44) which are initialized for
zynqmp. This should ensure that images are properly recognized by:
./tools/mkimage -l spl/boot.bin

Also show image type as ZynqMP instead of Zynq which is confusing.

Reported-by: default avatarAlexander Graf <agraf@suse.de>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Tested-by: default avatarAlexander Graf <agraf@suse.de>
parent c436bf92
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment