Hi @xypron, my /etc/initramfs-tools/modules is this:
------------------------------------------- pwm_bl phy_qcom_qmp_pcie pcie_qcom phy_qcom qmp_pcie phy_qcom_qmp_combo qrtr drm-dp-aux-bus phy_qcom_edp gpio_sbu_mux i2c_hid_of i2c_qcom_geni pmic_glink_altmode leds_qcom_lpg qcom_q6v5_pas panel-edp gpucc_sc8280xp dispcc_sc8280xp msm nvme usb_storage uas ------------------------------ I had severe issues booting from type-c due to late-loading of qcadsp8280.mbn, therefore I experimented a little until found. I am not familiar with the installer at all, so I'm afraid I'm no help there. But the loading of the firmwares goes hand in hand with my /etc/initramfs- tools/hooks/x13s-firmware script: ----------------------------- #!/bin/sh set -e PREREQ="" prereqs() { echo "$PREREQ" } case \\$1 in # get pre-requisites prereqs) prereqs exit 0 ;; esac . /usr/share/initramfs-tools/hook-functions mv /lib/firmware/updates/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn.disabled /lib/firmware/updates/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn # Define a list of firmware files to be included FIRMWARE_FILES="\ /lib/firmware/updates/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn \ /lib/firmware/updates/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn \ /lib/firmware/updates/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn \ /lib/firmware/updates/qcom/sc8280xp/LENOVO/21BX/qcvss8280.mbn \ /lib/firmware/updates/qcom/sc8280xp/LENOVO/21BX/qcslpi8280.mbn \ /lib/firmware/qcom/a660_sqe.fw.zst \ /lib/firmware/qcom/a660_gmu.bin.zst" # Copy each firmware file to initramfs for file in $FIRMWARE_FILES; do dir=$(dirname "$file") mkdir -p "${DESTDIR}/${dir}" cp "${file}" "${DESTDIR}/${dir}/" done mv /lib/firmware/updates/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn /lib/firmware/updates/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn.disabled ----------------------------------- This ensures the crucial files (and some not so crucial) are in the initramfs and accessible before rootfs can be mounted. My boot tests found that you actually run into trouble occasionally when you: - have a slow boot device, like the stick plugged in swapped condition (then it's USB-2 only) - have qcadsp8280.mbn in the rootfs as well. "Late" attempts to load this blob (after mounting rootfs from type-c) will lead to the [VBUS issue](https://gitlab.com/postmarketOS/pmaports/-/blob/master/device/testing/firmware-lenovo-yoga-5g/APKBUILD?ref_type=heads#L44-46) which I experienced for a few ... weeks ... and pulled my hair out. For reference: https://github.com/jglathe/linux_ms_dev_kit/discussions/14 There is also an X13s image that boots reliably from type-c: https://drive.google.com/file/d/1e8LA6o-EKKet3_sCQqXR4lOVE_TgOVNI/view?usp=sharing But, danger. It is deliberately rooted, root pw is FsecuritY! and can be reached via ssh. It is for debug purposes. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2060868 Title: Lenovo X13s fails to boot on 6.8.0-20-generic and 6.8.0-22-generic Status in linux package in Ubuntu: Confirmed Status in linux source package in Noble: Confirmed Bug description: The last kernel that successfully boots on my Lenovo X13s system is 6.5.0-1004-laptop. With 6.8.0-20-generic no output whatsoever is shown. --- ProblemType: Bug ApportVersion: 2.28.0-0ubuntu1 Architecture: arm64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/seq: zfsdt 2886 F.... pipewire CRDA: N/A CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 24.04 InstallationDate: Installed on 2023-12-12 (120 days ago) InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily arm64+x13s (20231212) Lspci-vt: -[0002:00]---00.0-[01-ff]----00.0 KIOXIA Corporation NVMe SSD Controller BG5 (DRAM-less) -[0004:00]---00.0-[01-ff]----00.0 Foxconn International, Inc. T99W175 5G Modem [Snapdragon X55] -[0006:00]---00.0-[01-ff]----00.0 Qualcomm Technologies, Inc QCNFA765 Wireless Network Adapter MachineType: LENOVO 21BXCTO1WW Package: linux (not installed) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color ProcFB: 0 msmdrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.5.0-1004-laptop root=UUID=7695b3a4-a033-451f-ba6b-56e81a873b79 ro quiet splash clk_ignore_unused pd_ignore_unused vt.handoff=7 ProcVersionSignature: Ubuntu 6.5.0-1004.7-laptop 6.5.3 RelatedPackageVersions: linux-restricted-modules-6.5.0-1004-laptop N/A linux-backports-modules-6.5.0-1004-laptop N/A linux-firmware 20240318.git3b128b60-0ubuntu2 Tags: noble Uname: Linux 6.5.0-1004-laptop aarch64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: N/A _MarkForUpload: True acpidump: dmi.bios.date: 12/05/2023 dmi.bios.release: 1.59 dmi.bios.vendor: LENOVO dmi.bios.version: N3HET87W (1.59 ) dmi.board.asset.tag: Not Available dmi.board.name: 21BXCTO1WW dmi.board.vendor: LENOVO dmi.board.version: SDK0T76463 WIN ptal����8 dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.23 dmi.modalias: dmi:bvnLENOVO:bvrN3HET87W(1.59):bd12/05/2023:br1.59:efr1.23:svnLENOVO:pn21BXCTO1WW:pvrThinkPadX13sGen1:rvnLENOVO:rn21BXCTO1WW:rvrSDK0T76463WINptal8:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21BX_BU_Think_FM_ThinkPadX13sGen1: dmi.product.family: ThinkPad X13s Gen 1 dmi.product.name: 21BXCTO1WW dmi.product.sku: LENOVO_MT_21BX_BU_Think_FM_ThinkPad X13s Gen 1 dmi.product.version: ThinkPad X13s Gen 1 dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060868/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp