From Fedora Project Wiki
Pbrobinson (talk | contribs) |
(Updated instructions to boot with Fedora 41) |
||
Line 4: | Line 4: | ||
==== Bootable images ==== | ==== Bootable images ==== | ||
Fedora | Fedora 41 GA works relatively well OOTB. The Workstation raw image can be used with the following additions: | ||
* The kernel must be booted with `arm64.nopauth clk_ignore_unused pd_ignore_unused | * The kernel must be booted with `arm64.nopauth clk_ignore_unused pd_ignore_unused` | ||
* A recent firmware must be on the machine, and the linux/DT mode must be selected in the FW menus. | * A recent firmware must be on the machine, and the linux/DT mode must be selected in the FW menus. | ||
** Recommend minimum version: | ** Recommend minimum version: | ||
Line 12: | Line 12: | ||
* A 6.5 or newer device tree must be placed on the ESP of the internal NVMe disk and named sc8280xp-lenovo-thinkpad-x13s.dtb | * A 6.5 or newer device tree must be placed on the ESP of the internal NVMe disk and named sc8280xp-lenovo-thinkpad-x13s.dtb | ||
** ex: /boot/efi/sc8280xp-lenovo-thinkpad-x13s.dtb | ** ex: /boot/efi/sc8280xp-lenovo-thinkpad-x13s.dtb | ||
** As a workaround, add a devicetree line in grub to load the DTB until it can be put in place on the ESP | ** As a workaround, add a `devicetree=/dtb/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb` line in grub to load the DTB until it can be put in place on the ESP | ||
** [https://wiki.debian.org/InstallingDebianOn/Thinkpad/X13s#Install_Device_Tree_Blob_on_the_EFI_System_Partition Debian has instructions on how to do this from windows] | ** [https://wiki.debian.org/InstallingDebianOn/Thinkpad/X13s#Install_Device_Tree_Blob_on_the_EFI_System_Partition Debian has instructions on how to do this from windows] | ||
* To boot from USB, `modprobe.blacklist=qcom_q6v5_pas` must be added to the boot arguments. This keeps the USB from being reset and the storage device from being renamed mid-boot. | * To boot from USB on Fedora 40 with a 6.8 kernel or older, `modprobe.blacklist=qcom_q6v5_pas` must be added to the boot arguments. This keeps the USB from being reset and the storage device from being renamed mid-boot. Note that this is not needed with 6.11 kernel in Fedora 41. | ||
*Once the system is running, installing the [https://copr.fedorainfracloud.org/coprs/jlinton/x13s/ x13s copr], will pull in the remaining dependencies and correct a few configuration items: | *Once the system is running, installing the [https://copr.fedorainfracloud.org/coprs/jlinton/x13s/ x13s copr], will pull in the remaining dependencies and correct a few configuration items: |
Revision as of 18:02, 26 November 2024
Page to keep track of Linux support development for Thinkpad X13s (SoC codename sc8280xp), the first Thinkpad with an Arm CPU.
Most of the following information comes from #aarch64-laptops on OFTC, #fedora-arm on Libera.chat and arm[AT]lists.fedoraproject.org. Upstream information changes daily, so this page may be outdated.
Bootable images
Fedora 41 GA works relatively well OOTB. The Workstation raw image can be used with the following additions:
- The kernel must be booted with
arm64.nopauth clk_ignore_unused pd_ignore_unused
- A recent firmware must be on the machine, and the linux/DT mode must be selected in the FW menus.
- Recommend minimum version:
- Minimum: Version: N3HET84W (1.56 )
- Latest: Version: N3HET88W (1.60 )
- Recommend minimum version:
- A 6.5 or newer device tree must be placed on the ESP of the internal NVMe disk and named sc8280xp-lenovo-thinkpad-x13s.dtb
- ex: /boot/efi/sc8280xp-lenovo-thinkpad-x13s.dtb
- As a workaround, add a
devicetree=/dtb/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb
line in grub to load the DTB until it can be put in place on the ESP - Debian has instructions on how to do this from windows
- To boot from USB on Fedora 40 with a 6.8 kernel or older,
modprobe.blacklist=qcom_q6v5_pas
must be added to the boot arguments. This keeps the USB from being reset and the storage device from being renamed mid-boot. Note that this is not needed with 6.11 kernel in Fedora 41.
- Once the system is running, installing the x13s copr, will pull in the remaining dependencies and correct a few configuration items:
dnf copr enable jlinton/x13s; dnf install x13s
- Reboot
- After major kernel updates, it is probably wise for the time being to run
cp /boot/dtb-`uname -r`/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb /boot/efi
Known Problems
- Audio works but is quiet
- TPM support is missing
- 5G Modem
- Need to follow the documented steps to unlock the modem
- Virtualization is not available. The UEFI is not yet exposing the EL2 (exception level), which is required to run VMs
- There has been some work done to unlock it with https://github.com/TravMurav/slbounce. YMMV
- The system does not suspend correctly so you need to poweroff if leaving unused
- Camera is not working. There are patches going upstream. You need to add cma=128M
- Bluetooth doesn't always work