Skip to content

SDM660 FastRPC enablement #269

@setotau

Description

@setotau

Currently I'm trying to enable FastRPC on the SDM660 (and SDM630/636 as well).
My commits regarding this:
sdm660-mainline/linux@8cdb63a
sdm660-mainline/linux@f22b0ff
sdm660-mainline/linux@0cd1afe (not sure about interconnect, vmids and dma-coherent properties)

When I'm trying to run fastrpc_test with the following command:
fastrpc_test -d 3 -U 1 -t linux -a v68
I'm getting errors like that:
https://paste.sr.ht/~setotau/4f0b3adb314a81254aa6a3aa05fb89d2cdeed40e
This also occurs when I'm trying to run hexagonrpcd with the following command:
sudo -u fastrpc hexagonrpcd -f /dev/fastrpc-cdsp -R /usr/share/qcom/sdm660/Xiaomi/clover/ -d cdsp -c /usr/share/qcom/sdm660/Xiaomi/clover/dsp/cdsp/fastrpc_shell_3
(with needed libs copied from the dspso partition on eMMC)
Also I've found out that it seems that both aDSP and cDSP use one memory region simultaneously (as defined in the downstream):
https://github.com/xiaomi-sdm660/android_kernel_xiaomi_sdm660/blob/11-EAS/arch/arm/boot/dts/qcom/sdm660.dtsi#L1691

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions