Jump to content

Qualcomm Snapdragon 680 (SM6225)

From Nura Wiki
Qualcomm Snapdragon 680
SM6225 in ceramic BGA package
SM6225 in ceramic BGA package
Manufacturer Qualcomm
Name Snapdragon 680
Model SM6225
Codenames khaje
Architecture aarch64
CPU 4x Kryo 265 Gold (2.4 GHz)
4x Kryo 265 Silver (1.9 GHz)
GPU Adreno 610
Year 2019
Process 6nm
Mainline yes
Kernel package linux-postmarketos-qcom-sm6225
Community Page
A link to a git{hub,lab} organisation/repo where development happens.
https://gitlab.postmarketos.org/sm6225-mainline
Components
CPU
SMP (bring up secondary CPU cores), CPU frequency scaling, CPUidle
Works
UART
Works
Storage
eMMC, SD cards, UFS, ...
Works
USB
Works
Display
Works
GPU
Works
Pinctrl
Works
I²C
Works
Audio
Partial
Video
Hardware-accelerated video de/encoding
Broken
Thermal
Broken
WiFi
Works
Bluetooth
Partial
Modem
Calls, SMS, Internet
Works
Camera
Partial
Qualcomm Snapdragon 685
Manufacturer Qualcomm
Name Snapdragon 685
Model SM6225-AD
Codenames khaje
Architecture aarch64
CPU 4x Kryo 265 Gold (2.8 GHz)
4x Kryo 265 Silver (1.9 GHz)
GPU Adreno 610
Year 2023
Process 6nm
Mainline yes
Kernel package linux-postmarketos-qcom-sm6225
Community Page
A link to a git{hub,lab} organisation/repo where development happens.
https://gitlab.postmarketos.org/sm6225-mainline
Components
CPU
SMP (bring up secondary CPU cores), CPU frequency scaling, CPUidle
Works
UART
Works
Storage
eMMC, SD cards, UFS, ...
Works
USB
Works
Display
Works
GPU
Works
Pinctrl
Works
I²C
Works
Audio
Partial
Video
Hardware-accelerated video de/encoding
Broken
Thermal
Broken
WiFi
Works
Bluetooth
Partial
Modem
Calls, SMS, Internet
Works
Camera
Partial
Qualcomm Snapdragon 6s 4G Gen 2
Manufacturer Qualcomm
Name Snapdragon 6s 4G Gen 2
Model SM6225-AF
Codenames khaje
Architecture aarch64
CPU 4x Kryo 265 Gold (2.9 GHz)
4x Kryo 265 Silver (1.9 GHz)
GPU Adreno 610
Year 2025
Process 6nm
Mainline yes
Kernel package linux-postmarketos-qcom-sm6225
Community Page
A link to a git{hub,lab} organisation/repo where development happens.
https://gitlab.postmarketos.org/sm6225-mainline
Components
CPU
SMP (bring up secondary CPU cores), CPU frequency scaling, CPUidle
Works
UART
Works
Storage
eMMC, SD cards, UFS, ...
Works
USB
Works
Display
Works
GPU
Works
Pinctrl
Works
I²C
Works
Audio
Partial
Video
Hardware-accelerated video de/encoding
Broken
Thermal
Broken
WiFi
Works
Bluetooth
Partial
Modem
Calls, SMS, Internet
Works
Camera
Partial

SM6225 (Snapdragon 680) is a mid-range Qualcomm SoC released in 2019. Internal codename for this platform is khaje.

Devices

Snapdragon 680 (SM6225)

Device Codename Category
Lenovo Xiaoxin Pad 2022 lenovo-tb128fu archived
Motorola Moto G32 motorola-devon
Motorola Moto G52 motorola-rhode
Samsung Galaxy A05s samsung-a05s
Xiaomi Redmi 10C xiaomi-fog archived
Xiaomi Redmi Note 11 xiaomi-spes testing

Snapdragon 685 (SM6225-AD)

No results

Snapdragon 6s 4G Gen 2 (SM6225-AF)

No results

Notes

  • Sound: SoundWire works, so does I2S, but there's seems to be some issues with the WCD9370 and audio routing.
  • Video: Venus loads only the vendor Firmware and shows the video devices, but it doesn't actually do anything, newer kernel versions eventually allow for Iris instead, which should work better.
  • Thermal: I'm not sure how to implement it.
  • Bluetooth: Bluetooth works but it requests a firmware file (qca/crbtfw13.tlv) which apparently doesn't exist anywhere, and it limits the actual version and capabilities.
  • Modem: Everything works, but 2 devices (/dev/wwan0at1, /dev/wwan0at2) that show up are apparently dummies and cause issues when ModemManager probes them, causing it to softlock in a state where the process cannot be killed. There is, however, a fix for this in udev:
    SUBSYSTEM=="wwan", KERNEL=="wwan0at[0-1]", ENV{ID_MM_PORT_IGNORE}="1"
    
    And for the Mobile data with oFono (ModemManager does not need this), another IPA fix is also needed:
    ACTION=="add", SUBSYSTEM=="net", KERNEL=="rmnet_ipa0", \
    RUN+="/usr/sbin/ip link set dev rmnet_ipa0 up", \
    RUN+="/usr/sbin/ip link add link rmnet_ipa0 name rmnet_data0 type rmnet mux_id 1", \
    RUN+="/usr/sbin/ip link add link rmnet_ipa0 name rmnet_data1 type rmnet mux_id 2", \
    RUN+="/usr/sbin/ip link add link rmnet_ipa0 name rmnet_data2 type rmnet mux_id 3", \
    RUN+="/usr/sbin/ip link add link rmnet_ipa0 name rmnet_data3 type rmnet mux_id 4", \
    RUN+="/usr/sbin/ip link set dev rmnet_data0 up", \
    RUN+="/usr/sbin/ip link set dev rmnet_data1 up", \
    RUN+="/usr/sbin/ip link set dev rmnet_data2 up", \
    RUN+="/usr/sbin/ip link set dev rmnet_data3 up"
    
  • Camera: CCI and CAMSS works (shows correct /dev devices), but I have not tested if DSI-CSI works because I'm not sure of the camera sensors on my testing device (Xiaomi Redmi Note 11).

The only differences that there are with SM6225 and the SM6225-AD/AF are the clock speeds, and Bluetooth 5.2 (SM6225-AF).

Help with Development!

If you own a Snapdragon 680 based device and want to help with Nura & mainline development, head over to the Nura mainline channel for SM6225.

Feel free to ping members of the mainline channel for help and/or further information.

Links