device-lenovo-21bx: drop kernel cmdline params, add modules to initfs (MR 4696)

These cmdline params are not needed because the issues they worked
around were fixed in 6.7 or in this kernel branch we are using.

Additional modules are included in the initramfs since they may not be
builtin in the future, and not having them loaded in the initfs can break booting
This commit is contained in:
Clayton Craft 2023-12-23 18:43:07 -08:00
parent 7806d4f2b6
commit a75a7cf685
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
3 changed files with 8 additions and 9 deletions

View file

@ -3,7 +3,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lenovo-21bx
pkgdesc="Lenovo ThinkPad X13s"
pkgver=2
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -57,7 +57,7 @@ vulkan() {
}
sha512sums="
8c8e03e6061e72305442b27f3f6e0d096d4d7257ee3e2a9edbf1d87e0baf43a70417784465cad480d7bb557b00f012293e1a748c436937587ba5c007834274dc deviceinfo
84767961200e6c04928c34365d9c1daa7da90214690666f87e844f4a42d8f2abc551a4f353196babbabe6b3b4c0e754a2175e7a79d92d842804d6a31ef09410c modules-initfs
1ea027b43696d4e627b7eb481ba1c559ecf740c0c3a0b8244b79e5c9ce45c31a7606f8f1257fdd669e7073cb8cdfc8158b124f8f691c74057f8bbb663934b202 deviceinfo
5e91aebdd5aa84eef2660c5cbecd27b1c3662f1707538d53764a74dc1e6cbac451b1041b9aaab92f087d44630036b10e5155a993dd4b2e54cba81637ddb47593 modules-initfs
82f7719285434d8c7a5268ddc21d513bb3f3788eb3dd2df099e1c245add9d19719047b003a47edb077e095ebe09d9601b1312c001578e7dfa4ed61d72098ef74 firmware.files
"

View file

@ -15,8 +15,7 @@ deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="laptop"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
# most parameters from: https://github.com/jhovold/linux/wiki/X13s#kernel-command-line
deviceinfo_kernel_cmdline="console=null iommu.passthrough=0 iommu.strict=0 pcie_aspm.policy=powersupersave clk_ignore_unused arm64.nopauth efi=noruntime"
deviceinfo_kernel_cmdline="console=null"
# Bootloader related
deviceinfo_flash_method="none"

View file

@ -3,10 +3,8 @@ nvme
phy_qcom_qmp_pcie
pcie_qcom
# Keyboard and mouse
i2c_hid_of
# Keyboard, mouse, some on-board devices
i2c_hid_of
i2c_qcom_geni
# PWM, backlight
@ -22,6 +20,8 @@ gpio_sbu_mux
phy_qcom_qmp_combo
# Display
msm
gpucc_sc8280xp
dispcc_sc8280xp
panel_edp
phy_qcom_edp
msm