Skip to content

Comments

add instructions for enabling CAMX module#30

Merged
sjakki88 merged 1 commit intoqualcomm-linux:mainfrom
abinjose-qualcomm:enable-dtb-overlay
Feb 24, 2026
Merged

add instructions for enabling CAMX module#30
sjakki88 merged 1 commit intoqualcomm-linux:mainfrom
abinjose-qualcomm:enable-dtb-overlay

Conversation

@abinjose-qualcomm
Copy link
Contributor

CAMX module is not enabled by default for
qcom-multimedia-prop-image. While long term solutions are being discussed, add an immediate solution to allow users to experience the downstream CAMX solution.


# The -n option is mandatory because EFI variables
# expect exact data without trailing newline characters.
echo -n "camx" > /var/data
Copy link

@ricardosalveti ricardosalveti Feb 21, 2026

Choose a reason for hiding this comment

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

Use /tmp/overlay instead or similar, /var is not recommended for temporary data like this one.


# Use efivar to write the data into the runtime EFI variable
# Format: <GUID>-<Variable Name>
cd /sys/firmware/efi/efivar/

Choose a reason for hiding this comment

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

No need to cd into this folder, it is also incorrect, should be /sys/firmware/efi/efivars/

When you flash and boot ``qcom-multimedia-proprietary-image`` for the first time,
the upstream camera stack is enabled by default. Build time blacklisting cannot
help here since blacklisting upstream CAMSS modules does not lead to CAMX being
loaded.

Choose a reason for hiding this comment

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

I don't think we need to say that blacklisting cannot help here, best to just say what is required and later explain why.


On first boot, the user needs to set the EFI variable via the sysfs node and
reboot to get CAMX enabled in subsequent boots. EFI variable setting can only be
done after booting up once.

Choose a reason for hiding this comment

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

Only be done after booting up once is a bit confusing, I would instead just say that EFI variable setting needs to be done at runtime, after booting the device.

# Use efivar to write the data into the runtime EFI variable
# Format: <GUID>-<Variable Name>
cd /sys/firmware/efi/efivar/
efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -w -f /var/data

Choose a reason for hiding this comment

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

We should also say above (before the commands), that the EFI variable used to control the overlays loaded during UEFI boot is 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays.

CAMX module is not enabled by default for
qcom-multimedia-prop-image. While long term solutions
are being discussed, add an immediate solution to allow
users to experience the downstream CAMX solution.

Signed-off-by: Abin Joseph <abinjose@qti.qualcomm.com>
@ricardosalveti
Copy link

Please also don't forget to go back to the comments explaining what you changed, helps moving the review forward.

Copy link
Contributor

@sjakki88 sjakki88 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@sjakki88 sjakki88 merged commit bb0dde9 into qualcomm-linux:main Feb 24, 2026
10 checks passed
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.

3 participants