aarch64-laptops / build

Build an Linux OS based image
237 stars 55 forks source link

Support for Snapdragon 8cx #76

Open thesleort opened 2 years ago

thesleort commented 2 years ago

I hope you can forgive me for this being more of a question than an actual issue.

I have noticed that the laptops shown in the README.md are using SOCs that aren't state-of-the-art (although not by any means old), but are of a similar line as the Snapdragon 8cx. Does anyone know if there is a possibility that it will boot with the current state of things? I have noticed a couple of Snapdragon laptops recently using that particular chipset, 8cx. Assuming an SOC like that wont boot, where and how do I start to get something like that working (debugging, general information about the boot process, etc.). I have many years been working with Linux, C/C++, micro controllers etc. and have a background in computer science, but the boot process is still like a black box for me and I have a hard time figuring out where to start. ARM to me seems a lot more fragmented than x86 regarding the boot process and device tree, so I never really encountered any of it on x86. I really want to see this effort succeed (and help if I can), as I otherwise fear installing Linux on computers/laptops in the future could become harder if more devices use ARM platforms.

rhenwood-arm commented 2 years ago

hi @thesleort -- I have visited it myself recently, but IRC has been a valuable place to get help in the past: https://github.com/aarch64-laptops/build#irc

thesleort commented 2 years ago

Thank you, I might take a look there then!

TheOneWithTheBraid commented 2 years ago

Isn't the Snapdragon 8cx available in the Lenovo Flex 5G? Or did I misunderstand something here? https://static.linaro.org/connect/lvc21/presentations/lvc21-321.pdf

alfredonodo commented 1 month ago

Hi, currently the linux kernel supports almost all snapdragon 8cx SoCs:

gen 1 SC8180X Lenovo Flex 5G kernel 6.5 gen 3 SC8280XP Lenovo Thinkpad X13s kernel 6.0 gen 4 /X Elite X1E80100 kernel 6.8 SoC SC8180XP is the evolution of the Flex one with the same CPU-GPU, but at higher frequency, with BT 5.1 and WiFi 6 instead of BT 5 and WiFi 5. Other members of the community are also asking the same thing and wondering why it is so. Perhaps you can post the debug there.

This is my dump for Lenovo IdeaPad 5G 14Q8X05 ACPI.zip

Qualcomm has announced Upstreaming Linux kernel support for the Snapdragon X Elite.

Collaborating with Lenovo, Arm and Linaro on the AArch64 laptops GitHub project, we’ve built Linux support into several generations of our SoCs with Windows on Snapdragon. We’ve ensured that you could boot Linux on many of the laptops powered by our previous generation of SoCs. Notable models include the Lenovo Yoga C630 (Snapdragon 850), the Lenovo Flex 5G (Snapdragon 8cx Gen 1) and the Lenovo ThinkPad X13s (Snapdragon 8cx Gen 3).

In the description, all SoC 8cx are included except the unfortunate Gen 2 (sc8180xp). Who knows why it is the only one excluded.

lumag commented 1 month ago

Could you please open a pull request, adding your ACPI dumps to this repo under the misc/ subdir? I can't promise anything, but at least it might help other developers to review your platform.

alfredonodo commented 1 month ago

Could you please open a pull request, adding your ACPI dumps to this repo under the misc/ subdir? I can't promise anything, but at least it might help other developers to review your platform.

Thank you, done.