Skip to content

Commit 2c40a7d

Browse files
committed
installation/guides/arm-devices/platforms: add lenovo x13s instructions
1 parent d5ac911 commit 2c40a7d

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

src/installation/guides/arm-devices/platforms.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,49 @@ default](https://github.com/raspberrypi/linux/commit/28aec65bb1743c9bfa53b036999
110110
This breaks workloads which use containers. Therefore, if you want to use
111111
containers on your Raspberry Pi, you need to enable memory cgroups by adding
112112
`cgroup_enable=memory` to `/boot/cmdline.txt`.
113+
114+
## Lenovo X13s
115+
116+
The Lenovo X13s Snapdragon-based laptop is supported on kernel 6.8 and higher,
117+
with some caveats. See [jhovold's
118+
wiki](https://github.com/jhovold/linux/wiki/X13s) for the current feature
119+
support status.
120+
121+
### Installation
122+
123+
Before installing, [update the UEFI
124+
firmware](https://support.lenovo.com/ca/en/downloads/ds556845-bios-update-utility-bootable-cd-for-windows-11-thinkpad-x13s-gen-1-type-21bx-21by)
125+
from Windows, then disable "Secure Boot" and enable "Linux Boot" in the UEFI
126+
firmware.
127+
128+
Boot an aarch64 Void Linux live ISO using one of the "Void Linux for Thinkpad
129+
X13s" menu entries in GRUB.
130+
131+
To install, follow the [chroot install guide](../chroot.md), using the "XBPS
132+
method", observing the following modifications:
133+
134+
For the base installation, install both `base-system` and `x13s-base`. This
135+
package provides important configurations and installs the necessary
136+
dependencies.
137+
138+
Before running `grub-install`, append the following to `/etc/default/grub`:
139+
140+
```
141+
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT arm64.nopauth clk_ignore_unused pd_ignore_unused"
142+
GRUB_DEFAULT_DTB="qcom/sc8280xp-lenovo-thinkpad-x13s.dtb"
143+
```
144+
145+
> Note: if using another bootloader, ensure the kernel cmdline arguments
146+
> `arm64.nopauth clk_ignore_unused pd_ignore_unused` are used.
147+
148+
The `void-installer` script provided on Void live ISOs currently is not
149+
compatible with this device.
150+
151+
### WWAN (LTE)
152+
153+
To enable the WWAN modem, install `ModemManager` and unlock it:
154+
155+
```
156+
# mkdir -p /etc/ModemManager/fcc-unlock.d
157+
# ln -s /usr/share/ModemManager/fcc-unlock.available.d/105b /etc/ModemManager/fcc-unlock.d/105b:e0c3
158+
```

0 commit comments

Comments
 (0)