Now Reading
Upstream Linux help now obtainable for the the Qualcomm Snapdragon 8 Gen 3 Cell Platform | Weblog

Upstream Linux help now obtainable for the the Qualcomm Snapdragon 8 Gen 3 Cell Platform | Weblog

2023-10-31 13:01:27

At Linaro, we’re thrilled to share the newest growth in our ongoing collaboration with Qualcomm. Linaro Engineer Neil Armstrong has efficiently enabled upstream Linux help for the Qualcomm Snapdragon 8 Gen 3 Mobile Platform, the newest addition to the Snapdragon processor household.

This achievement signifies a major milestone within the realm of Linux help, because it demonstrates our dedication to offering cutting-edge options to our companions. Right here an inside take a look at this groundbreaking growth, showcasing the unparalleled collaboration between Qualcomm and Linaro, impacting positively on:

  • Easy upstream Linux integration
  • Highly effective efficiency optimization
  • Operating AOSP with Mainline
  • Continued collaboration 

The preliminary help was posted on October twenty fifth 2023 on the Linux kernel mailing lists for evaluation by the Linux builders neighborhood. With the set of patches launched by Linaro engineers, it’s also potential in addition an AOSP picture with Graphics Software program Rendering utilizing Google’s SwiftShader.

Since 2014, Linaro Engineers have been working carefully with Qualcomm Engineers to allow Snapdragon platforms to work with Mainline Linux.

Operating a latest upstream Linux kernel instantly after the announcement of a brand new SoC is a major achievement, and is a sworn statement to the shut working partnership between Qualcomm and Linaro.

With the latest sequence of patches launched by Linaro, the next options are enabled for the Snapdragon 8 Gen 3 Cell Platform:

  • Qualcomm® Kryo™ CPUs, together with DVFS (Dynamic voltage and frequency scaling) and Energy Administration
  • System basis: Clocks, Energy controllers, PMICs
  • Low-Pace I/O: I2C, SPI, RTC, Buttons, LEDs
  • Excessive-Density Storage: UFS 4.0, SDXC
  • Excessive-Pace Peripherals: PCIe Gen3 and Gen4, USB Model 3.1 Gen 2, USB-C PD
  • Qualcomm® Hexagon™ Processor SubSystems: Audio, Sensors, Compute and Modem
  • Cell Show Subsystem + DSI Engine, Contact Controller
  • Communication: WCN7850 Bluetooth

All patches despatched for evaluation are additionally built-in and obtainable within the following growth branch on CodeLinaro.org.

On the left Screenshot of CPU Info (open-source) App showing information on the running system. On the right: FishTank WebGL sample running in Firefox for Android On the left: Picture of a Qualcomm Development Kit with the attached debug board. On the right: Screenshot of the Android Version menu showing the device running Android 14 and running the v6.6-rc6 based Linux tree

Qualcomm Snapdragon 8 Gen 3 Operating Android 14

One may suppose it’s fairly exhausting to run AOSP with mainline on such a brand new platform, however in actuality, under no circumstances! Because of the long run effort of Linaro and Google engineers making it potential to run AOSP with vanilla Linux releases. Because of Amit Pundir for offering a serving to hand to get AOSP on this platform.

To generate an AOSP picture for the Snapdragon 8 Gen 3 Qualcomm Reference System utilizing the present set of patches obtainable on the mailing checklist, use the next directions, which  are derived from right here https://source.android.com/docs/setup/build/devices with some small modifications.

Obtain the Android supply tree:

$ mkdir AOSP
$ cd AOSP
$ AOSP=$PWD
$ repo init -u https://android.googlesource.com/platform/manifest -b grasp
$ repo sync -j`nproc`

Put together SM8650 gadget config by pulling this pathset:

$ cd gadget/linaro/dragonboard
$ git fetch https://git.codelinaro.org/linaro/qcomlt/demos/device_linaro_dragonboard.git 
	subject/sm8650/demo/android-14-20231016 && git checkout FETCH_HEAD

Construct the Linaro SM8550 tree containing the patches despatched for evaluation:

$ cd $AOSP
$ git clone https://git.codelinaro.org/linaro/qcomlt/demos/linux.git 
	 -b subject/sm8650/demo/aosp-next-20231016 sm8650-kernel
$ cd sm8650-kernel
$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- 
       rbX_aosp_defconfig
$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j`nproc`
$ mkdir $AOSP/gadget/linaro/dragonboard-kernel/android-6.6/
$ cp arch/arm64/boot/Picture.gz arch/arm64/boot/dts/qcom/sm8650-qrd.dtb 
	 $AOSP/gadget/linaro/dragonboard-kernel/android-6.6/
$ discover ./ -name "*.ko" -exec cp {} $AOSP/gadget/linaro/dragonboard-kernel/android-6.6/ ;

Construct AOSP

See Also

$ cd $AOSP
$ . construct/envsetup.sh
$ lunch qrd8650-userdebug
$ make -j`nproc`

Flash AOSP Pictures

$ cd out/goal/product/qrd8650/
$ fastboot erase tremendous erase boot erase vendor_boot 
           erase userdata erase metadata erase dtbo erase restoration
$ fastboot flash -S 256M tremendous ./tremendous.img flash boot ./boot.img  
           flash vendor_boot ./vendor_boot.img format:ext4 metadata 
           flash userdata ./userdata.img reboot

Within the coming weeks, Linaro engineers will proceed to work with the Linux kernel neighborhood to make sure all of the patch sequence are merged in a well timed method. Further patches are anticipated quickly to allow show, audio and modem use instances.

To seek out out extra data on the continuing work, verify  https://lore.kernel.org/all/?q=SM8650 or contact us.

The Snapdragon 8 Gen 3 Specification & options might be discovered Here 

For extra details about what Qualcomm platform providers Linaro presents and the way we may help develop, preserve and optimize merchandise utilizing Qualcomm applied sciences, go to https://www.linaro.org/services/qualcomm-platforms-services/.

Source Link

What's Your Reaction?
Excited
0
Happy
0
In Love
0
Not Sure
0
Silly
0
View Comments (0)

Leave a Reply

Your email address will not be published.

2022 Blinking Robots.
WordPress by Doejo

Scroll To Top