Skip to content

iris-video-dlkm: downgrade uno-q to 1.0.4#36

Open
quaresmajose wants to merge 1 commit intoqualcomm-linux:mainfrom
quaresmajose:iris-video-dlkm
Open

iris-video-dlkm: downgrade uno-q to 1.0.4#36
quaresmajose wants to merge 1 commit intoqualcomm-linux:mainfrom
quaresmajose:iris-video-dlkm

Conversation

@quaresmajose
Copy link
Copy Markdown
Contributor

@quaresmajose quaresmajose commented Apr 27, 2026

The iris-video-dlkm is currently broken with the uno-q kernel.

Fixes #35

@@ -0,0 +1,2 @@
SRCREV:uno-q = "02248f4021f7690e675c408b4fd0208ad559a1d5"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this driver is not expected to support/work on agatti (the soc on unoq). i would rather disable it completely.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

but thanks for spotting/fixing the build issue though!

Copy link
Copy Markdown
Contributor Author

@quaresmajose quaresmajose Apr 29, 2026

Choose a reason for hiding this comment

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

I'll see if I can exclude it with COMPATIBLE_MACHINE, that way it would be removed from the world build.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Is not just the world build and we also need to exclude the driver from qcom-multimedia-proprietary-image and qcom-container-orchestration-image.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Maybe we should add the iris-video-dlkm to the MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS in meta-qcom/conf/machine/include/qcom-common.inc and stop making the installation explicit in the images. In this way, we could simply use COMPATIBLE_MACHINE here to disable the driver in UnoQ.

@quaresmajose quaresmajose force-pushed the iris-video-dlkm branch 4 times, most recently from d158801 to 34a91e9 Compare April 29, 2026 11:30
@ndechesne
Copy link
Copy Markdown
Contributor

this is getting weird and complicated. how about we make the recipe in meta-qcom incompatible with 2290 soc (using SOC_FAMILY)?

@lumag
Copy link
Copy Markdown
Contributor

lumag commented Apr 29, 2026

Can we raise SkipRecipe if PREFERRED_PROVIDER_virtual/kernel is not one of the qcom-next/qcom-6.18/yocto-6.18/yocto-dev?

@quaresmajose
Copy link
Copy Markdown
Contributor Author

The iris-video-dlkm is explicitly installed in qcom-multimedia-proprietary-image and because of this it needs to be available to all machines when they use the qcom distro.

That's why I mentioned MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS in #36 (comment)

@lumag
Copy link
Copy Markdown
Contributor

lumag commented Apr 29, 2026

The iris-video-dlkm is explicitly installed in qcom-multimedia-proprietary-image and because of this it needs to be available to all machines when they use the qcom distro.

:remove:uno-q. I know that iris-video-dlkm situation is a problem (and we have asked Vikash to solve it for the next revision). But I think that SkipRecipe + :remove:uno-q might be the cleanest solution up to that point.

That's why I mentioned MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS in #36 (comment)

Yes, that's also a possible solution. Especially since e.g. Talos will never be supported by the iris-video-dlkm.

@ricardosalveti
Copy link
Copy Markdown
Collaborator

The iris-video-dlkm is explicitly installed in qcom-multimedia-proprietary-image and because of this it needs to be available to all machines when they use the qcom distro.

:remove:uno-q. I know that iris-video-dlkm situation is a problem (and we have asked Vikash to solve it for the next revision). But I think that SkipRecipe + :remove:uno-q might be the cleanest solution up to that point.

That's why I mentioned MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS in #36 (comment)

Yes, that's also a possible solution. Especially since e.g. Talos will never be supported by the iris-video-dlkm.

But we also want to bring dlkm recipes on the proprietary image only, so essential might not work.

@quaresmajose quaresmajose force-pushed the iris-video-dlkm branch 3 times, most recently from 7413509 to 487cb6f Compare April 30, 2026 17:22
@quaresmajose
Copy link
Copy Markdown
Contributor Author

I've been experimenting with MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS and MACHINE_EXTRA_RRECOMMENDS but without success so far.

I think we should proceed with the downgrade to unlock the uno-q, and I will continue, and I will propose a different solution when I have something concrete.

The iris-video-dlkm is currently broken in versions higher than 1.0.4
with the uno-q kernel linux-arduino 6.16.

This driver is not expected to support/work on agatti (the soc on unoq).
However, this iris-video-dlkm 1.0.4 hash is buildable, which allows
maintaining a sane ci.

Fixes qualcomm-linux#35

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
@anujm1
Copy link
Copy Markdown
Contributor

anujm1 commented May 1, 2026

I've been experimenting with MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS and MACHINE_EXTRA_RRECOMMENDS but without success so far.

I always forget which one is set only in packagegroup-base so impacts only certain images and is always a source of confusion for me. If this is always required, perhaps ESSENTIAL_RDEPENDS (instead of RRECOMMENDS) version would be better and would work. If it does not install for some reason, it will at least give an error.

@quaresmajose
Copy link
Copy Markdown
Contributor Author

I've been experimenting with MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS and MACHINE_EXTRA_RRECOMMENDS but without success so far.

I always forget which one is set only in packagegroup-base so impacts only certain images and is always a source of confusion for me. If this is always required, perhaps ESSENTIAL_RDEPENDS (instead of RRECOMMENDS) version would be better and would work. If it does not install for some reason, it will at least give an error.

It's true, the concepts aren't easy to understand. The kernel module it's not always necessary and it's not even supported on some SoCs, but we have in COMPATIBLE_MACHINE they works on all arm64 which is not true. I'll come back to this when I have more time.

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.

uno-q: iris-video-dlkm 1.0.5 requires a new kernel

5 participants