Search the Community
Showing results for tags 'thinkpad-x13s'.
-
Hi there, not sure where to post this, intended for @rpardini I have an x13s running here with dual boot to win11 and ubuntu 23.04 lunar, the armbian work was a great help to get it to work. Not quite finished setting it up tbqh. However, if you're on a fast boot device like the local NVMe drive, the remoteproc firmwares qcadsp8280.mbn and qccdsp8280.mbn fail to load and won't get retried later, the GPU firmwares a660_sqe.fw and a660_gmu.bin may fail but get loaded later. That is a little unfortunate, since PMIC GLINK (among other things) is running on one of these. My Windows Dev Kit 2023 (same SoC) doesn't balk this way, both boot the same Ubuntu image (more or less). Analysis has shown that I have a firmware hook for initramfs on the wdk2023 which provides the firmware images in the initrd.img file. This is the version I hacked up for the x13s, which appears to load the desired firmwares as intended: #!/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 # Define a list of firmware files to be included FIRMWARE_FILES="\ qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn \ qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn \ qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn \ qcom/sc8280xp/LENOVO/21BX/qcvss8280.mbn \ qcom/sc8280xp/LENOVO/21BX/qcslpi8280.mbn \ qcom/a660_sqe.fw \ qcom/a660_gmu.bin" # Copy each firmware file to initramfs for file in $FIRMWARE_FILES; do dir=$(dirname "$file") mkdir -p "${DESTDIR}/lib/firmware/${dir}" cp "/lib/firmware/${file}" "${DESTDIR}/lib/firmware/${dir}/" done It needs to be copied into /etc/initramfs-tools/hooks/ and be set as executable. initramfs -u -k all includes the files into the initrd images. with best regards Jens x13s-firmware