Files
linux/scripts
Ting-Han Hou 3bf2237f59 scripts/make_fit: Ignore schema checks when decomposing DTBs
With CHECK_DTBS enabled, Kbuild appends a schema validation command to
the fdtoverlay command saved in a composite DTB's .cmd file. When DTB
decomposition is requested, process_dtb() treats every word after -i as
an input file, including the semicolon and the validator arguments.
FIT generation then fails with FileNotFoundError while opening or
checking the size of those words as files.

Limit the input list to the fdtoverlay command before extracting its
arguments. This preserves the base DTB and overlay order and ignores
the subsequent schema validation command.

Fixes: 17c31aded9 ("scripts/make_fit: Support decomposing DTBs")
Assisted-by: LLM
Signed-off-by: Ting-Han Hou <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Link: https://patch.msgid.link/CA+NtrhQBK8uW32qO3dXxVxO1GSN-0EJfyJ16tnyx0o52T17WtQ@mail.gmail.com
Signed-off-by: Nathan Chancellor <[email protected]>
2026-10-09 22:40:27 +02:00
..
2024-10-07 02:12:27 +09:00
…
…
2026-09-24 11:37:05 -04:00
…
…
…
2026-01-11 06:09:11 -10:00
2026-07-27 17:18:00 +02:00
…