Skip to content

Conversation

@wenmliu
Copy link

@wenmliu wenmliu commented Feb 11, 2026

Update recipe to pack upstream Camera dtb into final dtb image of IQ-615-EVK (Talos-evk) platform.

1.Replace fatal error with warning when DTB lacks compatible string configuration.
2.Add upstream camera DTB compile support.

@wenmliu wenmliu changed the title Enable Talos camera DTB compilation for linux-qcom kernel Enable Talos upstream camera DTB compilation for linux-qcom kernel Feb 11, 2026
FIT_DTB_COMPATIBLE[sm8450-hdk] = "qcom,sm8450-hdk"
FIT_DTB_COMPATIBLE[sm8750-mtp] = "qcom,sm8750-mtp"
FIT_DTB_COMPATIBLE[talos-evk] = "qcom,qcs615v1.1-iot"
FIT_DTB_COMPATIBLE[talos-evk-camera-imx577] = "qcom,talos-evk"
Copy link
Contributor

Choose a reason for hiding this comment

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

No, this is not a FIT-compatible compat string. Don't do it.

Copy link
Author

Choose a reason for hiding this comment

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

Yes, but without a temporary solution, the upstream camera will not be included in the build for use testing.

Copy link
Contributor

Choose a reason for hiding this comment

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

Add qcom/talos-evk-camera-imx577.dtbo to KERNEL_DEVICETREE.

Copy link
Author

Choose a reason for hiding this comment

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

If only add qcom/talos-evk-camera-imx577.dtbo to KERNEL_DEVICETREE.
compile will error:
ERROR: linux-qcom-6.18.7-r0 do_generate_qcom_fitimage: FIT_DTB_COMPATIBLE[talos-evk-camera-imx577] is not set.
this is why we post the two changes.

Copy link
Contributor

Choose a reason for hiding this comment

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

you need to add

FIT_DTB_COMPATIBLE[talos-evk+talos-evk-camera-imx577] = "qcom,lemans-evk"

Copy link
Author

Choose a reason for hiding this comment

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

Hi @vkraleti ,

FIT_DTB_COMPATIBLE[talos-evk+talos-evk-camera-imx577] = "qcom,lemans-evk"
talos-evk+talos-evk-camera-imx577 this will cause compile error, talos-evk-camera-imx577 is same with talos-evk, is a dtb too.

qcom,lemans-evk for this, please give the reason why we do not use qcom,talos-evk

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry there is a typo. I mean to add

FIT_DTB_COMPATIBLE[talos-evk+talos-evk-camera-imx577] = "qcom,talos-evk"

Copy link
Contributor

Choose a reason for hiding this comment

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

No, "qcom,talos-evk" is NAKed.

@wenmliu wenmliu requested a review from lumag February 12, 2026 05:15
@vkraleti
Copy link
Contributor

Please avoid merge commits.

@wenmliu wenmliu force-pushed the master branch 2 times, most recently from 5a7c5ed to b15861f Compare February 12, 2026 15:19
Copy link
Contributor

@lumag lumag left a comment

Choose a reason for hiding this comment

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

NAK for the usage of "qcom,talos-evk", it doesn't match the established standard.

Update recipe to pack upstream Camera dtb into final
image of IQ-615-EVK (Talos-evk) platform.

Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
if not compatible:
bb.fatal(f"FIT_DTB_COMPATIBLE[{dtb_key}] is not set for base DTB '{fname}'.")
bb.warn(f"FIT_DTB_COMPATIBLE[{dtb_key}] is not set for base DTB '{fname}'.")
continue
Copy link
Contributor

Choose a reason for hiding this comment

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

@wenmliu since you dropped the FIT_DTB_COMPATIBLE entry for talos-evk-camera-imx577 This is no longer needed.

Make overlays optional when processing FIT_DTB_COMPATIBLE combinations.
Now only the base DTB is required, and overlays are filtered to include
only those actually present in KERNEL_DEVICETREE. This supports:
- Base DTB only (no overlays)
- Partial overlay combinations
- Full overlay combinations

Signed-off-by: Wenmeng Liu <wenmliu@qti.qualcomm.com>
if not compatible:
bb.fatal(f"FIT_DTB_COMPATIBLE[{dtb_key}] is not set for base DTB '{fname}'.")
bb.warn(f"FIT_DTB_COMPATIBLE[{dtb_key}] is not set for base DTB '{fname}'.")
continue
Copy link
Contributor

Choose a reason for hiding this comment

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

@wenmliu , I have used this change to generate ITS file for lemans and monaco. Iam not able to see the conf entry for any DTB/DTBOs as shown below:

    configurations {
    };

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.

4 participants