This is a cache of https://www.linaro.org/blog/qualcomm-and-linaro-enable-latest-flagship-snapdragon-compute-soc/. It is a snapshot of the page at 2024-11-24T01:00:29.228+0000.
Qualcomm and Linaro Enable Latest Flagship Snapdragon Compute SoC | Blog | Linaro Qualcomm and Linaro Enable Latest Flagship Snapdragon Compute SoC | Blog | Linaro
Linaro Logo

Qualcomm and Linaro Enable Latest Flagship Snapdragon Compute SoC

Abel Vesa

Abel Vesa

Thursday, January 4, 20244 min read

Submit

Running fully fledged Debian desktop (including GPU rendering) with patches on top of linux-next on the X Elite (X1E80100) platform even before it has been announced

For many years the Qualcomm Landing Team at Linaro has joined forces with Qualcomm to help deliver launch-day support for new SoCs. This past year we have been developing a kernel that supports the recently-announced Snapdragon X Elite. In previous years we have been able to provide basic boot-to-shell support on launch day. At the X Elite launch, not only did we have these features ready to roll but we already had full Debian desktop working, complete with display, GPU and WiFi.

The collaboration between Qualcomm and Linaro engineers, harnessed together, has pushed  the boundaries of initial upstream support beyond just basic boot-to-shell. The patches will be driven all the way into the mainline in the coming months. In the meantime, a public tree based on the most recent linux-next is available. This builds upon the years-long efforts of Linaro engineers making upstream bring-up easier for each new Qualcomm platform.

When announced, the X1E80100 demonstrated very impressive benchmark results. The single- and multi-core results were captured using systems running the kernel and Debian images provided by the team.

Upstreaming strategy

The upstreaming effort was split into two main parts since the development was done jointly by the collaboration between Qualcomm and Linaro engineers. First, an initial series that supports boot-to-shell was posted for review right after announcement, making its way into mainline already; other patchsets for the rest of the supported features are already under review.  Posting the patches in two parts was also done because the platform was launched near the end of the Linux development cycle (v6.6-rc7). 

The first series includes the following features:

  • Qualcomm® Oryon™ CPUs
  • Clocks, interconnects, regulators, power domains and pinctrl providers
  • Low-Speed I/O: i2c, SPI, UART
  • Compute Reference Device (CRD) board support, with coverage of all the drivers above
  • Qualcomm Compute Platform (QCP) board support, also covering the drivers above

At the time of writing, the interconnects, pinctrl and power domains have already been merged.

Patches for the remaining features are already under review; they include support for:

  • CPUFreq support 
  • High-Speed peripherals: PCIe Gen3 and Gen4, USB SuperSpeed
  • Embedded DisplayPort support
  • GPU support
  • Qualcomm® Hexagon™ Processor SubSystem (Audio)
  • More Compute Reference Design (CRD) specific support (trackpad, touchscreen, keyboard, battery management, NVMe and WLAN)

Linaro’s Qualcomm Landing Team has prepared a kernel tree on CodeLinaro that provides all of the support mentioned above.

Debian on Snapdragon X Elite (X1E80100) Compute Reference Device

Linaro provides a step-by-step guide on how to prepare the installer media that will take you all the way through to a full Debian system, including GPU and WiFi support. 

The installer also includes GRUB, which provides dual-boot support out-of-the-box and also allows chainloading other EFI applications, including the Fastboot EFI app. Booting via fastboot protocol helps a lot when it comes to rapid kernel development and testing because it avoids the need to build the deb package and install it manually. Instead, you can boot the kernel image with the devicetree blob and the initramfs (including the modules) provided via a boot image (similar to other mobile platforms).

Debian running on top of latest linux-next, with GPU rendering, on Snapdragon X Elite (X1E80100) Compute Reference Device

What’s next

The upstreaming effort will continue in the coming months and will include more boards/platforms/features based on X1E80100. The engineers from both Qualcomm and Linaro will continue to work closely with upstream maintainers to get all support needed by the X1E80100 accepted upstream. Work is underway to enable audio and camera support as well; these features are planned for inclusion in the Linux v6.9 kernel.

Want to learn more?

If you want to follow closely the upstreaming of the X1E80100, you can head to https://lore.kernel.org/all/?q=X1E80100.

More information about the Snapdragon X Elite (X1E80100) can be found here: https://docs.qualcomm.com/bundle/publicresource/87-71417-1_REV_C_Snapdragon_X_Elite_Product_Brief.pdf

For more information about what Linaro’s Qualcomm Platform Services does and has to offer, please head to https://www.linaro.org/services/qualcomm-platforms-services/