Announcing/Abandoning "nixos-snapdragon-elite"

Hi,

I temporarily had access to a Snapdragon X1 Elite laptop. I no longer do, and I don’t think I’m going to purchase one after all. However, I did make some progress, so I thought I’d share it in case someone wants to pick up the torch.

There’s some issue with some kernel module, suspected to be loaded by a udev rule, that triggers a reboot after stage-2 starts. It’s quite disappointing. Some folks work around it by removing 80-drivers.rules from udev, but this isn’t very easy to do with NixOS, without also removing it from initrd, which breaks usb boot.

As far as I can tell, this puts us about on par with other distros/images, as it seems something of a mystery how to prevent this spurious reboot.

Anyway, I cannot find the motivation to put more effort into the README, but if anyone has questions I can answer them here or in an Issue, etc.


Oh, the image’s default configuration is for the Yoga 7x, but I tried to add a specialisation for the Vivobook, so theoretically you could try it on that device too.


Also, things seem to be moving at a swift pace. The changes for the GPU got backported to 24.2, and the kernel tree I’m using is mostly stuff that is already upstreamed.

Oh, and this PR got merged, which means you can actually boot systems that need DTBs with systemd-boot and hardware.deviceTree.{enable,name} now! nixos/systemd-boot: add support for devicetree entry by jmbaur · Pull Request #319422 · NixOS/nixpkgs · GitHub

8 Likes