summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/test_util.py
diff options
context:
space:
mode:
authorAristo Chen <jj251510319013@gmail.com>2025-06-10 07:41:18 +0000
committerTom Rini <trini@konsulko.com>2025-06-26 08:12:54 -0600
commit7a8b25a771f069819eab6134fd1c4df520ebc9ca (patch)
tree371ed35d6845ce99fb1007a3dda0bbdb4ffae815 /tools/u_boot_pylib/test_util.py
parent21705d39144a51a50c0206c74588c6e9e4018e7a (diff)
tools: mkimage: validate image references in FIT configurations
When parsing a FIT image source (ITS), mkimage does not currently check whether the image names referenced in the /configurations section (e.g. "kernel", "fdt", "ramdisk", "loadables") actually exist in the /images node. This patch introduces a validation step during FIT import that iterates over each configuration and verifies that all referenced image names are defined under /images. If a missing image is detected, an appropriate error is reported and mkimage exits with FDT_ERR_NOTFOUND. This ensures that configuration integrity is validated at build time. Signed-off-by: Aristo Chen <aristo.chen@canonical.com>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions