Skip to content

Conversation

@amrianan
Copy link
Contributor

@amrianan amrianan commented Dec 2, 2025

For each configuration subnode in qcom-fitimage.its:

  • read its "compatible" property
  • strip "qcom," prefix
  • split the remaining string on "-"
  • verify that each resulting substring exists as a subnode name in qcom-metadata.dts

Output:

  • If everything passes: "success"
  • If any missing: one line per miss: fail <config_subnode_name>

For each configuration subnode in qcom-fitimage.its:
   - read its "compatible" property
   - strip "qcom," prefix
   - split the remaining string on "-"
   - verify that each resulting substring exists as a subnode name
     in qcom-metadata.dts

 Output:
   - If everything passes: "success"
   - If any missing: one line per miss:
         fail <substring> <config_subnode_name>

Signed-off-by: Amrit Anand <[email protected]>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add usage of the script in comments?

set -euo pipefail

ITS_FILE="qcom-fitimage.its"
META_FILE="qcom-metadata.dts"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we take the file path from user? If not provided, then fallback to these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants