Skip to content

feat: Support for Windows on Arm laptops - #642

Merged
Loïc Minier (lool) merged 10 commits into
qualcomm-linux:mainfrom
lool:laptop-support
Oct 21, 2026
Merged

Loïc Minier (lool) merged 10 commits into
qualcomm-linux:mainfrom
lool:laptop-support

Conversation

@lool

@lool Loïc Minier (lool) commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Initial support for Windows on Arm laptops:

  • debos: add dtb-loader overlay
  • ci: use dtb-loader overlay for qcom-laptops
  • kernel-configs: set DRM_SIMPLE_BRIDGE=m
  • kernel-configs: enable POWERCAP + QCOM_SPEL
  • kernel-configs: enable Zenbook cameras
  • kernel-configs: disable DMABUF_DEBUG
  • kernel-configs: add HID_ASUS driver
  • kernel-configs: add Bluetooth
  • kernel-configs: add uinput
  • debos: don't wait for TPM2 devices

@lool

Copy link
Copy Markdown
Contributor Author

(see also #227)

Agathe Porte (@gagath) Christopher Obbard (@obbardc) would love some feedback on this one (keeping it draft while you review the approach)! We could branch initramfs-tools and stubble in our QLI APT overlay, however I think it would be nice to see how well vanilla Debian packages work, except a bit of a glue is missing.

Known opens:

  • hook not tested with GRUB
  • not tested on trixie
  • need to confirm if we can disable waiting for TPM2 everywhere
  • initramfs-tools improvements missing

@lool

Copy link
Copy Markdown
Contributor Author

I boot tested the current image on a hamoa T14s, it mostly starts, but I get a black screen after initramfs, it seems due to:
qualcomm-linux/kernel#1148

@gagath Agathe Porte (gagath) left a comment

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.

I need to test it on a real image and do a test-boot on T14s, here are some comments in the meantime from a first quick look at the implementation.

# out.
fatal_w() {
echo "Warning: $*. Not embedding device trees." >&2
exit 0

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.

I do not understand why its not exit 1 if it is a fatal error. It should not be installed on platforms that do not need it in the first place? Also this kind of function has historically been called die which is well-known that it will exit the program after displaying a message.

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.

My 2c: I don't think installing this based on platform is a good idea as part of this PR, since currently we build generic images.

Instead it may be worthwhile bubbling the error up at runtime IF this platform needs the dtb-loader installed ?

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.

I do not understand why its not exit 1 if it is a fatal error. It should not be installed on platforms that do not need it in the first place? Also this kind of function has historically been called die which is well-known that it will exit the program after displaying a message.

I didn't call that die() or fail() because I didn't want to exit 1.

My 2c: I don't think installing this based on platform is a good idea as part of this PR, since currently we build generic images.

Yes, I want us to build generic images; since I know laptops need a number of workarounds, and some of them belong in packages, my initial thought was to put these behind a flag so that we have a way to trace them back, and return to clean images.

Very keen to hear about better / alternate ways of approaching this!

Instead it may be worthwhile bubbling the error up at runtime IF this platform needs the dtb-loader installed ?

The reason I'm not failing unconditionally is because I wasn't sure how to deliver that without breaking other legitimate uses, for instance:

  • I didn't want to break people like Agathe that have a working local UKI setup already
  • I didn't want to break chroot builds
  • I find it hard to recover from package postinsts failing, and these hooks are typically run from package postinsts

I'm trying to weigh the pros and cons :)

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.

All good for me, let's come up with a clever solution to be more generic later when we need to, not blocking now :-)!

# With layout=auto or no layout set, recent kernel-install will set the layout
# to bls when installing kernels that use UAPI.1 Boot Loader Specification[2]
# Type #1 layout which is the only case where the post-processing done here is
# useful.

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 is an implementation detail of kernel-install, why is it stated here instead of just saying we only support bls? (and removing the comment as well)

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.

When I developed this file and was reviewing it, I had to learn about the different layouts supported by the config, and then understand that not all of them would be reflected at runtime. This was my way of bringing it back in context here. Some day, there might be new layout types added.

description: Verify device trees were embedded in the kernel image
chroot: true
command: |
set -eux

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.

can we extract this in a dedicated script so we can have syntax highlighting, be able to run it locally as well as running shellcheck against it?

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.

you're right, that's ugly there, I'll drop that

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.

FWIW i am happy with this script inline in its current state

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.

I've dropped this section for now, and sent systemd/systemd#44017

# provides linuxaa64.efi.stub, which is what ukify wraps the kernel in.
# systemd-boot's dependency is satisfied by systemd-boot-efi-arm64-signed,
# which ships the signed boot loader but no stub, and systemd-ukify only
# recommends this, so ask for it explicitly.

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.

If systemd-ukify recommends it, and we install with recommends, why do we also ask explicitly?

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.

it's the kind of functionality that we require, so while the package has a recommends, we have a depends, so I thought it was proper to list the dependency


# Prefer stubble's hardware ID database which is currently being released more
# frequently than systemd.
# TODO Should we load from both databases? Perhaps a patch to finddtbs.py

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.

We should create an issue to follow-up on this TODO after merging.

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.

not relevant anymore in latest version of the stubble hook which only looks at the stubble DB

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.

LGTM, some minor comments.

{{- end }}
{{- end }}

{{- range $overlay := split "," $overlays }}

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.

Just wondering if it makes sense to install these packages in the image recipe unconditionally, since we already install some bootloader packages in the image recipe?

(may have to force-disable ukify hook scripts too, when dtb-loader is not enabled)

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.

I'm happy either way (packages pre-installed but not used, or not installed); if it's not too confusing to have stubble installed but not used, let's add it unconditionally.

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.

yeah, i think i'd prefer installing it unconditionally, possibly in its own apt action or alongside other similar packages (also noticed this is a duplicate review comment from me, oops)

# Snapdragon Windows-on-ARM laptops advertise a TPM2 in the EFI
# variables but expose no device for it ("TPM2 Support: firmware
# only, driver unavailable" in bootctl status), so the systemd units
# that wait for one timeout TODO check if this is detrimental on IoT

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.

the TODO really means we may have to append this only when dtb-loader is not enabled...

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.

Only when it is not enabled, or only when it is enabled?!

So I briefly researched this flag, and it just stops systemd waiting for the TPM2 on boot, I guess that's only important if systemd or some userspace is going to make use of the TPM, but we're not making any use of it at the moment. Hence, I don't think it's detrimental in any way at this stage, but perhaps we would want to log somewhere that we want to remove this once a QTEE TPM driver happens for these platforms?

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.

Happy with this change as-is, but it may be worth removing the inline TODO here or promoting it to an issue so we don't forget about it?

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.

nitpick: I'd still like to have an issue about this and link it here before merging, ideally. I think your comment in this thread needs to be stored somewhere longer-term too, either in the issue or the inline comment.

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.

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.

leaving unresolved as still TODO in the recipe

systemctl enable debos-grow-rootfs

- action: run
description: Verify device trees were embedded in the kernel image

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.

also, should this run when the dtb-loader overlay is not enabled? maybe there is a better way of doing that.

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.

right; I think I just want an ukify command instead

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.

Sent systemd/systemd#44017 so that we can just call ukify inspect (perhaps stubblify will need a catch-up)

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.

The parsing is done by a small FDT reader built on the struct
module, which avoids adding a dependency on libfdt or similar.

I am not sure you explained why introducing a libfdt dependency was a problem in this PR

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.

I erred towards not introducing dependencies and hence friction there, I'm ready to use this if that's what they prefer; their reviews are quite sophisticated, I'm sure they'll let me know :) (plus they went for their own DT parsing in C so I bet they prefer this!)

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.

Small thoughts, nothing blocking from my side.

Comment thread .github/workflows/debos.yml Resolved
# Snapdragon Windows-on-ARM laptops advertise a TPM2 in the EFI
# variables but expose no device for it ("TPM2 Support: firmware
# only, driver unavailable" in bootctl status), so the systemd units
# that wait for one timeout TODO check if this is detrimental on IoT

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.

Happy with this change as-is, but it may be worth removing the inline TODO here or promoting it to an issue so we don't forget about it?

description: Verify device trees were embedded in the kernel image
chroot: true
command: |
set -eux

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.

FWIW i am happy with this script inline in its current state

@lool

Copy link
Copy Markdown
Contributor Author

Christopher Obbard (@obbardc) mind taking another look?

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.

just some minor nitpicks.

# Snapdragon Windows-on-ARM laptops advertise a TPM2 in the EFI
# variables but expose no device for it ("TPM2 Support: firmware
# only, driver unavailable" in bootctl status), so the systemd units
# that wait for one timeout TODO check if this is detrimental on IoT

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.

nitpick: I'd still like to have an issue about this and link it here before merging, ideally. I think your comment in this thread needs to be stored somewhere longer-term too, either in the issue or the inline comment.

recommends: true
packages:
# provides stubblify, the hardware ID database and the finddtbs script
- stubble

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.

  1. i'd be in favour of always installing stubble, I don't think there's anything detrimental about that?
  2. add stubble to backportpackages so we get latest in trixie :-)

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.

Loïc Minier (@lool) I'd like it if we could add stubble to backportpackages, it's a minor change but I think worth doing. If not, happy to do in a follow-up

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.

Yup that makes sense

Would be cool if this could land ubuntu/stubble#89, then adding a binary package for it, and then using it from backports

Comment thread kernel-configs/qcom-laptops.config Outdated

# helps avoiding cpuidle.off=1 workaround on some platforms
CONFIG_QCOM_CPUCP_MBOX=y

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.

nitpick: spurious newline

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.

fixed

Comment thread kernel-configs/qcom-laptops.config Outdated
# see https://github.com/qualcomm-linux/kernel/issues/1148
CONFIG_DRM_SIMPLE_BRIDGE=m

# helps avoiding cpuidle.off=1 workaround on some platforms

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.

nitpick: can we link to a tracking issue here at all?

# patchset upstream
CONFIG_POWERCAP=y
CONFIG_QCOM_SPEL=m

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.

nitpick: spurious newline

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.

fixed, thanks


# Qualcomm SPEL (SoC Power and Electrical Limits) powercap driver, useful on
# Glymur/X2; the driver comes from
# https://lore.kernel.org/all/20260702-qcom_spel_driver_upstream-v3-0-434d50f0c5b0@oss.qualcomm.com/

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.

nitpick: can we link to a tracking issue here at all?

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.

Comment thread kernel-configs/qcom-laptops.config Resolved
Comment thread README.md Resolved
@lool

Copy link
Copy Markdown
Contributor Author

Christopher Obbard (@obbardc) I added a number of config improvements, but I'm concerned I don't have a path to them being addressed somewhere, especially the cpuidle and msm workarounds I suspect are longer term and a bit invasive.

Not sure how to manage this yet, perhaps laptops-kernel issues, but might be open for a long time.

@obbardc

Copy link
Copy Markdown
Contributor

Christopher Obbard (Christopher Obbard (@obbardc)) I added a number of config improvements, but I'm concerned I don't have a path to them being addressed somewhere, especially the cpuidle and msm workarounds I suspect are longer term and a bit invasive.

Not sure how to manage this yet, perhaps laptops-kernel issues, but might be open for a long time.

Perhaps we could have just one tracking issue for the laptop configs in this repo we could extend or move later? It's really just so we don't forget about doing something with them ;-). Otherwise I am happy... I'll have another review/test of scripts in morning...

@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Test results for commit a6b15c7

qcom-next-trixie
Pass: 66 | Known failures: 2 | Fail: 0 | Total: 79
Test glymur-crd qcs615-ride qcs6490-rb3gen2 qcs8300-ride qrb2210-rb1
boot ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
adsp_remoteproc ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
Boot_Systemd_KPI_Loop ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
BT_ON_OFF ✅ pass ✅ pass ✅ pass ✅ pass ☑️ controller stays unconfigured (DOWN RAW,...
cdsp_remoteproc ✅ pass ✅ pass ✅ pass ✅ pass ⚠️ skip
CPUFreq_Validation ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
DSP_AudioPD ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
EFI_Variable_Validation ✅ pass ✅ pass ✅ pass ✅ pass ☑️ expected to work on this board, does not...
Ethernet_Basic_Validation ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip
fastrpc_test ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
hotplug ✅ pass ✅ pass 🚫 ✅ pass ✅ pass
Interrupts ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
irq ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
OpenCV ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip
Partition_PostBoot_Validation ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
WiFi_Firmware_Driver ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
Known failures (2)
Device Test Status Comment
qrb2210-rb1 BT_ON_OFF known failure controller stays unconfigured (DOWN RAW, no valid BD address) and is not visible to bluetoothctl, #719
qrb2210-rb1 EFI_Variable_Validation known failure expected to work on this board, does not yet, #645
All jobs summary
Job ID Device State Health
481168 qrb2210-rb1 Finished Complete
481159 qcs8300-ride Finished Complete
481160 qcs6490-rb3gen2 Finished Complete
481170 qcs6490-rb3gen2 Finished Complete
481158 qcs615-ride Finished Complete
481166 glymur-crd Finished Complete
481167 qcs8300-ride Finished Complete
481156 glymur-crd Finished Complete
481157 qrb2210-rb1 Finished Complete
481169 qcs615-ride Finished Complete

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Test Results

 10 files   -  10   84 suites   - 84   31m 57s ⏱️ - 42m 58s
 68 tests ±  0   62 ✅ ±  0   4 💤 + 1  2 ❌  - 1 
528 runs   - 528  514 ✅  - 515  12 💤  - 11  2 ❌  - 2 

For more details on these failures, see this check.

Results for commit a356356. ± Comparison against base commit 85acb8c.

This pull request skips 1 test.
9_Ethernet_Basic_Validation ‑ Ethernet_Basic_Validation

@test-reporting-app

Copy link
Copy Markdown

Test Results

 10 files   84 suites   32m 1s ⏱️
 68 tests  64 ✅  4 💤 0 ❌
528 runs  515 ✅ 13 💤 0 ❌

Results for commit a6b15c7.

@obbardc

Copy link
Copy Markdown
Contributor

Loïc Minier (@lool) JFYI I have some overlapping fixes in #715 and I imported your stubble kernel hook scripts there - I'd really like to get this PR merged first, then I can rebase on top of it. Is there anything I can do to help?

I will start off with a fresh review of this PR and see if there are any changes in #715 which need to be integrated here.

On Snapdragon Windows on ARM systems, the UEFI firmware has an
insufficient ACPI implementation for Linux and no device tree.

Add a dtb-loader overlay for debos-recipes which installs
kernel-install and kernel-postinst.d hooks to wrap the EFI kernel
image installed in the ESP with systemd-stub based DTB loader,
device trees for these machines, and boot firmware signatures
(CHID). From:
ubuntu/stubble#89

Install stubble which is a dependency of this script.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Enable dtb-loader by default in our qcom-laptops builds.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
qcom-next's prune.config disables DRM_SIMPLE_BRIDGE while the arm64
defconfig and Debian's config enable it as a module. This driver is
critical for display on Lenovo T14s Gen6 (Hamoa), so bring it back
as a workaround until qcom-next's prune.config is fixed.

See: qualcomm-linux/kernel#1148

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Glymur/X2 laptops can benefit from the new Qualcomm SPEL (SoC Power
and Electrical Limits) powercap driver. This driver is currently on
list, but it typically included in development kernel trees
targeting X2 hardware. There is no defconfig patch on list yet.

Enable POWERCAP and QCOM_SPEL configs to allow raising the power
envelope and get some improved performance on X2s.

See qualcomm-linux#718.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Glymur-based ASUS Zenbooks (A14 and A16) use a OV02C10 sensor for
the front camera. Enable it as a module.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
When using a defconfig kernel, libcamera's GPU SoftISP tries to use
the msm driver for offloading, but it doesn't work because defconfig
sets DEBUG_KERNEL=y which implies DMABUF_DEBUG=y: the msm driver
relies on some internal details that aren't provided when this is
set. Disable this config for the libcamera GPU backend to work.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
CONFIG_HID_ASUS is needed to support Fn keys on ASUS laptops.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Add support for BLE and common peripherals.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Useful for key remapping, or e.g. with Steam.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
Snapdragon Windows-on-ARM laptops advertise a TPM2 in the EFI
variables, but expose no device for it. This is reported as "TPM2
Support: firmware only, driver unavailable" in bootctl status and
causes standard systemd units to wait for a long timeout on boot.

Disable waiting for TPM2 devices on boot by removing the systemd-tpm
package since we don't use its functionality anyway.

See qualcomm-linux#717.

Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
@lool
Loïc Minier (lool) marked this pull request as ready for review October 21, 2026 20:44
@lool

Copy link
Copy Markdown
Contributor Author

Christopher Obbard (@obbardc) ready for another review and hopefully merging; recent changes:

  • I preferred removing systemd-tpm rather than adding a kernel cmdline option; I found this less intrusive everywhere
  • I dropped CPUCP, I'm not convinced it's useful
  • I had a bunch of configs I was trying locally, most of them not super useful; I brought bluetooth and uinput which are nice to have right now
  • I changed commit style to the new one

command: |
set -eux
if dpkg-query -W -f='${Status}' systemd-tpm 2>/dev/null | grep -q "ok installed"; then
apt-get -y purge systemd-tpm

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.

for the record this is not very elegant, but I will allow it as this PR has been blocked for too long and promise to clean it up later with some kind of apt-mark hold :-)

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.

On a normal APT command-line we could also use something like apt install systemd systemd-tpm- to avoid that Recommends... but I'm unclear of how this could be reflected in the Debos schema.

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.

Problem is systemd is pulled during deboostrap; I guess we could hack systemd-tpm- in --extra-packages somehow

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I've used systemctl mask tpm2.target locally on another distro but maybe that's not an option here

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.

Ah that's a decent workaround too

(FYI, we're also working on actually getting a proper driver for that TPM so that it just works :))

@lool
Loïc Minier (lool) merged commit 7348a1d into qualcomm-linux:main Oct 21, 2026
21 checks passed
@github-actions

Copy link
Copy Markdown

Test results for commit d5e179b

qcom-next-trixie
Pass: 63 | Known failures: 2 | Fail: 1 | Total: 76
Test glymur-crd qcs615-ride qcs6490-rb3gen2 qcs8300-ride qrb2210-rb1
boot ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
adsp_remoteproc ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
Boot_Systemd_KPI_Loop 🚫 ✅ pass ✅ pass ✅ pass ✅ pass
BT_ON_OFF ✅ pass ✅ pass 🚫 ✅ pass ☑️ controller stays unconfigured (DOWN RAW,...
cdsp_remoteproc ✅ pass ✅ pass ✅ pass ✅ pass ⚠️ skip
CPUFreq_Validation ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
DSP_AudioPD ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
EFI_Variable_Validation ✅ pass ✅ pass ✅ pass ✅ pass ☑️ expected to work on this board, does not...
Ethernet_Basic_Validation ⚠️ skip ⚠️ skip ⚠️ skip 🚫 ⚠️ skip
fastrpc_test ✅ pass ✅ pass ❌ fail ✅ pass ✅ pass
hotplug ✅ pass ✅ pass 🚫 ✅ pass ✅ pass
Interrupts ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
irq ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
OpenCV ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip ⚠️ skip
Partition_PostBoot_Validation ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
WiFi_Firmware_Driver ✅ pass ✅ pass ✅ pass ✅ pass ✅ pass
Known failures (2)
Device Test Status Comment
qrb2210-rb1 BT_ON_OFF known failure controller stays unconfigured (DOWN RAW, no valid BD address) and is not visible to bluetoothctl, #719
qrb2210-rb1 EFI_Variable_Validation known failure expected to work on this board, does not yet, #645
All jobs summary
Job ID Device State Health
502135 glymur-crd Finished Complete
502136 qcs615-ride Finished Complete
502133 qrb2210-rb1 Finished Complete
502131 qcs615-ride Finished Complete
502130 qcs6490-rb3gen2 Finished Complete
502132 glymur-crd Finished Complete
502137 qcs6490-rb3gen2 Finished Complete
502129 qcs8300-ride Finished Complete
502139 qcs8300-ride Finished Complete
502138 qrb2210-rb1 Finished Complete

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.

5 participants