Bugzilla – Bug 1215326
[aarch64] Installation support for lenovo X13s
Last modified: 2023-09-25 08:55:33 UTC
There are some kernel modules that need to be included in the initrd of the opensuse installer in order to boot Lenovo X13s, which is an arm64 laptop based on Qualcomm 8cx gen3 CPU. The machine wouldn't boot without the following modules: kernel/drivers/clk/qcom/clk-rpmh.ko kernel/drivers/clk/qcom/dispcc-sc8280xp.ko kernel/drivers/clk/qcom/gcc-sc8280xp.ko kernel/drivers/remoteproc/qcom_q6v5.ko kernel/drivers/remoteproc/qcom_q6v5_pas.ko
I have created a PR: https://github.com/openSUSE/installation-images/pull/660
(In reply to Chester Lin from comment #1) > I have created a PR: > > https://github.com/openSUSE/installation-images/pull/660 Another problem that I haven't figured out is that firmware blobs need to be loaded with the remoteproc drivers [qcom_q6v5 & qcom_q6v5] are not mentioned by driver code via the MODULE_FIRMWARE() macro, which means there's no firmware field in their modinfo. But they are mentioned in the devicetree[1] like this: &remoteproc_adsp { firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn"; status = "okay"; }; &remoteproc_nsp0 { firmware-name = "qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn"; status = "okay"; }; Could installation-images still fetch these two .mbn files into /lib/firmware? [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts?h=v6.5#n938
Lenovo does not provide X13s ACPI support for Linux so hardware information is all from devicetree.
pr merged, thanks!
Sorry for reopening this bug. There are a few more modules that need to be added since the original list is based on JeOS, and I found that the installer needs more modules included for X13s boot since the installer doesn't rely on an additional "root=" part to hold the other kernel modules, which means everything should be included in initrd ->parts/00_lib.
(In reply to Chester Lin from comment #5) > Sorry for reopening this bug. > > There are a few more modules that need to be added since the original list > is based on JeOS, and I found that the installer needs more modules included > for X13s boot since the installer doesn't rely on an additional "root=" part > to hold the other kernel modules, which means everything should be included > in initrd ->parts/00_lib. Hi Steffen, Another PR has been created here: https://github.com/openSUSE/installation-images/pull/663 Could you please help to review it? Thank you.
More modules required for installation-images: gpucc-sc8280xp nvmem_qcom-spmi-sdam qcom_hwspinlock qnoc-sc8280xp pmic_glink pmic_glink_altmode smp2p spmi-pmic-arb
This pr also merged, thanks!