Skip to content

Enable EL2 DTBO support for Hamoa and Purwa platforms#2311

Draft
xueqnie wants to merge 4 commits into
qualcomm-linux:masterfrom
xueqnie:hamoa-purwa-el2-dtbo
Draft

Enable EL2 DTBO support for Hamoa and Purwa platforms#2311
xueqnie wants to merge 4 commits into
qualcomm-linux:masterfrom
xueqnie:hamoa-purwa-el2-dtbo

Conversation

@xueqnie

@xueqnie xueqnie commented May 28, 2026

Copy link
Copy Markdown
Contributor

Description:

Summary

  • Add x1-el2.dtbo and hamoa-camx-el2.dtbo for Hamoa (iq-x7181-evk)
  • Add x1-el2.dtbo, purwa-evk-camx.dtbo, and purwa-camx-el2.dtbo for Purwa (iq-x5121-evk)
  • Add FIT_DTB_COMPATIBLE entries for EL2/KVM boot configurations

This enables KVM/EL2 boot support on Hamoa and Purwa IoT EVK platforms,
following the same pattern as PR #1851 for Monaco/Lemans.

Dependencies

@xueqnie xueqnie closed this May 28, 2026
@xueqnie xueqnie reopened this May 28, 2026
@xueqnie xueqnie marked this pull request as draft May 28, 2026 07:00
@xueqnie xueqnie marked this pull request as ready for review May 28, 2026 07:01
@xueqnie xueqnie marked this pull request as draft May 28, 2026 07:01
@xueqnie xueqnie marked this pull request as ready for review May 28, 2026 07:04
@xueqnie xueqnie marked this pull request as draft May 28, 2026 07:04
@xueqnie xueqnie force-pushed the hamoa-purwa-el2-dtbo branch from c5350b9 to 58b4e39 Compare May 29, 2026 06:55
@xueqnie xueqnie force-pushed the hamoa-purwa-el2-dtbo branch from 58b4e39 to c2cdead Compare June 16, 2026 06:06
Comment thread conf/machine/include/fit-dtb-compatible-linux-qcom.inc Outdated
@xueqnie xueqnie force-pushed the hamoa-purwa-el2-dtbo branch from c2cdead to 97821d7 Compare June 17, 2026 07:52
@lumag

Copy link
Copy Markdown
Contributor

The branch still has conflicts.

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 97821d7

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-6.18
Pass: 136 | Fail: 27 | Total: 245
qcom-distro
Pass: 9 | Fail: 1 | Total: 10

@test-reporting-app

Copy link
Copy Markdown

Test Results

   63 files   -    42    305 suites   - 329   4h 45m 50s ⏱️ - 3h 5m 7s
  107 tests  -    21     79 ✅  -     3  11 💤 +11  17 ❌  - 29 
2 874 runs   - 3 131  2 752 ✅  - 3 084  86 💤  - 11  36 ❌  - 36 

For more details on these failures, see this check.

Results for commit 97821d7. ± Comparison against base commit 5bd4add.

This pull request removes 23 and adds 2 tests. Note that renamed tests count towards both.
10_Kubernetes_Kernel_Config ‑ Kubernetes_Kernel_Config
11_Logging_Journalctl_Validation ‑ Logging_Journalctl_Validation
12_Partition_PostBoot_Validation ‑ Partition_PostBoot_Validation
13_Boot_Systemd_KPI_Loop ‑ Boot_Systemd_KPI_Loop
5_OpenCV ‑ OpenCV
6_OpenCV ‑ OpenCV
6_irq ‑ irq
7_BT_ON_OFF ‑ BT_ON_OFF
7_irq ‑ irq
8_AudioRecord ‑ AudioRecord
…
lava ‑ download-retry
lava ‑ downloads

xueqnie added 4 commits June 18, 2026 02:12
The CAMX camera subsystem requires additional IOMMU mappings when
running in EL2/KVM mode. Add the purwa-camx-el2.dtbo overlay to
LINUX_QCOM_KERNEL_DEVICETREE so it is built and deployed for the
Purwa IoT EVK.

Signed-off-by: Xueqian Nie <xueqnie@qti.qualcomm.com>
Add a FIT_DTB_COMPATIBLE entry for the Purwa CAMX EL2/KVM boot
configuration so the bootloader can select the FIT configuration
that stacks the purwa-camx-el2 overlay on top of the base CAMX
and x1-el2 overlays.

Signed-off-by: Xueqian Nie <xueqnie@qti.qualcomm.com>
The CAMX camera subsystem requires different IOMMU mappings when
running in EL2/KVM mode. Add the hamoa-camx-el2.dtbo overlay to
LINUX_QCOM_KERNEL_DEVICETREE so it is built and deployed for the
Hamoa IoT EVK.

Signed-off-by: Xueqian Nie <xueqnie@qti.qualcomm.com>
Add a FIT_DTB_COMPATIBLE entry for the Hamoa CAMX EL2/KVM boot
configuration so the bootloader can select the FIT configuration
that stacks the hamoa-camx-el2 overlay on top of the base CAMX
and x1-el2 overlays.

Signed-off-by: Xueqian Nie <xueqnie@qti.qualcomm.com>
@xueqnie xueqnie force-pushed the hamoa-purwa-el2-dtbo branch from 97821d7 to 5e35ca2 Compare June 18, 2026 02:16
@xueqnie

xueqnie commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

The branch still has conflicts.

rebased

Comment thread conf/machine/iq-x5121-evk.conf
Comment thread conf/machine/iq-x7181-evk.conf
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